Help | Site Map
Connecting Tech Pros Worldwide
 
 
LinkBack Thread Tools
  #1  
Old January 20th, 2006, 06:15 PM
Ryker
Guest
 
Posts: n/a
Default Printing a record from a current form

I have a form that is an application. I am able to pull an employee up
and then print the application using the following code that is
connected to my Print Application button on the form.

DoCmd.OpenReport"EA Completed
Application",acViewNormal,,"[SocialSecurityNO]=
"""&Me![SocialSecurityNo]&""""

This works great when I have pulled a completed record up. What I need
is for the data entry person to be able to print this application out
before hitting the "Enter" button which writes the record to the table
and advances to a new record. Is there any way to print the
application data out before finalizing the writing to the table?

  #2  
Old January 20th, 2006, 06:25 PM
Allen Browne
Guest
 
Posts: n/a
Default Re: Printing a record from a current form

The data must be in the table before the report can read it, but you can do
that while it is still visible in your form.

Here's how to save and print the entry:
Print the record in the form
at:
http://allenbrowne.com/casu-15.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Ryker" <rasmith@choctaw.org> wrote in message
news:1137780025.400728.164920@g44g2000cwa.googlegr oups.com...[color=blue]
>I have a form that is an application. I am able to pull an employee up
> and then print the application using the following code that is
> connected to my Print Application button on the form.
>
> DoCmd.OpenReport"EA Completed
> Application",acViewNormal,,"[SocialSecurityNO]=
> """&Me![SocialSecurityNo]&""""
>
> This works great when I have pulled a completed record up. What I need
> is for the data entry person to be able to print this application out
> before hitting the "Enter" button which writes the record to the table
> and advances to a new record. Is there any way to print the
> application data out before finalizing the writing to the table?
>[/color]


  #3  
Old January 20th, 2006, 07:57 PM
Ryker
Guest
 
Posts: n/a
Default Re: Printing a record from a current form

That worked...it exactly what I was needing. Thanks!

 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over network members.
Post your question now . . .
It's fast and it's free

Popular Articles