SteveL13
asked on
Print current record displayed in the form
I have a command button in the footer of a form. The form is Display View = Single Page.
Even though the form has several records that can be navigated to, I want to print JUST the record being displayed.
What would the onclick code of the command button be to accomplish this?
Even though the form has several records that can be navigated to, I want to print JUST the record being displayed.
What would the onclick code of the command button be to accomplish this?
ASKER
I actually just want to print the form with the current record data included. I realize that a report would be better looking.
access report is not really for printing, you may not like the result.
oops, that should be
access FORM is not really for printing, you may not like the result.
access FORM is not really for printing, you may not like the result.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
docmd.openreport "NameOfReport", acviewNormal,, "[IdfieldName]=" & me.txtIdfield
change [IdfieldName] with actula name of the field
change txtIdfield with actual name of the control