you are struck in which part ?
debasisdas
Posting Genius
6,872 posts since Feb 2007
Reputation Points: 666
Solved Threads: 434
It seems you have a problem in solving date/Times solutions.
What exactly do you want to achieve with your code? I presume that the result should show up in your datagrid?
Do you want to run reports from certain dates etc? or wouyld you like vb6 app to calculate the next dekivery date?
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350
Where is your grid getting its data from? You will probably have to play around with vbdate functions.
If Form3.MSFWindows.TextMatrix(i, 20) = "Sun" 'vbSunday Then
Form3.MSFWindows.TextMatrix(i, 20) = "1"
'Try functions like vbSunday, vbDate etc.
End If
AndreRet
Senior Poster
3,922 posts since Jan 2008
Reputation Points: 334
Solved Threads: 350