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 for Programming
 Forum for Origin C
 Getting information
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

bf1978

USA
Posts

Posted - 05/18/2005 :  6:23:41 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi,
how is it possible to find out all the information about a dataset using Origin C? I want to give a dataset name and I would like to get the worksheet name, the other datasets in the worksheet etc.

Thanks,
bf

Mike Buess

USA
3037 Posts

Posted - 05/18/2005 :  9:05:58 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Dataset name...

string sName = ds.GetName();


Worksheet and all column names...

Worksheet wks = Project.ActiveLayer();
out_str(wks.GetPage().GetName());
foreach(Column col in wks.Columns)
{
out_str(col.GetName());
}


Mike Buess
Origin WebRing Member
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