NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on July 01, 2009, 03:24:15 AM
-
Hi,
I´ve modified the web33 example to show the problem (attached) priming the drop field value to 9 (charles)
Compile it, Run it, Go to the drop filter proc, you will see the drop value (charles) and the browse filtered showing charles records.
Change the drop to Bruce, the browse shows bruce records, press change or add a new record, then save or cancel and the drop value returns to charles.
It is confusing for the user (and me).
This does not happened in 4.34
Tanks
Alberto
ps: meantime, any way to download 4.34??
[attachment deleted by admin]
-
Hi,
Bruce please, can you reproduce this problem?
Any workarround?
Thanks
Alberto
-
Hi Alberto,
haven't got to this one yet - I'll keep you posted.
Cheers
Bruce
-
Omiting the template code and replacing
If p_web.IfExistsValue('Goc:Actives')
by
If p_web.GetSessionValue('Goc:Actives')<>''
It works ok.
Hope this helps,
Alberto
-
Given that the Example 33 I ship doesn't display the effect, but your altered 33 does, what exactly was the alteration you made?
-
To prime the drop field value to 9 (charles)
-
Well you should tick on "only if field is not already set" - but assuming you've got that on then I've fixed it for 4.36.
Cheers
Bruce
-
Yes Bruce,
"only if field is not already set" is cheked and that is why the template adds the
If p_web.IfExistsValue('Goc:Actives')
which is not working, if I replace that code by
If p_web.GetSessionValue('Goc:Actives')<>''
it works ok
Thanks
Alberto