Dan:

Just spitballin' here:

Perhaps variable veshipnum needs pre-formatting to provide the quoted PROPERTY syntax:

SET VAR vapos TEXT = ''''
SET VAR vgaugeParam TEXT = (.vapos + (CTXT(.veshipnum)) + .vapos)

... alternately:

SET VAR vgaugeParam TEXT = ( (CHAR(039)) + (CTXT(.veshipnum)) + (CHAR(039)) )

... then:

PROPERTY cvgshipped 'SCALES[1]->OPTIONSVIEW->MAXVALUE' .vgaugeParam

(I'm presuming here that veshipnum is a DOUBLE datatype, any rounding not shown.)

Hope that helps, Bruce

Bruce A. Chitiea
SafeSectors, Inc.
1142 S Diamond Bar Blvd # 442
Diamond Bar CA 91765-2203

[email protected]
(909) 238-9012 m



------ Original Message ------
From "'Dan Goldberg' via RBASE-L" <[email protected]>
To "[email protected]" <[email protected]>
Date 3/19/2024 7:46:22 AM
Subject RE: [EXTERNAL] Re: [RBASE-L] - variable gauge set max value

Thx but the quote idea did not work.



Dan Goldberg



From:[email protected] <[email protected]> On Behalf Of jan johansen
Sent: Monday, March 18, 2024 9:57 AM
To: 'Dan Goldberg' via RBASE-L <[email protected]>
Subject: [EXTERNAL] Re: [RBASE-L] - variable gauge set max value





Dan,



Just guessing here but the syntax guide shows that n.nn should be surrounded by quotes.



Jan





From: "'Dan Goldberg' via RBASE-L" <[email protected]>
To: "[email protected]" <[email protected]>
Date: Mon, 18 Mar 2024 13:16:06 +0000
Subject: [RBASE-L] - variable gauge set max value

Using 10.5 latest



I have a variable gauge that the max value will need to be set dynamically.



I think I found the correct rdocs reference:



PROPERTY <Component ID> 'SCALES[n]->OPTIONSVIEW->MAXVALUE' 'n.nn'



So I have my command



PROPERTY cvgshipped 'SCALES[1]->OPTIONSVIEW->MAXVALUE' .veshipnum



Which does not work. I have tried to set SCALES[0] in case it is zero based.



Anyone have blues clues?



TIA



Dan Goldberg



--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php <http://www.rbase.com/support/usersgroup_guidelines.php>
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/BY3PR19MB50273D65E12E55A78884C29AD42D2%40BY3PR19MB5027.namprd19.prod.outlook.com <https://groups.google.com/d/msgid/rbase-l/BY3PR19MB50273D65E12E55A78884C29AD42D2%40BY3PR19MB5027.namprd19.prod.outlook.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php <http://www.rbase.com/support/usersgroup_guidelines.php>
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/WC20240318165658.28005C%40jjcalibrations.com <https://groups.google.com/d/msgid/rbase-l/WC20240318165658.28005C%40jjcalibrations.com?utm_medium=email&utm_source=footer>.


--
For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/rbase-l/BY3PR19MB5027C198F0301DF4437D043ED42C2%40BY3PR19MB5027.namprd19.prod.outlook.com <https://groups.google.com/d/msgid/rbase-l/BY3PR19MB5027C198F0301DF4437D043ED42C2%40BY3PR19MB5027.namprd19.prod.outlook.com?utm_medium=email&utm_source=footer>.

--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- You received this message because you are subscribed to the Google Groups "RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/em6c636c45-7530-4c33-b705-7ba2f9419f2e%4059dde5e1.com.

Reply via email to