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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Take current record from one form and Print to another form

Status
Not open for further replies.

mwojo

MIS
Aug 27, 2002
1
US
I would like to create a Command Button to take the current record that I am viewing in one form and print it out using another form.

TIA

Micheal
 
If the field names are the same, you can use code like this.

dim ar(20) as variant

for i = 0 to 19
ar(i) = me.fields(i)
next i

use the docmd.openform ??..' check these out w/ the wizard
docmd.???record acNewRecord

for i = 0 to 19
me.fields(i) = ar(i)
next i

rollie@bwsys.net

then to a
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top