NetTalk Central

Author Topic: Browse on Form issue  (Read 5767 times)

wvanderstek

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Browse on Form issue
« 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

Alberto

  • Hero Member
  • *****
  • Posts: 1873
    • MSN Messenger - alberto-michelis@hotmail.com
    • View Profile
    • ARMi software solutions
    • Email
Re: Browse on Form issue
« Reply #1 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
-----------
Regards
Alberto

wvanderstek

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Re: Browse on Form issue
« Reply #2 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


Poul

  • Full Member
  • ***
  • Posts: 160
    • View Profile
Re: Browse on Form issue
« Reply #3 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 )



Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Browse on Form issue
« Reply #4 on: November 25, 2008, 01:12:51 AM »
The DropFilter example (Example 33) also demonstrates this technique.

Cheers
Bruce

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Browse on Form issue
« Reply #5 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

wvanderstek

  • Newbie
  • *
  • Posts: 24
    • View Profile
    • Email
Re: Browse on Form issue
« Reply #6 on: November 27, 2008, 03:36:16 AM »
Hello,

Thanks to all, I have got it working.

Best,
Wilco