Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Datetime and Views
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00653039
Message ID:
00653108
Views:
16
>Hello,
>
>I have a view pulling data from MSSQL 2000 table. I'm using the filter statement to limit my data. I filter is on a Datetime field with the field property set to date. The filter statement is:
>
>err_datetime = ?lddate
>
>lddate = date()
>requery('viewe')
>
>This returns all records. Any suggestions?
>
>
>Regards,
>
>Steve

In addition to Hilmars advise you can use datepart functionm to compare year, month and day of your datetime field
Venelina Jordanova

Outsourcing IT Services Ltd.
Previous
Reply
Map
View

Click here to load this message in the networking platform