Ok the format of the date field in oracle is DD-MMM-YY i think, now i tried using a masked edit box and set the Mask to ##/##/#### and format to DD-MMM-YY
all i want to do is select fields from table where date > masked box date
now its not working and i have no clue why.
Dim searchDate as string
SearchDate = Format(txtDate.Text, "dd-mmm-yy"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
this gives me SearchDate in the right format but as a string
and when i Select Fields from Table where date > Searchdate it gives an error
if I dim SearchDate as Date and then
SearchDate = Format(txtDate.Text, "dd-mmm-yy"![Wink ;) ;)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
it returns it to me in the DD/MM/YY format
I dont know why
I am totally lost already
Any suggestions?
thanks
all i want to do is select fields from table where date > masked box date
now its not working and i have no clue why.
Dim searchDate as string
SearchDate = Format(txtDate.Text, "dd-mmm-yy"
this gives me SearchDate in the right format but as a string
and when i Select Fields from Table where date > Searchdate it gives an error
if I dim SearchDate as Date and then
SearchDate = Format(txtDate.Text, "dd-mmm-yy"
it returns it to me in the DD/MM/YY format
I dont know why
I am totally lost already
thanks