That worked. Just don't understand why it stopped working, but then I can't
remember how many places I used start transactions in that database. It's been
a few years since I worked on it.
Steve
On Sep 10, 2010, at 9:51 AM, Aparajita Fishman wrote:
>> Any suggestions?
>
> Change the first part of the method to this, see if it works:
>
> if (not(execute in 4d("in transaction"; *)))
> if ($inRecNum = -1)
> $inRecNum := record number($inTable->)
> end if
>
> goto record($inTable->; $inRecNum)
> end if
>
> c_boolean($timedOut; $readOnlyState)
> $timedOut := false
> $readOnlyState := read only state($inTable->)
> unload record($inTable->)
> read write($inTable->)
> load record($inTable->)
>
> Note that you will have to make sure the record is current before calling
> this when you are in a transaction.
Noted
_______________________________________________
Active4D-dev mailing list
[email protected]
http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev
Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/