Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to filter inView Designer
Message
From
14/02/2001 09:19:11
 
 
To
14/02/2001 00:31:09
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00475565
Message ID:
00475672
Views:
41
Hi John,

Sorry about the caps. Just using a PC.

I can't seem to use any of vfp functions in the example. ie. DATE(),TTOD() etc.

Please explain or tell me what can be used in the example field.

Heres what I would like to use because birthdate is a DATETIME field:

TTOD(dbf.birthdate) = DATE(); but that does not seem to work.

Thanks in Advance!
Roland
=================================================================
>First off, Roland, kill the Caps....you're not using an Apple ][+ I suspect. :-)
>
>The way to pass dates to SQL Server is as a string delimited by quotes. For example:
>
>birthdate = '01/01/2001'
>
>Try setting a property or var to the strong date and making the view birthdate = ?myobject.myproperty
>
>
>
>>I AM TRYING TO CREATE A REMOTE VIEW USING VIEW DESIGNER. FILTER BY BIRTHDATE = EXAMPLE. I DON'T KNOW HOW TO EXPRESS THE EXAMPLE AS TODAY'S DATE. I HAVE TRIED BIRTHDATE = CURDATE(); BIRTHDATE = DATE(); DOES NOT WORK. THE BIRTHDATE IS AN SQL DATETIME FIELD.
>>
>>THANKS IN ADVANCE!
>>ROLAND
Previous
Reply
Map
View

Click here to load this message in the networking platform