Auto save and print

J

James New

I am entering data into a form, via a wedge scanner. I have the properties
set so that when the data is entered, the auto tab function moves the curser
off of the field and prints a report. The problem is I can not get access to
save the current information in the field. I have tried various save
functions, but none seem to work. How can I automatically save the current
data in the form before the report is generated?
 
O

Ofer

Have you tried

DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70

before printing
 
J

James New

Itried that and it still does not save the record, the only way I can get the
record saved is to activate the button that drives that code.
Thank you very much for your help.
 
R

Rick Brandt

James said:
I am entering data into a form, via a wedge scanner. I have the
properties set so that when the data is entered, the auto tab
function moves the curser off of the field and prints a report. The
problem is I can not get access to save the current information in
the field. I have tried various save functions, but none seem to
work. How can I automatically save the current data in the form
before the report is generated?

Try...

Me.Dirty = False
 

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

Top