It does not have any problem executing the sensetalk code to pull the number of records, but crashes while the executeSQL statement has to run. Am I missing anything here?
Here's the code:
set mydb to (type:"odbc", DSN:"TEST", user:"TEST1", password:"Password1")
Here's the code:
set mydb to (type:"odbc", DSN:"TEST", user:"TEST1", password:"Password1")
put the number of records in table "person" in mydb into temp
log temp //Temp is logged out properly
put executeSQL(mydb, "SELECT * FROM person") into Result //Eggplant crashes at this point
log Result