Hi,I need to save a JMP file using C#. I checked in the samples folder attached to the software and there is no sign of saving a file.It should be something simple but I couldn't find an answer online either.Does anyone have an idea?Thanks.
You mean output a data table from C# so JMP can read it? Here are some ideas:
The .jmp file is a binary file. Most of the other files JMP saves are text, and can be opened with an editor. JMP does not document how to create the binary file, and may not support editing/changing some of the text files.
How much data are you looking at? Pure numeric? There are some optimizations using blobs if you are sending >10 million or so numbers.
It might be fastest to let JMP open the SQL data directly into a data table. If the C# code isn't adding anything to the data, it will probably be pretty easy to do the SQL statements from JSL.
query builder
I'm trying to give the user easy access so they don't have to write queries
like you said i fill DataTable
Maybe I'm doing something wrong?
JMP.DataTable dt = null;JMP.AUTODB db = rndJMP.NewDatabaseObject();
db.Connect(connactionString);dt = db.ExecuteSQLSelect(Query);
missing a command that would allow editing later in JMP?