The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum
 Origin Forum
 Recalculate 'Set column values' with a variable

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Gandi Posted - 12/16/2011 : 11:40:44 PM
I am using 'Column --> Set column values...' to set the values in column B using the values in column A and a variable which has previously been defined in the command window. When I select 'recalculate: auto', column B is only updated if column A changes but not if I change the variable. The same is the case if use 'recalculate: manual' and click the 'recalculate' button.

Is there a way to make a change of the value of the variable trigger a recalculation?

Thanks in advance.

Origin Ver. and Service Release (Select Help-->About Origin): OriginPro 8.5.0 SR1
Operating System: Win 7 (64 bit)
2   L A T E S T    R E P L I E S    (Newest First)
Gandi Posted - 12/18/2011 : 3:45:41 PM
Thanks for letting me know, cpyang, and for the workaround!
cpyang Posted - 12/18/2011 : 10:41:24 AM
Currently there is no such support, only cell values are registered to trigger recalculate. You can put that variable into a cell in another column, for example iif data in column 1 and variable in column 2 cell 1, then formula

col(1)+col(2)[1]

will allow value in that cell changing to trigger.

CP

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000