cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • New to JMP? Join us Sept. 23-24 for the Early User Edition of Discovery Summit, tailor-made for new users. Register now for free!
  • Your voice matters! Tell us how you prefer to receive JMP updates, so we can tailor our communication to your needs. Take short survey.
  • See how to access JMP Marketplace - and - find, create & share add-ins to extend your JMP. Watch video.

Discussions

Solve problems, and share tips and tricks with other JMP users.
Choose Language Hide Translation Bar
Hegedus
Level IV

What is the table reference?

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 1
jules
Community Manager Community Manager

Re: What is the table reference?

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

Recommended Articles