Crash

Mark Schonewille m.schonewille at economy-x-talk.com
Sun Aug 2 18:38:29 CDT 2015


Hi,

I have the following (slightly abbreviated) LiveCode script:

put "SELECT * FROM table1" into mySQL
put vDatabase_SqlQuery(gID,mySQL) into myCursor
put vCursor_recordCount(myCursor) into myRecordCount
put vCursor_getRecord(myCursor,tab,cr) into myData

The above script crashes LiveCode and myRecordCount contains the number 
2 instead of the expected number of 35 records. It works fine if I 
replace vDatabase_sqlQuery() with vDatabase_sqlSelect().
Is this a bug? Do I do something wrong here? Is vDatabase_SqlQuery() 
deprecated?

--
Best regards,

Mark Schonewille

Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Installer Maker for LiveCode:
http://qery.us/468

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

LiveCode on Facebook:
https://www.facebook.com/groups/runrev/


More information about the Valentina mailing list