View Full Version : Printing form problem


klee
11-26-2001, 07:09 AM
I have a problem printing my form, assume I am on the 4 form right now and I want to print this form, the database does not allow me to do that,it just print out all the forms that i have in my database.

I have try to put a page break after the form, it still have the same problem

Is there any recommended solution?

Thank you

Rich
11-26-2001, 08:04 AM
Use a report which contains the data you require. Forms aren't meant for printing.

klee
11-26-2001, 08:09 AM
i have a report already, but user say that they need to print a copy of the form that they fill in, so I thought that they can print it directly from the form after filling all those particulars

jwindon
11-26-2001, 08:20 AM
If your user requires use to print the individual form you are on and in form view......


Use the command button wizard to add a command button. The wizard offers you actions for you command button. One offered is to Print current Record.


HTH

ianacole
11-26-2001, 08:21 AM
If they need it for training purposes, just run a screen shot.

klee
11-26-2001, 11:12 AM
Thanks jwindon

Actually I am running the printing through the Print Current Form command that I have created through the wizard

so do you think the best way for me to solve this problem is to choose the needed form and then design a report that looks exactly the same like the form?

Rich
11-26-2001, 12:14 PM
You can Save as Report for your form.

jwindon
11-26-2001, 01:18 PM
There should be an option under RECORD OPERATIONS that offers PRINT CURRENT RECORD.....not the form.

Try a new command button.

Pat Hartman
11-26-2001, 07:14 PM
Don't forget to save the current record in the click event of the PrintForm button before the PrintOut Method -

DoCmd.RunCommand acCmdSaveRecord

PS, I don't think the wizard generates the correct code for this. Look up the parameters for the PrintOut Method. I think you need to specify the first parameter - acSelection