Hi,
I have a form which has a tab control on it. The form itself is just based on 1 table (tblCustomers). The tab control has 2 pages. Page 1 shows some fields from tblCustomers.
Page 2 of the tab control shows 2 embdedded forms. Those forms are based on queries created from tblCustomers.
What i want to be able to do is when i see a company name in one of the ebedded forms, i want to be able to double click that record and it switches me back to page 1 and shows the the details of whichever company I double clicked.
I have changed the double click event in the emdedded form and using the builder to create something. i also added a setfocus command as i read about that somewhere (but i have no idea what it does). through this i managed to get it to switch pages when i double click but it only ever takes me to record 1.
any ideas?
thanks in advance
I have a form which has a tab control on it. The form itself is just based on 1 table (tblCustomers). The tab control has 2 pages. Page 1 shows some fields from tblCustomers.
Page 2 of the tab control shows 2 embdedded forms. Those forms are based on queries created from tblCustomers.
What i want to be able to do is when i see a company name in one of the ebedded forms, i want to be able to double click that record and it switches me back to page 1 and shows the the details of whichever company I double clicked.
I have changed the double click event in the emdedded form and using the builder to create something. i also added a setfocus command as i read about that somewhere (but i have no idea what it does). through this i managed to get it to switch pages when i double click but it only ever takes me to record 1.
any ideas?
thanks in advance
