graceusguide
New member
- Local time
- Today, 11:06
- Joined
- Jan 10, 2010
- Messages
- 6
Hi,
I am trying to have 2 lookup fields on a switch. I have 2 combo box's 'cboGrantID' and 'cboGrantName'. I want the user to be able to select from either box and have the other one update automatically. Eg If I select the Grant ID 1234 in cboGrantID then I want the cboGrantName Combo box to autofill with the Grant Name that corresponds to GrantID '1234'. I want the user to be able to also select the name first and have the GrantID autofill in in the cboGrantID Combo box. Both the combo boxs are linked to the same table tblGrant, which holds both GrantID and GrantName.
Also, when you select one of the Grant Combo box's I have it so the user can select from a few command buttons to be taken to various form that corresponds with the selected grant. I want the user to be able to return to the switch and choose another form or clear all previous selections easily. I was thinking a clear button, yet am unsure how to do this.
I am trying to have 2 lookup fields on a switch. I have 2 combo box's 'cboGrantID' and 'cboGrantName'. I want the user to be able to select from either box and have the other one update automatically. Eg If I select the Grant ID 1234 in cboGrantID then I want the cboGrantName Combo box to autofill with the Grant Name that corresponds to GrantID '1234'. I want the user to be able to also select the name first and have the GrantID autofill in in the cboGrantID Combo box. Both the combo boxs are linked to the same table tblGrant, which holds both GrantID and GrantName.
Also, when you select one of the Grant Combo box's I have it so the user can select from a few command buttons to be taken to various form that corresponds with the selected grant. I want the user to be able to return to the switch and choose another form or clear all previous selections easily. I was thinking a clear button, yet am unsure how to do this.