Lookup Table ignore null

Erica

New member
Local time
Today, 09:58
Joined
Jan 13, 2009
Messages
1
I would like to say hello to all and thanks in advance. I am currently enrolled in Elementary Database and we use Access 2007. We have not gotten into the code, as someone using 2003 suggested to find my solution. I hope this is in the correct place as my issue is on my forms.

Ok so I am working on my final project and I can not figure out how to make my Look up fields from my look up table work properly.

What I have is my LookUp table which has 3 categories:
States (for customer tables and such, has 50 values),
Categories (for payments out, i.e. office supplies, job materials, has 4 values)
and a Yes/No (2 values) so the text is displayed in the drop down.

When you go to enter the info on a form the Categories drop down has all the blank spaces for the remaining States. My issue is I need the blank spaces not to display. Our instructor showed us once how to take care of the problem but it took him like 5 minutes to figure it out himself and I can not remember how to get to the property or setting where ever it is. I know it is right in front of me I just can't find it right now.

frown.gif
Please help
frown.gif
 
Hi,
You need to put the form in to design view and open the properties of the drop-down in question. On the properties panel click on the data tab and select row source - a small box with 3 dots appears at the end - click this to open the query builder. In the criteria for your states field put Not Null.
Regards
 

Users who are viewing this thread

Back
Top Bottom