I made a report that I want to only show data on a particular customer (based on a customer number that a user enters). How do I do that?
Create a macro to open the report in print preview, in the options at the bottom of the macro you can then use the elipse button to build an expression to something around this:
In the Where conditions field is, so keep your form open and then look to create the macro,
Action Select Open Report
Below Select Which Report
Below Change to Print Preview
Below in the Where Conditions use the elipsee button the right and then select Forms from the Expression Builder, select open forms, and then your form, next in middle column select the field (ID) and then add in the = (Sign) then select the tables section at the top, find your table and double click the ID Field, so the criteria will look something like this
Forms![
frmEmployee1]![
id] = [
tblEmployee]![
id]
Save the macro, to add this as a button on your form, select your form and go into design view then press F11 and find the macro you just created and drag into your form, this will create a button, save the form, change the view and select a record and click the button