Forms with tabs

  • Thread starter Thread starter Guest
  • Start date Start date
ccameron said:
How can I print a form with tabs so that all tabs are visible?

Other than by doing a print screen, I don't think this is possible. Why do
you want to print a form?
 
Forms aren't intended for printing: that's what Reports are for.
 
I use this code in a Command button, On Click. Substitute Primary key with
yours.


Dim strWhere As String

If Me.Dirty Then 'Save any edits first
Me.Dirty = False
End If

If Me.NewRecord Then 'Check there is a record to print
MsgBox "Select a record to print"
Else
strWhere = "[PrimaryKey] = " & Me.[PrimaryKey]
DoCmd.OpenReport "AccountForm", acviewPrint, , strWhere
End If
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

MS Access - Print help! 0
The ribbon create tab disappeared 1
can't see tabs 3
Tabs are hidden in subforms 2
Requery on a Tab Control - OnClick 3
Print tabbed form 7
Slow loading sub-forms 2
tab control question 1

Back
Top