NetTalk Central

NetTalk Web Server => Web Server - Share Knowledge => Topic started by: rjolda on October 29, 2009, 05:30:16 PM

Title: How do I get values from a selected line in a browse
Post by: rjolda 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
Title: Re: How do I get values from a selected line in a browse
Post by: Bruce 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