G
Gary Dolliver
Hi all,
I am looking to create a dynamic subform, that when the main form is loaded,
the captions and fields of the subform will adjust, based on a field
(Order_Product_ID) in the table (Orders) that controls the main form. The
subform is contolled by another table (Items), which links to the Orders
table and main form through the field Order_ID.
Based on which Order_Product_ID is loaded into the main form, I would like
the captions and fields to change. For example, if the Order_Product_ID is
1, I would like Caption1 to be "Step1" and would link to the field Step1 in
the Items table. If Order_Product_ID is 2, then Caption1 would read "Step5"
and link to the field Step5 in the Items table. There would then be many
other options put in as well.
I have tried using the onLoad event for the subform, based on a lookup of
the Order_Product_ID, but have not yet gotten it to work.
Any thoughts on this? Help is appreciated, thanks!
-gary
I am looking to create a dynamic subform, that when the main form is loaded,
the captions and fields of the subform will adjust, based on a field
(Order_Product_ID) in the table (Orders) that controls the main form. The
subform is contolled by another table (Items), which links to the Orders
table and main form through the field Order_ID.
Based on which Order_Product_ID is loaded into the main form, I would like
the captions and fields to change. For example, if the Order_Product_ID is
1, I would like Caption1 to be "Step1" and would link to the field Step1 in
the Items table. If Order_Product_ID is 2, then Caption1 would read "Step5"
and link to the field Step5 in the Items table. There would then be many
other options put in as well.
I have tried using the onLoad event for the subform, based on a lookup of
the Order_Product_ID, but have not yet gotten it to work.
Any thoughts on this? Help is appreciated, thanks!
-gary