Jump to content

New symbol with field value


Recommended Posts

In other Topic you got me on the way to read the value of the databank of a symbol.

 

Now the problem is exactly the contrary.

 

I want to create a new symbol with 200 written in the textfield, but comes 60!

 

 

Lasten = 200Kg

 

the databank is named: "LOADS_DB"

The field of the databank is named: "Lasten"

 

 

but somehow that leaves  another totally different number in the field Lasten---> 60

 

I feel the problem is in the last line of code.

 

Any help?

 

image.thumb.png.977489aa20b4131e8b018250127a57b6.pngimage.thumb.png.0a56a2bca5e7ca1289dc67579b95caf0.png


vs.SetRField(SYMBOLO2,'LOADS_DB','Lasten', vs.Num2StrF(Lasten2))

 

 

 

 

image.png

image.png

Edited by avictorgm
Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  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.

×
×
  • Create New...