Opening a specific instance of a report from a form

K

kejo41

I have made a report that will print out information on over 5000 clients. I
also have a form where I can edit data on each client. I want to be able to
open only the report corresponding to the client that is currerntly being
edited in the form without having to type in the clients ID each time. I
tried using OpenArgs but it doesn't seem to work in a report like it does in
a form, Filtering has not worked for me either. I would sure appreciate some
help.
 
M

Marshall Barton

kejo41 said:
I have made a report that will print out information on over 5000 clients. I
also have a form where I can edit data on each client. I want to be able to
open only the report corresponding to the client that is currerntly being
edited in the form without having to type in the clients ID each time. I
tried using OpenArgs but it doesn't seem to work in a report like it does in
a form, Filtering has not worked for me either. I would sure appreciate some
help.

Use the OpenReport method's WhereCondition argument in a
command button's event procedure. I think there's a button
wizard that will generate most if not all of the needed
code.
 

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