Subscribe Bookmark RSS Feed

What is the table reference?

Hegedus

Community Trekker

Joined:

Jun 23, 2011

If I open a table from the File>New Data Table, what is it's reference?

If I create a table variable I need to know the table reference for the namespace, but I did not explicitly define it as I would have in an an Open() command.

How do I determine it?

1 REPLY
julian

Staff

Joined:

Jun 25, 2014

Hi Hegedus,

Tables can be referenced by their name. For example, if you open the Iris.jmp sample data file, you could reference it as:   Data Table( "Iris.jmp" )

Current Data Table()  will reference the last opened or used data table. Often it is useful to assign this to its own variable right away:   dt = Current Data Table()   especially if you will be switching between or opening multiple tables.

I hope this helps!

julian