Dear Klaus and sturgis,
Thank you so much for trying to help me. I have spent a week trying to figure out things that you guys posted and I'm still having problems.
Klaus, you said the following:
somewhere in the card script?
If not, then "sDatabaseID" is not known at this place, unless you declare it GLOBAL or store it in a custom property!
The code is in the card script, but it still does not work.
and sturgis, thanks so much for your detailed explanation. I appreciate you taking so much time to write such a commented explanation.
The whole thing is still not clicking, and I was thinking about something Klaus said earlier in this thread challenging me to write a simple example app and that he would help code it. The existing example app does not seem to be working correctly for some reason, and I thought if I created a super-simple database example app, that other novices could learn from it as well.
So I gave it a try. It is simple sqlite database stack that contains an names and address database. The user can navigate between names with navigational buttons, and create new names, update names and delete names.
The project can be found at:
http://www.redway.net/livecode
The navigation buttons DO work on the IOS simulator, and in the IDE. The New, Update, and Delete buttons do not work, because the code is not there.
I think if we can just get this working, it would greatly help me, as well as new users to Livecode.
I would appreciate if you take a look at it.
Thanks again.
Jim