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!

*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

Help hiding non-selected form data from the report

Help hiding non-selected form data from the report

Help hiding non-selected form data from the report

I have created a form using drop-down menue's for the person to select from several tables & then I created a query to get aditional info on the items on the form and then the macro transfers it to a report but what if the person does'nt select an item and leaves that  drop down box empty. Then I don't want the report to show the item. plus the query dosen't work when one of the fields is empty. Do I use some sort of filter hiding that item when it is empty "null" I have tried the help files for items that are null or not null and that only shows me how to find fields that eather does or does not have anything in them. I want the query, macro & report to ignore that field if it is not filled out. I have recieved help from this forum before & it has helped me greatly. Hopefuly if I get good at this stuff I can return the favor. thanks!!!!!

RE: Help hiding non-selected form data from the report

You might try this in your queries criteria

Like xxxxx & "*"

the xxxxx's are your field on the form or whatever your criteria happens to be.
Now if the item is blank on the form it will still return something.

DougP, MCP
 Ask me how Bar-codes can help you be more productive.

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! Already a Member? Login

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