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
 Run Set All Column Values in Origin 6.1?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jsw

USA
5 Posts

Posted - 10/02/2002 :  11:59:11 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
I am reading a lot of data files into worksheet templates which have Set Column Values set for many columns. I want to force evaluation of all of these without having to manually select each column and choose to Select All Column Values. Is there a way to do this?

Is there a way to run "Set All Column Values" in Orign 6.1? I see that in the v. 7 demo there is a button to Set All Column Values. The script does not work in 6.1. Unfortunately, I cannot upgrade at the moment.

Thanks,
Joe

Mike Buess

USA
3037 Posts

Posted - 10/02/2002 :  3:37:33 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Joe,

The short answer is... you can't do it in Origin 6.1. But you can use the Worksheet script instead. Select Worksheet Script on the Tools menu and enter your column expressions there as complete Labtalk statements. For example, the default expression for column C...

col(A)-col(B)

needs to be written as

col(C)=col(A)-col(B).

It might take some time if you have a lot of column expressions, but, like column expressions, worksheet scripts are saved with the template and you only need to press the Do It button to execute everything.

...By the way, you don't even have to open the Worksheet Script dialog to run the scripts. Just add a text label that says "Do It", right-click on it and select Label Control. Then enter

wo -r;

in the script area and select Button Up on the drop-down list. Now you have a button to run your worksheet script. You'll need to be in Button Edit mode (Edit menu) in order to change its position or appearance.

Hope that helps.

Mike Buess
Origin WebRing Member

Edited by - Mike Buess on 10/02/2002 4:08:57 PM
Go to Top of Page

rtoomey

USA
184 Posts

Posted - 10/02/2002 :  4:44:06 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
You might even just put the commands in Label Control for the button instead of the wo -r; In some cases that'll save a step. Nevertheless, Mike's suggestion is great.

- rtoomey

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