Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / December 2007

Tip: Looking for answers? Try searching our database.

Print values of a listbox

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Mercadogs - 31 Dec 2007 19:47 GMT
Is there a way to make a report that prints the values of a form's listbox.

I tried making a report in design view to accomplish this. I inserted a
listbox in the report and made it bound to the form's listbox, but the report
only prints a limited amount of items on the list (those which are visible in
the listbox).

Is there a way to have the report print all the values of the form's listbox?
Jerry Whittle - 31 Dec 2007 19:56 GMT
How is the list box populated? If it's based on a table or query, make a
report based on that table or query.

If the Row Source Type is a Value List, I don't know....
Signature

Jerry Whittle, Microsoft Access MVP
Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.

> Is there a way to make a report that prints the values of a form's listbox.
>
[quoted text clipped - 4 lines]
>
> Is there a way to have the report print all the values of the form's listbox?
Mercadogs - 31 Dec 2007 20:12 GMT
Hi Jerry:

Thanks for your response.

The list is populated from a query called "Sp" that is filtered by entering...

SELECT DISTINCT Sp.PartNum, Sp.Loc FROM Sp ORDER BY [PartNum];

.... in the rowsource property of the listbox.

I had to manipulate this property because otherwise I could not make a new
query that would allow me to set property of the new query to 'unique values'
in order to get distinct combinations of 'PartNum' and 'Loc' fields of the
query 'Sp'. For some reason queries that have the "Group By" commands give
this problem.

> How is the list box populated? If it's based on a table or query, make a
> report based on that table or query.
[quoted text clipped - 9 lines]
> >
> > Is there a way to have the report print all the values of the form's listbox?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.