I have a MS ACCESS Form that was designed for printing a Departmental Store’s bills. In this form I have a 6 column list box and some labels. The user adds items to this list box as per customer’s purchasing and then prints out this bill in 6x6 size paper. Command I use for printing is:-
Its working fine but my problem starts when the user adds more then 20 items in list box and print out the bill. Suppose the user adds 30 items in listbox and prints it out, on paper it prints only the first 20 items. Now I want that if items are more then 20 then ACCESS continues printing to the next page. I mean print a long bill in two or three pages as per items. Thanks in advance.
Code:
stDocName = "Print_Bill" Set MyForm = Screen.ActiveForm DoCmd.SelectObject acForm, stDocName, True DoCmd.PrintOut DoCmd.SelectObject acForm, MyForm.Name, False
Comment