A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Printing from a form



 
 
Thread Tools Display Modes
  #1  
Old December 29th, 2006, 03:45 AM posted to microsoft.public.access.forms
Kevin
external usenet poster
 
Posts: 910
Default Printing from a form

I have created a job numbering system, i need to be able to print the job
once i have entered the data into the form, but i don't want all the data
printed, such as subform. What is the best way to print a document that i can
issue to the workshop and create a semi proffesional looking form
--
Many Thanks
Kevin
  #2  
Old December 29th, 2006, 04:19 AM posted to microsoft.public.access.forms
strive4peace
external usenet poster
 
Posts: 1,670
Default Printing from a form

Hi Kevin,

make a report whose recordsource is all your jobs -- then, put a button
on the form to print a report for the current record

DoCmd.OpenReport(ReportName, View, FilterName, WhereCondition,
WindowMode, OpenArgs)

for example:

DoCmd.OpenReport "MyReport", acViewPreview,,"RecordID=" & me.RecordID

where RecordID is the name of your primary key field

Warm Regards,
Crystal
*
(: have an awesome day
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*



Kevin wrote:
I have created a job numbering system, i need to be able to print the job
once i have entered the data into the form, but i don't want all the data
printed, such as subform. What is the best way to print a document that i can
issue to the workshop and create a semi proffesional looking form

  #3  
Old December 29th, 2006, 04:32 AM posted to microsoft.public.access.forms
Kevin
external usenet poster
 
Posts: 910
Default Printing from a form

Thanks Cystal, that sent meon the right path, have a great new years
--
Many Thanks
Kevin


"strive4peace" wrote:

Hi Kevin,

make a report whose recordsource is all your jobs -- then, put a button
on the form to print a report for the current record

DoCmd.OpenReport(ReportName, View, FilterName, WhereCondition,
WindowMode, OpenArgs)

for example:

DoCmd.OpenReport "MyReport", acViewPreview,,"RecordID=" & me.RecordID

where RecordID is the name of your primary key field

Warm Regards,
Crystal
*
(: have an awesome day
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*



Kevin wrote:
I have created a job numbering system, i need to be able to print the job
once i have entered the data into the form, but i don't want all the data
printed, such as subform. What is the best way to print a document that i can
issue to the workshop and create a semi proffesional looking form


  #4  
Old December 29th, 2006, 06:51 PM posted to microsoft.public.access.forms
strive4peace
external usenet poster
 
Posts: 1,670
Default Printing from a form

you're welcome, Kevin happy to help

Happy New Year to you too!

Warm Regards,
Crystal
*
(: have an awesome day
*
MVP Access
Remote Programming and Training
strive4peace2006 at yahoo.com
*



Kevin wrote:
Thanks Cystal, that sent meon the right path, have a great new years

 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 12:11 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.