Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

access vba

ResolvedVersion 2002/XP

Dafydd has attended:
Access Advanced course

Access VBA

I have a report where I select a staff member from a list / table, and it runs a make-table query then opens opens a report showing me their performance.

Is there a way of iterating through these and printing each one off automaticall? - that is WITHOUT having to select each one in turn.

RE: Access VBA

Hi Dafydd

Thank you for your question

It is certainly possible to automate the above process by writing a couple of procedures in a module. The first procedure would cycle through each employee in the relevant recordset, and then pass that name to a procedure which would run a query with that employee as the parameter. It would then build a report based on that query.
This would require a good knowledge of Access VBA as covered on our access vba course

Regards

Stephen

Wed 18 Feb 2009: Automatically marked as resolved.

Access tip:

Create own ribbon tab - Access 2010

a. In Access click on the File tab
b. Select Options from left hand side
c. Choose the Customize Ribbon section
d. Click the New Tab button (below the list of tabs on the right hand side of the dialog box)
e. Select the New Tab (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
f. Select the New Group (Custom) and enter a name, by clicking the Rename button (below the list of tabs on the right hand side of the dialog box)
g. Add commands to your tab and group by locating them on the list on the right hand side (remembering that you can change the list using the drop down box at the top of the list of commands) and clicking the Add button between the two panes to add them to your tab and group
h. You can rearrange the commands in your group, the groups on any tab or the tabs, using the up and down arrow buttons beside the list of tabs.
i. Click OK to apply your changes

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.11 secs.