When do you write a record

N

NNlogistics

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.
 
T

tina

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

DoCmd.RunCommand accmdSaveRecord

or

Me.Dirty = False

hth
 
N

NNlogistics

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
 
Top