NetTalk Central

Author Topic: Filtering in a NetTalk browse  (Read 3387 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 398
    • View Profile
    • Email
Filtering in a NetTalk browse
« on: November 13, 2016, 08:22:20 PM »
Hi,
I have created a session variable at  login on name
I want to filter a browse to this name
Im setting the session value p-web.setsessionvalue('name',Clip(STU:Name))

I want my browse to only return this name
the name in the browse is PL:Name
Ive tried in the Browse filter
PL:Name = p_web.GSV('Name',Clip(STU:Name))
Doesnt work

Is there an embed point and if so what would the likely code be for that?

thanks
regards,
Richard

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: Filtering in a NetTalk browse
« Reply #1 on: November 13, 2016, 08:31:41 PM »
Hi Richard.
In the browse filter:

'PL:name = <39>' & p_web.GSV('Name') & '<39>'

Couple of points When you use p_web.GSV('Name') you don't need to clip
I use <39> above since I find it easier that having to put 3 ' characters in a row but it is the same thing.
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186