mrandy
15th September 2004, 19:52
BaanERP
Form type: 3
Session Window Type: "List Window"


There are some fields in grid, some rows are filled with values.
When user choices add.set, input on first field starts. When number
of fields get filled, session script calculates amount value to put it to
the last column. while this amount is not 0, all goes fine. But value 0
is get replaced by 4GL to previous row value, while i need exactly 0.

lbencic
15th September 2004, 20:18
Is this a custom session?

I think the predefined variable:
attr.dopr

Controls this option. If it's your code, you can try seting attr.dorp = true (use the default) instead of attr.dorp = false (previous row's value) in the before input section.

You can see they play with this variable in tccom7170m000

mrandy
16th September 2004, 10:25
Thank you.
Of course, it is attr.dorp and it was available for years

lbencic
16th September 2004, 19:02
right..dorp, what a dork I am.

toolswizard
16th September 2004, 19:07
For those who do not have source, or would like a second option, you may also select the "Default" check box for the form field. Do not put anything in for the Default Value.

toolswizard
16th September 2004, 19:18
For those who do not have source, or would like a second option, you may also select the "Default" check box for the form field. Do not put anything in for the Default Value.