I am trying to open different forms as per the selection in the list box. I have tried this which opens the same form on double click.
I want to open different forms as per the selection.
for example:
MasterTablesPK=1 , Items List Form
MasterTablesPK=2, Suppliers Form
MasterTablesPK=3, Locations Form
How to get this solution.
Code:
DoCmd.OpenForm "frmItemsDetail", acNormal, , "[MasterTablesPK] =1 " & Me.DynamicList.Column(0)
I want to open different forms as per the selection.
for example:
MasterTablesPK=1 , Items List Form
MasterTablesPK=2, Suppliers Form
MasterTablesPK=3, Locations Form
How to get this solution.