×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Filters for append query and resultant form

Filters for append query and resultant form

Filters for append query and resultant form

(OP)
I cant seem so find a way to incorporate a single filter for an append query and then open up just the appended records. Each day, we must add the current date to an existing table that list the resources (Products) that we handle. That part is simple. I just added a criteria of Date = [Date ?] to the append query.
However, when I open the form which is based on all records, I have to enter the date in the form filter, also. Otherwise I would be looking at hundreds of lines of data that I don't need. Not a big deal, but it would be nice to have the form open up with just the records we have added that day.
I made an Input box for the date but do not know how to put the input into both the query and form.
Is there a way to pass the date to the append query and then the form automatically? (Hope this makes sense!)
Thanks, Bill

RE: Filters for append query and resultant form

Hi Bill,

I don't think there is any justification for using parameter prompts in queries. Consider FAQ701-6763: Why not use Parameter Prompts.

If you use a text box on a form, you can set its default to =Date() and use a calendar date picker to choose another date. Plus the same form/text box can be used for more than one task.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

RE: Filters for append query and resultant form

(OP)
Duane, I agree with everything you said. However, we have a receptionist fill these out everyday and she knows nothing about Access. Just trying to make it a little simpler for her.

RE: Filters for append query and resultant form

(OP)
Problem solved. You got me to thinking. Since the date she will be adding is the latest date, I just used the DMAX() function and it works perfectly.

Thank you

RE: Filters for append query and resultant form

Apparently "simpler for her" is responding to a parameter prompt [Date ?]? I would expect it could be made simpler but that's just my opinion.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close