R Round up on .01 Jul 11, 2008 #1 I am running a report and i want it to prompt me and ask how many records i need shown.
D Duane Hookom Jul 11, 2008 #2 One method is to add a column to your query like: NumToPrint: [Enter number of records to print] Add two text boxes in the detail section: Name: NumToPrint Control Source: NumToPrint Name: txtCount Control Source: =1 Running Sum: Over All Then in the On Format event of the detail section, add code like: Cancel = (Me.txtCount > Me.NumToPrint)
One method is to add a column to your query like: NumToPrint: [Enter number of records to print] Add two text boxes in the detail section: Name: NumToPrint Control Source: NumToPrint Name: txtCount Control Source: =1 Running Sum: Over All Then in the On Format event of the detail section, add code like: Cancel = (Me.txtCount > Me.NumToPrint)