Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations MikeeOK on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

output form as snapshot

Status
Not open for further replies.

pbrown77

Technical User
Feb 21, 2005
55
US
I am tring to make a code that when the user clicks the button the current record, via report or just a snapshot of the record will be e-mailed.

The below code is currently being used but it says the format is not currently available.


docmd.sendobject acsendform, "frmexp","snapshotformat (*.snp)","brownp",,"TEST","TEST MSG"



Any ideas?

If it must first open a report to export, is there a way to code it that the report will open using the current record only and automatically e-mail. Thereby reducing the need for the user to remember any record id, etc to use as criteria.

Thanks!
 
Hi
I think it should be:
"Snapshot Format"
Not "snapshotformat (*.snp)", as above. :)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top