Rafi -
1) The SQL statement must match the number of columns specified. If you delete a column from the Columns tab, you must alter the SQL statement by deleting the corresponding field name from the text and you must remove the "?" from the VALUES() section of the text.
2) Most SQL databases support both SELECT and INSERT statements. A SELECT statement opens the table(s) and allows the client to fetch and create new records. This is a lower performance method to access a database. An INSERT statement is only allowed to create new records and typically has better performance. TestStand offers both ways as an example to end-users.
3) We attempt to protect the NI schemas so that when a new release comes out and NI updates the schema, TestStand does
not overwrite any edits that you could have made to an NI schema.
Regarding the text not showing up for the Command Text control when dimmed, TestStand 3.0 had this behavior. TestStand 3.1 does not exhibit this behavior. For TestStand 3.0, all you have do it either copy the schema and look at the editable copy or temporarily check the Allow Editing of Schema on the Schemas tab and you can look at an NI schema.
Scott Richardson (NI)
Scott Richardson
https://testeract.com