D darcy darcy Local time Today, 23:56 Joined Aug 9, 2004 Messages 9 Oct 20, 2004 #1 F_addrecord has a certian item_code which i want to pass to F_colours , to assign colours and sizes to it. Can anyone help me figure out how to just click on the link to F_Colours and have the item_code that it passes to. thanks
F_addrecord has a certian item_code which i want to pass to F_colours , to assign colours and sizes to it. Can anyone help me figure out how to just click on the link to F_Colours and have the item_code that it passes to. thanks
N namliam The Mailman - AWF VIP Local time Today, 11:56 Joined Aug 11, 2003 Messages 11,685 Oct 21, 2004 #2 have a search on OpenArgs either on the forum or in the access help.... This is the way to pass stuff from one form to another. Regards & GL
have a search on OpenArgs either on the forum or in the access help.... This is the way to pass stuff from one form to another. Regards & GL
maxmangion AWF VIP Local time Today, 10:56 Joined Feb 26, 2003 Messages 2,805 Oct 21, 2004 #3 to use openargs on form1 you should put: Code: DoCmd.OpenForm "formname" , , , , acFormAdd , acDialog , textboxname then on the onOpen event of Form2 put the following: Code: if me.openargs <> "" then me.textboxname = me.openargs end if Last edited: Oct 21, 2004
to use openargs on form1 you should put: Code: DoCmd.OpenForm "formname" , , , , acFormAdd , acDialog , textboxname then on the onOpen event of Form2 put the following: Code: if me.openargs <> "" then me.textboxname = me.openargs end if