Access 2000 VBA question - TechRepublic
General discussion
November 21, 2002 at 12:05 AM
pc_tek

Access 2000 VBA question

by pc_tek . Updated 23 years, 7 months ago

I am creating an Access 2000 form which has a control button on it that when clicked will print a report containing the data from the form. The report is based on a querry. When the querry runs it asks the user to input a specific record # so that it can select only that record and print it in the report. I would like to add some VB code to automate the print button on my form so that when it is clicked it will be able to select the current record # from the form, pass that to the querry, and then print the report using that informaiton and without asking the user which record # to print. Any ideas. Thanks in advance.

This discussion is locked

All Comments