NetTalk Central

Author Topic: How do I get values from a selected line in a browse  (Read 9687 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 325
    • View Profile
    • Email
How do I get values from a selected line in a browse
« on: October 29, 2009, 05:30:16 PM »
Hi,
I have a file that I am browsing.  I want to grab the FIL:IHID and the FIL:SDATE fields of the currently highlighted line so that I can press a button and send these fields to a new browse to use as filters. 
Question, how do I get these fields for the highlighted line in the browse when the button is pressed?
Thanks,
Ron Jolda

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11247
    • View Profile
Re: How do I get values from a selected line in a browse
« Reply #1 on: October 29, 2009, 10:00:42 PM »
Browse buttons have an option to "include row id".
If this is on, then the unique identifier field is added as a Value to the URL.
So from there you can do a StoreValue and proceed using the SessionValue in the filter.

Incidentally, selecting a row automatically updates the SessionValue of the RowId field on the server side. If you watch the log you'll see the incoming packet every time you select a row in the browse.

cheers
Bruce