Search record by date

  • Thread starter Thread starter laveshhp via AccessMonster.com
  • Start date Start date
L

laveshhp via AccessMonster.com

somebody help me out for this
i create a form with one date filed and one cmd button now i need a code
for button so find record (open form edit mode)which i put in date field

thanks
 
laveshhp via AccessMonster.com said:
somebody help me out for this
i create a form with one date filed and one cmd button now i need a code
for button so find record (open form edit mode)which i put in date field

Assuming you are storing just a date (time of midnight) then...

DoCmd.OpenForm "FormName",,,"DateField = #" & Me!DateSearchControl & "#"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top