[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: Losing temp-table reference after a call to ShowDialog

  • Thread starter Thread starter jquerijero
  • Start date Start date
Status
Not open for further replies.
J

jquerijero

Guest
It's not being passed as a parameter. Code structure is very simple. FOR FIRST table: . . . Create an instance of a form form:ShowDialog() set dlgResult. if dlgResult is OK then table.field1 = form:Property1. // at this point, table is out of scope Delete form. END. I think someone has posted in my original post that it has something to do with how the code execution control is switch from .NET land back to ABL land. The context is someone being lost. We encountered this error before, but the program is only dealing with one temp-table, so it is easy to just store the data needed and do the FIND again of the record outside of the FOR EACH for the update. However, for the current occurrence of the problem, there are already several different temp-table records in scope at the time the FOR EACH is executed that I'm afraid will also be forced to go out of scope.

Continue reading...
 
Status
Not open for further replies.
Back
Top