Date problem with Delphi 7

5 pts.
Tags:
Access 2000
Access Database
Delphi 7
Microsoft Access
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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following