Hello - I am working on two scripts, one where I make a user input box, and a second where I import an XML file. I built the XML file importer as a standalone script, and it works just fine. However, when I call it with the button script, I can't get it to work, saying
Wrong result type for expression for column xsi:Schema Location 1 at row 1 in access or evaluation of 'Set Each Value' , Set Each Value( schemaLoc1 ) /*###*/ at line 1012 in jmpprj://contents/Import XRD XML.jsl
At line 982, the "schemaLoc1" doesn't seem to be picking anything up, which is why the 1012 line isn't working, but I'm not sure why calling the script from a button would mess it up unless my assignment of dt to the current data table changes, as I have the button script as a table script, while the other is just sitting in the project folder, but I can't use "show" to see what dt is for some reason.
Thanks!
Also, for the button code, I've found a few forum posts, but they don't seem to work: How do you get Number Edit Box() to return the user input when its contained in a new window command (line 7)? I've tried making it equal to a variable like the scripting guide and forum posts say, but that seems to just return b1 = DisplayBox[NumberEditBox]; and not a value.
Edward Hamer Chandler, Jr.