Retrieving Tab Region field valueAny

 2 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
tchang
Basic Member
Posts: 5
Basic Member
    For a screem consists of three parts: Head, Detail Line and tab region for each detail line, such as PO25.7, does anyone have experiences of retrieving the values of fields of each tab (for each detail line)? Thanks,
    John Henley
    Posts: 3353
      you can do it via Javascript using the GetDataValue method of the LawForm object. There is an optional third argument for RowId.
      Thanks for using the LawsonGuru.com forums!
      John
      tchang
      Basic Member
      Posts: 5
      Basic Member
        Thanks John for your info. For the detail line field values, I could use what you suggested lawForm.getDataValue("text1",0) to get the value of the first line text1 value. What I am trying to get is the Tab Regions that link to detail lines. The Tab Region serves as addtion area for more line detail information. Whenever you click on a line, its tab region will show info only related to the line you selected. I have been playing with the command such as lawForm.setActiveTab('TF0-0') before useing getDataValue method, but no luck so far. The manual provdes very limited info on this part. But anyway, appreciate your input.

        Best Regards,

        Tony