View Full Version : Report Based On Info On Current Form


osullipa
02-25-2005, 02:43 AM
I have a course booking form comprising of a main form which holds the person details, and a sub form which holds the details
of each course they book. I want to be able to produce a report/ letter from the current form (ie once a person have booked a course)
confirming that the course has been booked and giving the appropriate details. I know how to produce a report, but cannot see how I can produce a report based on just the current course information just entered in the form.

Hope someone can help.

Regards

Peter

KenHigg
02-25-2005, 03:24 AM
You could put a 'Print' button on the sub form which uses the pk of that record to collect the report's data.

Ken

osullipa
02-26-2005, 03:15 AM
You could put a 'Print' button on the sub form which uses the pk of that record to collect the report's data.

Ken

Hi Ken

thanks for this, it sounds like what I want. I'm fairly new to access, can you explain this further. What is the pk of a record and how could I use it to collect the data?


Peter