querying using listbox form
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 » Querying using a ListBox in a form

Querying using a ListBox in a form

resolvedResolved · Medium Priority · Version 2010

replyReply Fri 1 Apr 2011, 15:08Delegate Matthew said...

Matthew has attended:
Access Introduction course
Access Intermediate course

Querying using a ListBox in a form

I am trying to use a ListBox in a Form in order to filter the records shown in a report via a query but I can't find out how to use the selected items in the ListBox in the Criteria builder in the Query.

Matthew

For upcoming training course dates see: Pricing & availability

replyReply Mon 4 Apr 2011, 12:39Trainer Simon said...

RE: Querying using a ListBox in a form

Hi Matthew,

Thank you for your question.

As far as I am aware, you cannot do this through the Query Builder in Access. You need to write VBA code which is beyond the scope of the forum in this case.

At lunchtime I will check with another colleague and if he has any alternatives I will email you again.

I have however included a link with some sample code.

http://www.fontstuff.com/access/acctut11.htm

I hope this helps.

Regards

Simon

Mon 11 Apr 2011: Automatically marked as resolved.

 

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

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


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