NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: wvanderstek on November 24, 2008, 02:04:40 AM

Title: Browse on Form issue
Post by: wvanderstek on November 24, 2008, 02:04:40 AM
Hello,

I do have a browse on a form. Above the browse I have 5 fields where the customer can enter search data. I have also defined a button which must be hit to start the search. How do I refresh the browse on the form which match the search criteria ?

Thanks,
Wilco
Title: Re: Browse on Form issue
Post by: Alberto on November 24, 2008, 02:53:29 AM
Hi Wilco,
Just set the Button to refresh the browse (Tab Client-side/Refresh list) and in the Browse filter use GetSessionValue('VariableNameOnTheForm') to get the Variables Values from the form.
Regards
Alberto
Title: Re: Browse on Form issue
Post by: wvanderstek on November 24, 2008, 06:48:42 AM
Hello Alberto,

Thanks for the reply. Unfortunally I am unable to get it working. Is it possible to send me some screenprints of your setup how you have done it ?

I can also send my config.

thanks for the help,
Wilco

Title: Re: Browse on Form issue
Post by: Poul on November 24, 2008, 01:38:42 PM
Hi Wilco

example Web31 shows an example on the invoice tab on updatecustomer
however i do not use this technique. (passes parameters)

as alberto suggests i use a sessionvalue in my filter as well,  depends on how you  build the filter, I would think you need to tick the send to server checkbox on the "client-side" tab for each of your five fields, and you will need to reset the value of browsecontrol when you click your search button.

(Sometimes, i reset the browse after each field - no search button required )


Title: Re: Browse on Form issue
Post by: Bruce on November 25, 2008, 01:12:51 AM
The DropFilter example (Example 33) also demonstrates this technique.

Cheers
Bruce
Title: Re: Browse on Form issue
Post by: charl99 on November 26, 2008, 04:36:30 AM
Hi Wilco,

A definite read is the following link:

http://www.nettalkcentral.com/index.php?option=com_smf&Itemid=36&topic=21.0

It explains it perfectly - step by step.

Regards
Charl
Title: Re: Browse on Form issue
Post by: wvanderstek on November 27, 2008, 03:36:16 AM
Hello,

Thanks to all, I have got it working.

Best,
Wilco