NetTalk Central

Author Topic: getting highlighted browse record values...  (Read 3724 times)

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
getting highlighted browse record values...
« on: March 30, 2010, 10:04:31 AM »
Hi,
I need to get several field values to stuff into the session queue to use to filter a browse that I am going to call.
Where and how to I get the fields in the highlighted record.  I found the embed point "user has selected an item in the browse" and it fires when a record is selected.  However, i am not getting the field values of fields in the hightlighted record.
1. How do I get them?
2. Can I fill them when the first record is automatically selected when the browse opens?

Thanks,
Ron Jolda

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: getting highlighted browse record values...
« Reply #1 on: March 30, 2010, 02:31:42 PM »
every time you click on a record in a browse your unique identifier field is updated in the session queue. so to get the other values simply use this value to fetch the record from the table and set your SQ.

Kev

rjolda

  • Sr. Member
  • ****
  • Posts: 329
    • View Profile
    • Email
Re: getting highlighted browse record values...
« Reply #2 on: March 31, 2010, 04:01:07 AM »
Hi Kevin,
Conceptually, this is fine.
Where does the code to access the record on the server go?  I am trying to get my hands on how the client(Browser) makes things happen on the server.  so, Is this client side code or is it a server side code that gets processed when a new Record IHID comes in?
Where does the code to get the fields go?
Thanks,
Ron Jolda

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: getting highlighted browse record values...
« Reply #3 on: March 31, 2010, 05:10:40 AM »
Try the embed After Browse Row Clicked - it will be server side code. I think client side code would only be JavaScript.

Kev