NetTalk Central

Author Topic: Filtering two fields in a Net Web Browse  (Read 1400 times)

Richard I

  • Sr. Member
  • ****
  • Posts: 405
    • View Profile
    • Email
Filtering two fields in a Net Web Browse
« on: January 14, 2025, 09:40:44 PM »
Hi
I want to filter on two fields in a NW browse as in this expression, which is not working -

ThisView{prop:Filter} = 'Men:Date = ''' & p_web.GSV('Din:date') & |
  'and Men:Hall = ''' & p_web.GSV('Din:Hall') &''' '     

I can on  either  one but not both
The code is in 11 Set Filter
Thanks
Richard
NT 14.28
« Last Edit: January 14, 2025, 09:52:44 PM by Richard I »

Richard I

  • Sr. Member
  • ****
  • Posts: 405
    • View Profile
    • Email
Re: Filtering two fields in a Net Web Browse
« Reply #1 on: January 14, 2025, 10:45:59 PM »
Got it --
   ThisView{prop:Filter} = 'Men:Date = ' & p_web.GSV('Din:date')  & |   
            ' and Men:Hall = ''' &  p_web.GSV('Din:Hall')  &    ''' '     

Note the spaces and the help of Bruce's book "Developing Web Applications with NetTalk"

Thanks Bruce !
Richard

osquiabro

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • Email
Re: Filtering two fields in a Net Web Browse
« Reply #2 on: January 16, 2025, 03:51:07 AM »
I prefer to use <13> instead of '

Alberto

  • Hero Member
  • *****
  • Posts: 1876
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Filtering two fields in a Net Web Browse
« Reply #3 on: January 16, 2025, 09:41:24 AM »
Sure you meant <39>...
-----------
Regards
Alberto

osquiabro

  • Hero Member
  • *****
  • Posts: 690
    • View Profile
    • Email
Re: Filtering two fields in a Net Web Browse
« Reply #4 on: January 17, 2025, 04:02:33 AM »
yes ;D ;D