access queries

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access queries

Access queries

resolvedResolved · Low Priority · Version 2007

Craig has attended:
Access Introduction course
Access Intermediate course

Access queries

When entering a criteria in square brackets to prompt the user for the filter, is it possible that all the possible answers appear in a drop-down box rather than you having to remember exact spellings, etc.

RE: Access queries

Hi Craig

Thank you for your question

It is not possible to do this using parameter queries.

This can be accomplished by creating a custom form with a combo box. You would need to write the code to populate the combo box when the form initializes. You would then need to write the code that runs the query with the relevant parameter.

An exercise similar to this is part of our VBA Excel course

Regards

Stephen


 

Access tip:

Creating Parameter wildcard queries

To creat a parameter query that also uses a wildcard, in the query design type in like []+*.

View all Access hints and tips


Server loaded in 0.09 secs.