Date problem with Delphi 7

5 pts.
Tags:
Access Database
Delphi 7.0
Microsoft Access
Microsoft Access 2000
SQL
I am trying to select records where the date is smaller that a specific date by using Delphi 7. The data is stored in a MS access 2000 database.

dtsdate.DataSet := qrydate ;

 qrydate.Active := false ;

 qrydate.SQL.Text := ' select * from datum where datum < 1994/02/05' ;

qrydate.Active := true;

 in she shown exaple where the date of 1994/02/05 is the center of the avaiable dates I get no records but if i change the smaller than sign to a bigger than sign, all records are selected Can anyone please help me. Thank you.

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: