L Lois Registered User. Local time Today, 02:50 Joined Jun 14, 2010 Messages 13 Jul 2, 2010 #1 HI is there a macro code i can use to close the 2 reports on the attached doc & return to the 'Home Page' Form? Attachments MTC104A1-T1D use.accdb MTC104A1-T1D use.accdb 1.3 MB · Views: 155
HI is there a macro code i can use to close the 2 reports on the attached doc & return to the 'Home Page' Form?
Trevor G Registered User. Local time Today, 02:50 Joined Oct 1, 2009 Messages 2,368 Jul 2, 2010 #2 Lois said: HI is there a macro code i can use to close the 2 reports on the attached doc & return to the 'Home Page' Form? Click to expand... Ive just had a quick look at your sample, you don't specify in the thread what you really need, but you can use code as follows: docmd.closeObject frmName1 docmd.closeObject frmName2 docmd.openForm "Home Page"
Lois said: HI is there a macro code i can use to close the 2 reports on the attached doc & return to the 'Home Page' Form? Click to expand... Ive just had a quick look at your sample, you don't specify in the thread what you really need, but you can use code as follows: docmd.closeObject frmName1 docmd.closeObject frmName2 docmd.openForm "Home Page"