Posted by: Marc
Hallo
If I a Sql-direction that carry out lasts several minutes, functions the
yielding not correctly.
Code: Select all
On SAM_Timer
Set df1 = df1 + 1
Call SalUpdateWindow( hWndForm )
On SAM_Click
Call SalYieldEnable( TRUE )
Call SalYieldStartMessages( df1 )
Call SalTimerSet( hWndForm , 1, 1000 )
Call SalWaitCursor( TRUE )
Set sSql = 'Select........ (5 minutes)
Call SalWaitCursor( FALSE )
Call SalYieldStopMessage( )