Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ttod on dynamic sql
Message
From
19/06/2009 07:18:37
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01407095
Message ID:
01407108
Views:
23
But then it is wrong for the cases where ttod(mycursor.createtime)=thisform.txtdate() except midnight

Intention was to compare on a daily base (date vs. date) not on time as Time vs. Date. (As suggested by the TTOD)

Agnes
>Hi Agnes,
>
>But Chaim use ">" not "="
>
>MartinaJ
>
>>Hi MArtina,
>>
>>are your sure?
>>
>>if mycursor.createtime is Time (as TTOD suggests) it should return mostly false since the date value will be changed to {^YYYY.MMM.DD 00:00:00}
>>
>>DATE()=DATETIME() is true it at midnight only
>>
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform