Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Equivalent of DateAdd()
Message
 
 
To
10/06/2011 11:11:51
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01514040
Message ID:
01514043
Views:
40
>I need the equivalent of a DateAdd() syntax in VFP. This comes from SQL Server:
>
>
>... WHERE Table.Field>=DATEADD(Second,-5,Table2.ModDate)
>
If Table.Field is datetime,
... WHERE Table.Field >= Table2.ModDate - 5
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform