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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Recalculate 'Set column values' with a variable
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

Gandi

USA
Posts

Posted - 12/16/2011 :  11:40:44 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
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)

cpyang

USA
1406 Posts

Posted - 12/18/2011 :  10:41:24 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
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
Go to Top of Page

Gandi

USA
Posts

Posted - 12/18/2011 :  3:45:41 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Thanks for letting me know, cpyang, and for the workaround!
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000