F foxtet Registered User. Local time Tomorrow, 00:57 Joined May 21, 2011 Messages 129 Apr 21, 2014 #1 I have issue opening different forms from the contents of list box. is it possible to open different forms by double clicking list box entry.. Need your help Foxtet
I have issue opening different forms from the contents of list box. is it possible to open different forms by double clicking list box entry.. Need your help Foxtet
jdraw Super Moderator Staff member Local time Today, 15:57 Joined Jan 23, 2006 Messages 15,498 Apr 21, 2014 #2 What exactly is in the list box? What is the end result of this? There may be other options.
B brharrii Registered User. Local time Today, 12:57 Joined May 15, 2012 Messages 272 Apr 21, 2014 #3 I do something similar with my listboxes. This is the code I use on the "on dbl click" event: Code: DoCmd.OpenForm "[Form Name]", acNormal, , "[PrimaryKey Field]=" & Me.[Listbox Name].Column(4) make sure the column number refers to the column in the listbox that will identify the record you wish to edit in the new form. Last edited: Apr 21, 2014
I do something similar with my listboxes. This is the code I use on the "on dbl click" event: Code: DoCmd.OpenForm "[Form Name]", acNormal, , "[PrimaryKey Field]=" & Me.[Listbox Name].Column(4) make sure the column number refers to the column in the listbox that will identify the record you wish to edit in the new form.