Hi, all,
When I change the field (which is shared for header table and line table) in header level, and try to add a new line, the field I changed before doesn't been initialized with any value. Only I refresh the whole form(press F5) and add a new line can initialize the value correctly .
I tried to add headerTable_ds.reread()
or headerTable_ds.refresh()
in lineTable_ds.initValue()
, but it is useless.
Could anybody tell me how to init the correct value for the lineTable when creating?
What is the root cause for this? I mean, if I have many fields shared for header and line tables, I don't want to add the field one by one in code. Will change the mapping between two lines help or something else?
Thank you for your help.