I am working a simple address project which generates a report of addresses and the address information. The report looks great on the screen in Report mode. I have a button on the report called "Print". When executed "on_Click", the following code executes:
Private Sub Command32_Click()
Docmd.SetWarnings False
'Docmd.OpenReport "rptAddresses", acViewNormal
Docmd.RunCommand acCmdPrint
Docmd.SetWarnings True
End Sub
Either alternative I choose to run seems to produce the same results. The select printer dialog box opens allowing me to select the printer I want. But then the report that prints consists of only ten records and only the first two columns. The ten records appear to be the last 10 records on the first page of a 4 page report. Anybody have any helpful suggestions? I suspect the solution is simple, but it eludes me. Langels00
Private Sub Command32_Click()
Docmd.SetWarnings False
'Docmd.OpenReport "rptAddresses", acViewNormal
Docmd.RunCommand acCmdPrint
Docmd.SetWarnings True
End Sub
Either alternative I choose to run seems to produce the same results. The select printer dialog box opens allowing me to select the printer I want. But then the report that prints consists of only ten records and only the first two columns. The ten records appear to be the last 10 records on the first page of a 4 page report. Anybody have any helpful suggestions? I suspect the solution is simple, but it eludes me. Langels00