Hi all,
I have a dilemma which I have "rigged" to work but would like to do it the right way. I have search option on my main switchboard allowing to search by last name. When duplicates are found, a small form with a list box contained within that will show any duplicates will pop up. How can I set it so that when I double click an entry on the list box, it will open the main form with that record in focus.
I know it would be an event procedure "on double click" but do not know how to word the procedure to limit it to just one item in the list (i've tried and the main form just opens with the first record when i doubleclick). The items in the list are Last Name, First, DOB, and ID #. It would be easiest to use ID # b/c its the only unique item in the bunch.
I'm using Access 97 and i'm not that good w/ code so be gentle and spell it out as much as possible if you would
Thanks,
Andy
I have a dilemma which I have "rigged" to work but would like to do it the right way. I have search option on my main switchboard allowing to search by last name. When duplicates are found, a small form with a list box contained within that will show any duplicates will pop up. How can I set it so that when I double click an entry on the list box, it will open the main form with that record in focus.
I know it would be an event procedure "on double click" but do not know how to word the procedure to limit it to just one item in the list (i've tried and the main form just opens with the first record when i doubleclick). The items in the list are Last Name, First, DOB, and ID #. It would be easiest to use ID # b/c its the only unique item in the bunch.
I'm using Access 97 and i'm not that good w/ code so be gentle and spell it out as much as possible if you would
Thanks,
Andy