Hi all
I'm pretty new at Access.
I have a customer search form (CustSearch) which contains a subform (CustSearchSubform) - , when entering different values in the available textboxes in the mainform and pressing the search button, the subform refreshes showing the correct matches to the selection (Standard Query by Form).
the primary key is CUSTID
I would like to be able to double click a record on the subform (from the mainform) and have the form (CustDetails) open at that particular record.
I managed to get the form to open to the CustDetails form but it only shows to the first record, I understand that I need to point the stLinkCriteria to the record that I have selected, but I can't seem to be able to point to it, as it is in the subform.
I have been looking through the different forums around but cannot seem to get it to work, any help would greatly be appreciated.
Thanks
I'm pretty new at Access.
I have a customer search form (CustSearch) which contains a subform (CustSearchSubform) - , when entering different values in the available textboxes in the mainform and pressing the search button, the subform refreshes showing the correct matches to the selection (Standard Query by Form).
the primary key is CUSTID
I would like to be able to double click a record on the subform (from the mainform) and have the form (CustDetails) open at that particular record.
I managed to get the form to open to the CustDetails form but it only shows to the first record, I understand that I need to point the stLinkCriteria to the record that I have selected, but I can't seem to be able to point to it, as it is in the subform.
I have been looking through the different forums around but cannot seem to get it to work, any help would greatly be appreciated.
Thanks