I resurrected a older app that is designed for an ipad and started getting errors on a menu the comes up on the first form. In reading I found the old menu control has been deprecated and I had to find some replacement. Not sure where I should go as I didn’t see any mention of a substitute I selected the JqwList.
Setting the Changeform properties I tried to run it and am getting either style errors or sql errors.
Form1: Uncaught TypeError: Cannot read property ‘style’ of null
Forms 2 & 3:
The sql errors: Uncaught TypeError: Cannot read property ‘supplant’ of undefined. If I click on the link below the message I get:
NSB.MsgBox(‘SQLite error: {errmsg} (Code {errcode}) {sql}’).supplant(
“errmsg”: err.message,
“errcode”: err.code,
“sql”: lastSQL
Of course the displayed message only show the placeholders and no actual error message.
These were working Sql procedures and now all fails. So my first question is the JqwList correct for use as a menu? I don’t know where to go regarding the new SQL errors.
If you would point me in the right direction or get me some docs I can refer to. Frustrated.
You are correct. My wild typing added an “s” to the form ID in that property.
Now I have to go through and see what the SQL “supplant” issues are. This code had worked but that was back in v6. I can usually figure sql stuff out but the “supplant” is side tracking me.
The supplant issue is a bit of a red herring. We’ve got code which is supposed to handle errors in SQLite calls, but there’s a bug in it. (It’s fixed in the next build.)
Can you figure out what SQLite command you’re issuing when you get the error?