Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax for finding a particular record
Message
From
07/12/2006 09:58:20
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01175528
Message ID:
01175618
Views:
6
>>ldTestDate = {01/04/1995}
>
>Yes, Sergey, you've pointed out this before but whenever I use that construct I get the message:
>
>"Ambiguous date/datetime constant. Use the format {^yyyy-mm-dd ..." (as your 2nd ex.)
>
>or for some reason my date doesn't get stored as a date. I've never had any luck with that so I continue to use the old dBASE code that I trust, the way I learnt. I didn't want the same error messages to beset the newbie, Bilal.

SET STRICTDATE TO 0

>>* Even better
>>ldTestDate = {^1995/04/01}
>
>Maybe so but I'm used to dates in British format (as I suspect Bilal is :-)

Very weak excuse for not writing proper code.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform