Hey,
I have a button on my form which gives me the report preview based on a criteria where the PONr of my form is the same as the one on the report.
In this case, when asking to print the report, it will give me only the report for the current PO on my screen.
I wanted to go a step further, and have a button to email the report to the supplier's emailaddress on the form.
Everything works, except for my criteria.
When using the docmd.sendobject ... there is no way I can enter criteria to compose the report for only the PO-order I'm in on the screen.
Does anyone know how I can do this ??
Regards,
PdtIt
I have a button on my form which gives me the report preview based on a criteria where the PONr of my form is the same as the one on the report.
In this case, when asking to print the report, it will give me only the report for the current PO on my screen.
I wanted to go a step further, and have a button to email the report to the supplier's emailaddress on the form.
Everything works, except for my criteria.
When using the docmd.sendobject ... there is no way I can enter criteria to compose the report for only the PO-order I'm in on the screen.
Does anyone know how I can do this ??
Regards,
PdtIt