>>>Something like
>>>
>>>FOR lnI = 1 TO 2
>>> TRY
>>> &tcSql
>>> CATCH TO loEx
>>> _CLIPTEXT = m.tcSql
>>> IF lnI = 1 AND loEx.ERROR = 108
>>>
>>> DECLARE INTEGER Sleep IN Win32API INTEGER cMilliseconds
>>> =Sleep(0.5*1000)
>>>** we're going to re-try
>>> ELSE
>>> * the normal catch code
>>> lnI = 10
>>> ENDIF
>>> ENDTRY
>>>NEXT
>>
>>(1) What if there's no error ?
>>(2) I prefer EXIT instead of lnI = 10
>> - more readable
>> - what if you decide to try 10 or 15 times (or step -1) and forget to change lnI = 10 ?
>
>Good point about no error! I forgot about it. I guess I need to add some extra check in FINALLY clause for this too.
>
>I don't like EXIT in principle :)
As I explained to Agnes, I do not feel the need to convince, just to point it out
(1) If you are happy setting the variable, then by all means do
(2) One day you may regret (1)
Gregory