Hi Hilary,
Thanks for reply.
No I don't want filter the items in Description drop-down to change depending upon what is selected in Stock Number.
I have already seen cascading examples but that is not solution for my problem actually I don't want to filter any data I want to keep my Stock Number and Description list as it is as they loaded first time. Actually following are the items in drop-downs:
Stock Number Description
1 Description1
2 Description2
3 Description3
4 Description4
Now in 'Stock Number' drop-down 1,2,3,4 items are listed and in 'Description' drop-down Description1, Description2, Description3 and Description4 items are listed and now when user select 3 in 'Stock Number' drop-down then Description3 should be appeared/selected in 'Description' drop-down automatically and vice versa means when user will select Description4 then 4 should be appeared/selected in 'Stock Number' drop-down automatically. I can achieve this functionality in Visual Basic very easily by single line of code on Change event of both drop-downs as following.
Private Sub cboStockNumber_Change()
cboDescription.ListIndex = cboStockNumber.ListIndex
End Sub
Private Sub cboDescription_Change()
cboStockNumber.ListIndex = cboDescription.ListIndex
End Sub
Do we have access to drop-down control properties via code??
I think now you will get what I want.
Thanks,
Azeem Siddiqui