Hi,
OK - the problem is this:
Have a main form displaying record details (Company, name, address, etc). Upon clicking a command button, a popup form appears containing filtered records from the main form (just the company name is displayed though). Next to each company name on the popup is a command button. When this button is pressed, I want the main form to display the details of the corresponding company from the popup.
Been trying to do this using a macro (my VB is not too hot) with the gotorecord command. Unfortunately, the offset value only allows you to go to the numeric record number in the recordset.
Is there an expression I can use in the Offset line that will jump to a corresponding record on the main form from my popup?
cheers,
Alex
OK - the problem is this:
Have a main form displaying record details (Company, name, address, etc). Upon clicking a command button, a popup form appears containing filtered records from the main form (just the company name is displayed though). Next to each company name on the popup is a command button. When this button is pressed, I want the main form to display the details of the corresponding company from the popup.
Been trying to do this using a macro (my VB is not too hot) with the gotorecord command. Unfortunately, the offset value only allows you to go to the numeric record number in the recordset.
Is there an expression I can use in the Offset line that will jump to a corresponding record on the main form from my popup?
cheers,
Alex