Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing a Date from VFP to SQL Server
Message
From
22/12/1998 17:00:19
Robert Byrd
National Association of Homebuilders
Washington, District of Columbia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Passing a Date from VFP to SQL Server
Miscellaneous
Thread ID:
00169848
Message ID:
00169848
Views:
57
I need to run a query from VFP that compares a local date to a datetime field in the database. I have tried everything I can think of so I going to my last hope (YOU GUYS).

For example:

foobar = date()
SQLPREPARE(nConVar,'select * from tblname where tbl_date = ?foobar','_tmp')

H-E-L-P

Bob
Database Development Team
Next
Reply
Map
View

Click here to load this message in the networking platform