Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


Tip of the Day
Language: Visual FoxPro
Expertise: Beginner
Oct 6, 2000

Comparing Date Fields

Question:
Can I compare the DATE field with Visual FoxPro?

How would I structure a query to select all records in a table that had a date value after 02/08/99?

Answer:
Do this:

SELECT *, ;
   FROM MyTable ;
   WHERE DateOfBirth > {02/08/99} ;
   INTO CURSOR MyCursor
DevX Pro
 
Comment and Contribute

 

 

 

 

 


(Maximum characters: 1200). You have 1200 characters left.

 

 

Sitemap