When I create a local data source with X and Y and height and width values for a image component and assign to variables to insert into Set code to assign relevant values to the image attributes of X,Y,Height, Width. The image does not display, If I hard code the values into a varaibale and test the image appears correctly. I have initialised the variables asinstead of number as did a test code of maths and worked ok. Ran some test code to check was pulling correct values , it is not being treated as text number values as tested maths on variables as pulled from data source . Run out of ideas is this a BUG? - any ideas appreciated.
You can convert a text string to a numer by adding 0 to it or multiplying it by 1.
Tried that , negative, thx for response tho
Apologies tried x1 and it solved it , thx again
Thought I had already done a math expression on var but that route of multiply by 1 worked where addition did not
1 Like