I've never tried to drop a temp table that a form is based on while I am still 
in that form.  Is that what you're doing?  If so, can you do this?

The eep from FormA:
    edit using FormB
    drop table <temptable>

Karen


 

 

 

-----Original Message-----
From: Jim Belisle <[email protected]>
To: RBASE-L Mailing List <[email protected]>
Sent: Thu, Jan 2, 2014 9:23 am
Subject: [RBASE-L] - RE: TEMP TABLE


I have done that. All code works as planned until I come to the last
lines that DROP the table.
I then get the error message even though I have that message off. 

James Belisle

Making Information Systems People Friendly Since 1990



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Buddy
Walker
Sent: Thursday, January 02, 2014 9:16 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: TEMP TABLE

Can you put a "Trace ON' just before calling the form and bit button to
step through to see what is happening?


-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jim
Belisle
Sent: Thursday, January 02, 2014 10:12 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: TEMP TABLE

No disconnect. This is a form within my application.
I am just using the CLOSEWINDOW code to get back to the main menu.

James Belisle

Making Information Systems People Friendly Since 1990



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Buddy
Walker
Sent: Thursday, January 02, 2014 9:07 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - RE: TEMP TABLE

Jim
  Do you disconnect or re-connect to the database in your code is so
that could be causing your temp table dropping.

Buddy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Jim
Belisle
Sent: Thursday, January 02, 2014 9:57 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - TEMP TABLE

 

I am working with two forms where one form comes (form A) up then when I
am finished with form A I close the form and bring up form B. When done
working in form B I hit a bit button that closes the window and performs
other code.

 

Here is my problem. Form B is based on a temp table and the very last
code in the bit button when closing this form is to DROP the temp table.


I set the error message 2038 off and the temp table updates the regular
tables per the code.

However I continue to get the error message 2038 stating the temp table
is not defined. 

Another aspect to this is that this happens ONLY after adding rows to
another temp table through a DBGrid on Form B.

The error codes do not appear when adding the row. Just when the code
runs through the Bit Button.

 

Any suggestions?

 

James Belisle

 

Making Information Systems People Friendly Since 1990

 

 



 

Reply via email to