NetTalk Central

Author Topic: Browse in form, filtered  (Read 3766 times)

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Browse in form, filtered
« 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


-----------
Regards
Alberto

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Browse in form, filtered
« Reply #1 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.


Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse in form, filtered
« Reply #2 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

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Browse in form, filtered
« Reply #3 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
-----------
Regards
Alberto

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse in form, filtered
« Reply #4 on: March 16, 2009, 07:58:17 AM »
Hi Alberto,

a) advanced use only.
b) yes.

Cheers
Bruce