PrintOut Runtime Error 2585

C

cronse

Hello,

I am a newbie to access vb so bear with me. I am trying go the last
record and then print it out when the form loads in Access. I have
tried to
change it to acSelection and acPages and I keep getting error runtime
2585. Here is my code. Please Help!!


Thanks in advance,


Chris


Private Sub Form_Load()


'Finds the last record enteres
DoCmd.GoToRecord acDataForm, "SignatureForm", acLast


'Prints to printer
DoCmd.PrintOut acPrintAll


End Sub
 

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