Selecting multiple records from list box for a report

G

Guest

I need to be able to select several records to be written to a report. I
tried adapting Allen Brown's coding (http://allenbrowne.com/ser-50.html) to
my unbound list box but am getting an "Invalid Outside Procedure" error
message. Where should I be looking for the error?
 
A

Allen Browne

The code in the link all goes between the lines:
Private Sub cmdPreview_Click()
End Sub

It would seem that you have some code that is outside the procedure, i.e. it
is not between the Private Sub... and End Sub lines.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top