Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question on View Designer Filtering.
Message
From
14/02/2001 10:15:50
 
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00475680
Message ID:
00475712
Views:
46
Hi!

You require to use the functions of SQL Server (If your remote view is for SQL Server). There are no such functions as 'ttod' and 'date' at the SQL Server. The query you prepare in the view builder really ran on the SQL Server, where VFP functions are invalid.

>Hi,
>
>I am trying to create a filtered remote view using the view designer.
>
>FILTER by:
>
>dbf.birthdate (This is a SQL DATETIME field) = Today's date
>
>Heres what I would like to use.
>
>TTOD(dbf.birthdate) = DATE(); but that does not seem to work.
>
>I am trying to select records that the birthdate((DATETIME)only the date part) is equal to today's date. I don't know how to express the above to get the view designer to accept the required filter.
>
>Could someone please explain the proper usage to accomplish the above filtering.
>
>Thanks in advance!
>Roland
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform