NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Richard I on January 14, 2025, 09:40:44 PM

Title: Filtering two fields in a Net Web Browse
Post by: Richard I 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
Title: Re: Filtering two fields in a Net Web Browse
Post by: Richard I 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
Title: Re: Filtering two fields in a Net Web Browse
Post by: osquiabro on January 16, 2025, 03:51:07 AM
I prefer to use <13> instead of '
Title: Re: Filtering two fields in a Net Web Browse
Post by: Alberto on January 16, 2025, 09:41:24 AM
Sure you meant <39>...
Title: Re: Filtering two fields in a Net Web Browse
Post by: osquiabro on January 17, 2025, 04:02:33 AM
yes ;D ;D