Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Syntax for finding a particular record
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01175528
Message ID:
01175561
Views:
7
>
>If you're in the command window you can enter a valid date like:
>
>ldTestDate = CTOD("01/04/1995")
>
>then retrieve the date as:
>
>Select * from UserName where DOB = ldTestDate
>
>or
>
>Select * from UserName where DOB = CTOD("01/04/1995")
>
>This is using SQL select. It takes more commands, and a pprogram loop, to retrive via native VFP xBase code. Your query is too brief to determine what you want.
ldTestDate = {01/04/1995}
* Even better
ldTestDate = {^1995/04/01}
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform