access queries
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

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

Access queries

resolvedResolved · Low Priority · Version 2007

replyReply Tue 24 Jun 2008, 16:14Delegate Craig said...

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.

For upcoming training course dates see: Pricing & availability

replyReply Wed 25 Jun 2008, 11:04Trainer Stephen said...

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

 

Please browse our web site to find out more about
microsoft access training courses and other Microsoft training courses.

Access tip:

Prefixed Autonumbering

When using Date Type = Autonumber as a primary key, clients may require autonumbering to be prefixed with a letter.

For example, P001, where P is the prefixed letter

Instructions
Step 1. Create Field Name
Step 2. Set Data Type to Autonumber
Step 3. Within Field Property General tabsheet,
enter Format property as [backslash]P000



View all Access hints and tips


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard