Design Studio 9-tabpage on AP20.1-new syntax?

 3 Replies
 0 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
drhoades44
Advanced Member
Posts: 46
Advanced Member

    We are upgrading to 9 and I formerly had script like this:
    lawForm.setDataValueById("text78",vDiff.toFixed(2));

    I've tried a variation like this:
    lawForm.setDataValueById("lawform.tab1.tabregion1.text78",vDiff.toFixed(2));

    but it's still not working. Does anyone know the proper syntax or a reference for me to look at? Thanks!

    Gary Davies
    Veteran Member
    Posts: 248
    Veteran Member


      lawForm.setFormValue("text78",vDiff.toFixed(2));

      drhoades44
      Advanced Member
      Posts: 46
      Advanced Member

        It sounded good, but it didn't work. Do you have that code working on a tabbed control in Lawson 9????

        drhoades44
        Advanced Member
        Posts: 46
        Advanced Member

          It did finally work. The problem is that the control wasn't showing on the form. The label did, but not the textbox. This version of Design Studio seems very picky about spacing and wants lots of space between objects. I had several ap20 xml files and got rid of most of them and then it worked. With your syntax. So thanks!