Jump to content
UBot Underground

Variable Types? (Conversion from string to type integer)


Recommended Posts

Getting a strange error...

 

    set(#startrow, 0, "Global")

    change attribute(<name="tsk5">"value"$table cell(&reportingdata#startrow, 0))

 

Error: Conversion from string to type integer is not valid.

When I add     increment(#startrow), it works fine:

 

    set(#startrow, 0, "Global")

    increment(#startrow)
    change attribute(<name="tsk5">"value"$table cell(&reportingdata#startrow, 0))

 

 

Any idea how this can be fixed?

 

Thanks in advance for your help

Dan

Edited by dan
Link to post
Share on other sites

looks like some how -  set(#startrow, 0, "Global")  is not being recognized as a number.

 

If you need to start from --  zero , why not set  set(#startrow"-1""Global")  and then

 

 increment(#startrow)
    change attribute(<name="tsk5">"value"$table cell(&reportingdata#startrow, 0))

 

I think the math manipulation conversion makes it look like a legit number to Ubot.. ?

Link to post
Share on other sites
  • 11 months later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...