G
gorsoft
I am reporting this as my earlier post may not have been too clear.
I have a main form for data entry with too many fields to show on one
screen so have created a tab with 12 pages, one for each for each
product type
selected in a combo box on the first page. After the combo box is
updated, this then shows only the page for the current record's
product type. Each product
type requires only certain fields to be added.
This all works fine but I am trying to cover the situation where the
user selects the wrong product type on the first page but only
realises this after data
for the first page and the related product type page have been
entered. The user then
changes the product type on the main form which reveals a different
product type page but the fields in the original page are still
populated. How can I
clear the unwanted data from just those fields in the second page
after the combo box product type is
changed? For example, is there a way to set the controls on the
"wrong" product type page
to null before the correct page is opened.
Thanks
Gordon
I have a main form for data entry with too many fields to show on one
screen so have created a tab with 12 pages, one for each for each
product type
selected in a combo box on the first page. After the combo box is
updated, this then shows only the page for the current record's
product type. Each product
type requires only certain fields to be added.
This all works fine but I am trying to cover the situation where the
user selects the wrong product type on the first page but only
realises this after data
for the first page and the related product type page have been
entered. The user then
changes the product type on the main form which reveals a different
product type page but the fields in the original page are still
populated. How can I
clear the unwanted data from just those fields in the second page
after the combo box product type is
changed? For example, is there a way to set the controls on the
"wrong" product type page
to null before the correct page is opened.
Thanks
Gordon