wrong values in variable on form with tabpanels

the problem i have may be small, but it is a bit difficult for me to discribe.

in my address table i have a form ‘input’ and some more input-forms for the tabpanels. on ‘input’ form i have tabpanels related to the address tabel by the uid. on each tab are dataproviders from the address table. now i would like to make objects visible or invisible by change records and the type of address for example from ‘private’ to ‘customer’. on a record ‘customer’ i shall see the ‘customer-no.’ field and so on, but not on a ‘privat’ record.
all works well if the checkbox field for changing the typ on the tabpanel is in the front (active), but not if an other tab of this tabpanel is active.
i have a var vKategorie. when i change the record forward or back an the tab with the ‘kategorie’ field is in the front, i get the correct value in vKategorie. is an other tab in the front, i always get the value from the former record.

is there someone for help?

Sometimes a picture says more than a 1000 words :)

you are right and i tried to send some screenshots, but they are to large :(

pic2.pdf (608 KB)

pic1.pdf (600 KB)

i made a smaller one!

is the ‘Info 1’ tab in the front, the objects ‘Kunden-Nr.’ are visible or invisible like the properties when changing the records. but when the ‘Info 2’ or ‘Info 3’ tab is in the front, the property of the former record will be displayed.

i fixed that problem by placing the ‘kategorie’ field direct on the ‘input’ form.