NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Alberto on March 15, 2009, 02:34:58 PM

Title: Browse in form, filtered
Post by: Alberto on March 15, 2009, 02:34:58 PM
Hi,
I have a browse in a memory form.
2 drop memory fields that resets the browse
The drop values are passed to the browse in the parameter list
Inside the browse the filter is done using p_web.GetValue('parameter fro the form')
But it only works the first time.
If I change the value of one drop the value of the other parameters are loosed.
What I´m doing wrong?

Thanks
Alberto


Title: Re: Browse in form, filtered
Post by: kevin plummer on March 15, 2009, 05:38:04 PM
Test if the values are stored in the GSV. If so just use these if not add some code to store them vis SSV.

Title: Re: Browse in form, filtered
Post by: Bruce on March 15, 2009, 10:46:12 PM
As Kevin says;

a) you don't need to pass them in the "parameters" list.
b) Make sure the fields "Reset" the browse (reset list, client side tab.)
c) In the browse filter use GetSessionValue (GSV), not GetValue

Cheers
Bruce
Title: Re: Browse in form, filtered
Post by: Alberto on March 16, 2009, 01:49:04 AM
OK, but...

a) what is the parameters list for?
b) If I set the field to reset another then the template use SSV() to store it?
c) ok

THanks
Alberto
Title: Re: Browse in form, filtered
Post by: Bruce on March 16, 2009, 07:58:17 AM
Hi Alberto,

a) advanced use only.
b) yes.

Cheers
Bruce