Re: RevQueryDatabase error in standalone

2018-02-02 Thread Bob Sneidar via use-livecode
Belay that. Openstack happens first no matter what. I think at this point I will use it only as a utility for resizing windows when things have been rearranged, or a new form is created and I need to clean it up a bit. Bob S > On Feb 2, 2018, at 16:11 , Bob Sneidar via use-livecode >

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Bob Sneidar via use-livecode
pCardID contains the long ID of the card that called it. Remember it works perfectly in the IDE, so it's doubtful there are any syntactical errors. I am vaguely remembering that there are times when openCard is triggered first and openstack at other times. If openCard gets triggered first when

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Mark Wieder via use-livecode
On 02/02/2018 09:37 AM, Bob Sneidar via use-livecode wrote: put the short name of pCardID into tCardName I don't think you can do that. Shouldn't that be "card id pCardID"? -- Mark Wieder ahsoftw...@gmail.com ___ use-livecode mailing list

Re: RevQueryDatabase error in standalone

2018-02-02 Thread Bob Sneidar via use-livecode
Okay I found the issue with the standalone not building properly. I wrote a new handler to size a window based on the min/max left, top,right,bottoms of every visible object, so that the "air" or empty space is consistent for every stack opened. It *sorta* works, as long as the topmost and

Re: RevQueryDatabase error in standalone

2018-01-30 Thread Bob Sneidar via use-livecode
Thanks Matthias. I did a search on the main stack and substacks and got no hits. Good to know though. Bob S > On Jan 30, 2018, at 07:30 , Matthias Rebbe via use-livecode > wrote: > > Bob, > > is it possible that you have SaveStackRequest handler in one of

Re: RevQueryDatabase error in standalone

2018-01-30 Thread Matthias Rebbe via use-livecode
Bob, is it possible that you have SaveStackRequest handler in one of your stacks or cards and forgot to add 'pass savestackrequest' as the last line to it? I remember that i once had a similar problem and in my case i had forgotten to add that line. The result was i could save the

Re: RevQueryDatabase error in standalone

2018-01-30 Thread Bob Sneidar via use-livecode
Yeah that particular error came from having moved on recommendation, my preOpenStack and openStack handlers to the card script of my Login stack. Once I moved them back this particular error disappeared. Now I am getting invalid database id when I attempt to query the database. I will check the

Re: RevQueryDatabase error in standalone

2018-01-29 Thread Mark Wieder via use-livecode
On 01/29/2018 03:48 PM, Bob Sneidar via use-livecode wrote: Hi all. Now I'm not even getting to the revOpenDatabase call. Mind you this ONLY happens when I run the standalone. Not in the IDE. This is what I get when I send an email from the crash dialog: Executing at 3:40:49 PM on Monday,

Re: RevQueryDatabase error in standalone

2018-01-29 Thread Bob Sneidar via use-livecode
Hi all. Now I'm not even getting to the revOpenDatabase call. Mind you this ONLY happens when I run the standalone. Not in the IDE. This is what I get when I send an email from the crash dialog: Executing at 3:40:49 PM on Monday, January 29, 2018 Type: Object: card id 1002 of stack

Re: RevQueryDatabase error in standalone

2018-01-25 Thread Tom Glod via use-livecode
ya you have to look at the error.sometimes its not what you'd expect expect. On Thu, Jan 25, 2018 at 6:28 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Unfortunately, the error comes from the standalone CTD dialog, and it only > provides the command that failed.

Re: RevQueryDatabase error in standalone

2018-01-25 Thread Bob Sneidar via use-livecode
Unfortunately, the error comes from the standalone CTD dialog, and it only provides the command that failed. I verified that it was in fact that command by putting an answer dialog just before and just after the query command. I got the first but not the second answer dialog. I can put the

Re: RevQueryDatabase error in standalone

2018-01-25 Thread Tom Glod via use-livecode
whats the error? ... i use sqlite with standalones as files and in memory ..without problems. On Wed, Jan 24, 2018 at 7:58 PM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi all. > > In dev mode I create a memory database, populate it, query it everythign > works fine.

RevQueryDatabase error in standalone

2018-01-24 Thread Bob Sneidar via use-livecode
Hi all. In dev mode I create a memory database, populate it, query it everythign works fine. In a standalone however, the app throws an error when I call revQueryDatabase. I have verified all the inclusions are included for sqLite and database operations. Any known issues? sqlYoga works fine