B
Bing Li
Hi,
I have a main Form (FormA) which is bounded to TableA. FormA contains a tree
view and a subform (FormB) which is bounded to TableB
The tree view contains a list of products organised in different categories.
When the user select a product from the treeview, the productID of the
selected product is passed into FormB and user can then enter a product
description in at text field in formB, then ProductID and ProductDiscription
are saved in TableB.
When the user select a different product, I need to refresh the form so it
creates a new record in TableB with ProuductID equal to the new productID
and the ProductDescription field refreshed to empty.
When the user then select the previous product, the form shows what user has
entered before.
What is the best way to achieve this? Could anyone please help me?
Thank you.
I have a main Form (FormA) which is bounded to TableA. FormA contains a tree
view and a subform (FormB) which is bounded to TableB
The tree view contains a list of products organised in different categories.
When the user select a product from the treeview, the productID of the
selected product is passed into FormB and user can then enter a product
description in at text field in formB, then ProductID and ProductDiscription
are saved in TableB.
When the user select a different product, I need to refresh the form so it
creates a new record in TableB with ProuductID equal to the new productID
and the ProductDescription field refreshed to empty.
When the user then select the previous product, the form shows what user has
entered before.
What is the best way to achieve this? Could anyone please help me?
Thank you.