NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: rjolda on January 18, 2022, 09:55:12 AM

Title: Button ? to change filter on Browse
Post by: rjolda on January 18, 2022, 09:55:12 AM
HI All,
Using C11.0.136 and NT 11.51.
I have a simple browse with clients.  I want to be able to TOGGLE between Active and Inactive - I have a byte field IsInactive - 0/1
My windows application has a button that changes the filter and re-displays.

How can I do this on a WebServer Browse -
? two tabs - "Active" and "Inactive" - but there does not seem to be a way to do this..
? Put a Button over Browse - next to Search button??  How to do this?
?Other suggestions??
TIA,
Ron Jolda
Title: Re: Button ? to change filter on Browse
Post by: Niels Larsen on January 19, 2022, 12:05:02 AM
Hi Ron

In fact, very easy.
You have to wrap your browse into a memory form.
Add a button, Radio or Check to your form, that updates a Session Variable, that you use in your filter in the browser.
Remember to update your browse when you change your filter.

I have added an example. Not so pretty, but it works.

/Niels
Title: Re: Button ? to change filter on Browse
Post by: rjolda on January 19, 2022, 03:54:59 AM
Ahhh - the FORM.
Thanks for the help Niels,
I will check out the test case.
Ron