A
Amour
Hi I am new to Access/VBA. Anyway this is the problem I am having:
When I first type the information on a form (frmTravel) (without closing and
reopening). And I click on a print button (that is on the frmTravel) I get
(on ther report) no or some missing fields that are on the form. But when I
close that form and reopen it will display, if I go back to the form and
change anything it works fine and the changes show up on the report. Here is
the code behind the print button:
Me.Dirty = False
DoCmd.OpenReport "rptTravel", acViewPreview, , "[SSN] = '" & [SSN] & "'"
Thank You for any help..
When I first type the information on a form (frmTravel) (without closing and
reopening). And I click on a print button (that is on the frmTravel) I get
(on ther report) no or some missing fields that are on the form. But when I
close that form and reopen it will display, if I go back to the form and
change anything it works fine and the changes show up on the report. Here is
the code behind the print button:
Me.Dirty = False
DoCmd.OpenReport "rptTravel", acViewPreview, , "[SSN] = '" & [SSN] & "'"
Thank You for any help..