Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Question on View Designer Filtering.
Message
 
 
À
14/02/2001 09:38:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00475680
Message ID:
00475712
Vues:
38
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform