A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

How to Go About Reports/Queries from MULTIPLE Listboxes



 
 
Thread Tools Display Modes
  #1  
Old January 8th, 2007, 11:54 PM posted to microsoft.public.access.reports
Zachary
external usenet poster
 
Posts: 7
Default How to Go About Reports/Queries from MULTIPLE Listboxes

I am trying to design a database storing records for a mapping company. I
have a form with 3 listboxes: one for company (client), one for project, and
one for site. Each of these listboxes has a separate command button that
runs a query returning results for those individual listboxes. However, I am
trying to set up a separate button that runs a query returning results for
any/all selections from ALL 3 listboxes. I don't know enough VBA code to
figure it out on my own, but I can't find another non-VBA method.
Also, each listbox has a 2nd button for generating a report based on the
selection. Is this possible? And like with the queries, I need a button
capable of generating a report based on any/all selections from all 3
listboxes.
I have been working on this for days and am getting nowhere. Any help would
be appreciated.
  #2  
Old January 9th, 2007, 02:45 AM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default How to Go About Reports/Queries from MULTIPLE Listboxes

I assume each of your list boxes is multi-select. There is a generic function
for this with sample usage at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane.
--
Duane Hookom
Microsoft Access MVP


"Zachary" wrote:

I am trying to design a database storing records for a mapping company. I
have a form with 3 listboxes: one for company (client), one for project, and
one for site. Each of these listboxes has a separate command button that
runs a query returning results for those individual listboxes. However, I am
trying to set up a separate button that runs a query returning results for
any/all selections from ALL 3 listboxes. I don't know enough VBA code to
figure it out on my own, but I can't find another non-VBA method.
Also, each listbox has a 2nd button for generating a report based on the
selection. Is this possible? And like with the queries, I need a button
capable of generating a report based on any/all selections from all 3
listboxes.
I have been working on this for days and am getting nowhere. Any help would
be appreciated.

 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 01:27 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.