Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error generated
Message
From
11/12/2000 18:57:34
 
 
To
11/12/2000 18:50:24
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Miscellaneous
Thread ID:
00451961
Message ID:
00451963
Views:
23
>I am getting these errors when I build my project. cAn anyoen tell me how to go around this?
>
>REPLACE IN_LIST WITH .T. FOR HTC_ID = M.HTCID AND BETWEEN(VISDATE,{01/01/2000},M.DATE2)
>Error in line 203: Ambiguous date/datetime constant. Use the format:
> {^yyyy-mm-dd[,][hh[:mm[:ss]] [a|p]]}

Look at SET STRICTDATE. For date constants you should be using the format suggested in the error message, e.g.
REPLACE IN_LIST WITH .T. FOR HTC_ID = M.HTCID AND BETWEEN(VISDATE,<b>{^2000-01-01}</b>,M.DATE2)
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Previous
Reply
Map
View

Click here to load this message in the networking platform