Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Server DateTime and Visual FoxPro
Message
From
05/03/2004 10:20:20
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00883463
Message ID:
00883474
Views:
8
Hi,

I usually convert my dates into a character string, SQL handles them nicely.

Something like this:

lcDateStart = "'20040101'" && use yyyymmdd format
lcDateEnd = "'20040515'"

SQLEXEC(tConnection, 'SELECT * FROM LineCall ;
where datecreated >= ?lcDateStart ;
and datecreated <= ?lcDateEnd ', 'cuLineCall' )



HTH
Diane Robitaille eng.
Previous
Reply
Map
View

Click here to load this message in the networking platform