NetTalk Central

Author Topic: Getting some value from browse  (Read 3500 times)

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Getting some value from browse
« on: February 23, 2011, 05:37:55 AM »
I tought this is simple task: getting values from all field populated in some browse... but...
I have browse with fields: Field1, Fields2....
How to get values from this fields: p_web.GetValue('Fields1) don't give me anything...
With p_web.GetValue('value') I got value, but how to get other fields values?
Nettalk
Regards, Ozren, 4.53

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Getting some value from browse
« Reply #1 on: February 23, 2011, 02:15:41 PM »
You get the value of your unique identifier and then do a fetch on that record.

oggy

  • Full Member
  • ***
  • Posts: 219
    • View Profile
    • Email
Re: Getting some value from browse
« Reply #2 on: February 23, 2011, 10:59:55 PM »
Yes, that will do the work, but I have a key with five components, how to fetch records with only one components set?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Getting some value from browse
« Reply #3 on: February 24, 2011, 12:00:56 AM »
NetTalk 4 doesn't support multi-component key fields on a browse.
NetTalk 5 has some limited support for it, but it's not released as "official" yet.

Your best option is to add a unique field to the table, and use that as your browse key.

Cheers
Bruce