Hello;
We need read de Master-link-field ID_TABLE1 from details TABLE2 before it is display.
We have the next structure:
TABLE1_
ID_TABLE1
OBJET_TYPE
TABLE2___
ID_TABLE2
ID_TABLE1_RELATION 1 --> N
OBJET_TYPE (DROPDOWN)
CUSTOMER_TYPE (DROPDOWN dependent of OF OBJET_TYPE)
CUSTOMER_CLASS (DROPDOWN dependent of CUSTOMER_TYPE)
CUSTOMER_PROPOST (DROPDOWN dependent of CUSTOMER_CLASS)
We need select CUSTOMER_PROPOST, then we do that with several dropdown.
THE PROBLEM__
The problem is that the user he does not Know what OBJET_TYPE have then we need read it from the TABLE1 automatically.
I mean, read de Master-link-field ID_TABLE1 from details TABLE2 before it is display.
Please help us to solve it. Thanks in advance.
We tray:
1.- AUTOFILL, but it dosen´t work with drop field. OBJET_TYPE is forced to dropdown or the CUSTOMER_TYPE
dropdown dependent dosen´t work.
2.- EVENT in the ADD PAGE PROCESS RECORD VALUES or BEFORE DIPLAY, but de the
ID_TABLE1_RELATION in the TABLE2 is empty when we use
$values["ID_TABLE1_RELATION"]
we can not read it.
In EDIT PAGE it works fine.
Thanks