Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Loading a list box with all reports

Status
Not open for further replies.

skeelo

Programmer
Aug 14, 2002
12
0
0
CA
I realize this is an easy question but could someone show me what the proper code is to load a list box on a form with all of the reports in that project? This is what I have and I keep getting errors.

For Each accObj In Application.Reports
Me!lbxSelectReport.AddItem accObj.Name
Next
 
Hi!

Set the Row Source Type to Table/Query and the Row Source to Select Name From MySysObjects Where Type = -32764

hth
Jeff Bridgham
bridgham@purdue.edu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top