When do you write a record

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a form that uses a query for the data and an unbound combo box using
"find record" to populate the form. I also have 2 more buttons one to print
and one to e-mail. I want to be able to print or e-mail the current record,
however it doesnt write the record until I go to the next record in the drop
down list(combo box). I also have some other inherited forms that do what I
want, however I cant see the difference in the forms.
 
try preceeding the email or print command with a "save record" command, such
as

DoCmd.RunCommand accmdSaveRecord

or

Me.Dirty = False

hth
 
Thanks, Tina, it worked perfectly (SaveRecord)

tina said:
try preceeding the email or print command with a "save record" command, such
as

DoCmd.RunCommand accmdSaveRecord

or

Me.Dirty = False

hth
 
Back
Top