In Ms access Query work as filter in Form

Salih

New member
Local time
Today, 22:44
Joined
Jan 14, 2025
Messages
7
Hi,
I hope you are fine. In this database we have in form text12.
how can we add function in query and form to filter date range
example >=1970-1-1 and <=1990-12-30.

when click button in form run that query

thanks
Salih
 

Attachments

Date of Birth is defined as a text type field - If you want this to work DoB needs to be set as a date/time type field in the table.
As it is how will you filter using a text range of >=1970-1-1 and <=1990-12-30
Once you have set up a date/time field for DOB you will need to work with the date portion of the field: review date functions.
 
here is the modification.
 

Attachments

Hi Amelgp.
I real appreciate your help but while running i received windows see plz the attached file

thx
Salih
 

Attachments

  • ff.jpg
    ff.jpg
    12.7 KB · Views: 12
  • fff.jpg
    fff.jpg
    26.3 KB · Views: 14
as shown in post #5, right click the downloaded db and goto its Property, then check unblock.
 

Users who are viewing this thread

Back
Top Bottom