Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

report to limit to a number of companies

Status
Not open for further replies.

tizwaz

Technical User
Aug 8, 2002
437
GB
I need to do a report which the user can select whether to include all companies, one company or a variable number of companies (anything up to 24)
I can do all or one using a combo box but how would I achieve the option to select several companies without having up to 24 different combo boxes and a complicated If statement?
 
Try using a list box instead of a combo box which will allow you to select more than one option at a time
 
If I used a list box how would I word my query or code so that the report would include all the selected entries in the list box?
 
For lots of help on using list boxes, take a look at the developer solutions database which ships with Microsoft Office. You may have to re-install office and select sample databases to install it
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top