var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
I have a report that has several pages I want to make a button that prints only one page of the report this is the code that I have, but the stupid thing prints that one and then goes and prints the rest, any ideas?
Dim stDocName As String
Dim qry As String
stDocName = "order"
qry = "&[page] = " & [OrderID] & ""
DoCmd.OpenReport stDocName, acNormal, , qry
Log in with your username and password
Forgot your password?
Subscribe to dBforums Brief to receive special offers from dBforums partners and sponsors