Frosty the Coder
Legendary Poster
In my maimed P4210, the client wanted rows locked/unlocked
based on a whole list of different cicumstances.
IE the User/Order Type/Line Type/Next status may be locked
for USERA but unlocked for USERB. USERC may or may not
have the same columns unlocked.
I added a bunch of code at ROW IS ENTERED, to look for these
circumstances and lock/unlock accodingly.
Works FINE on full client.
After a bit, it was noted that this wasn't working in HTML,
and we discovered that on HTML RIE isn't postable.
I added code to ROW EXIT AND CHANGED ASYNCH, at the bottom
of the ER, to get max grid row number and unlock the entire
last grid line (which is the added blank entry line).
They then noted that you could change some columns that
they wanted protected, so I changed the code to only
enable certain columns, about 15 in number.
When processing, HTML only unlocks 11 of the columns specified.
I have P4210 absolutely laced w/an F55DEBUG (every event writes at least once)
to be able to trace HTML.
What I see when processing is that it writes to my debug
immediately before, and immediately after the code to
enable these four columns, yet the columns remain locked.
When you enter a value in an UNLOCKED column, RECA
and return to the line ONE of the four enables.
F55DEBUG still shows the code as dropping right through
these lines.
We looked for/removed all user overrides (that we could see)
on P4210. I have deleted/readded these lines of code several times. We've done several update pkgs/egens/bounces.
I am BAFFLED as to why these four lines of code fail to work.
Any/all relevant suggestions are welcome.
TIA very VERY much.
Gene
based on a whole list of different cicumstances.
IE the User/Order Type/Line Type/Next status may be locked
for USERA but unlocked for USERB. USERC may or may not
have the same columns unlocked.
I added a bunch of code at ROW IS ENTERED, to look for these
circumstances and lock/unlock accodingly.
Works FINE on full client.
After a bit, it was noted that this wasn't working in HTML,
and we discovered that on HTML RIE isn't postable.
I added code to ROW EXIT AND CHANGED ASYNCH, at the bottom
of the ER, to get max grid row number and unlock the entire
last grid line (which is the added blank entry line).
They then noted that you could change some columns that
they wanted protected, so I changed the code to only
enable certain columns, about 15 in number.
When processing, HTML only unlocks 11 of the columns specified.
I have P4210 absolutely laced w/an F55DEBUG (every event writes at least once)
to be able to trace HTML.
What I see when processing is that it writes to my debug
immediately before, and immediately after the code to
enable these four columns, yet the columns remain locked.
When you enter a value in an UNLOCKED column, RECA
and return to the line ONE of the four enables.
F55DEBUG still shows the code as dropping right through
these lines.
We looked for/removed all user overrides (that we could see)
on P4210. I have deleted/readded these lines of code several times. We've done several update pkgs/egens/bounces.
I am BAFFLED as to why these four lines of code fail to work.
Any/all relevant suggestions are welcome.
TIA very VERY much.
Gene