Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
DECLARE Sleep IN WIN32API INTEGER iPeriod
&& You only need to do the above command once, at the start of your program
llSuccess = .F.
lnRetryCount = 0
DO WHILE NOT llSuccess AND lnRetryCount < 100
llSuccess = .T.
TRY
USE MyTable && or any other command to open the DBC / DBF
lnRetryCount = lnRetryCount + 1
CATCH
llSuccess = .F.
ENDTRY
Sleep(500) && pause for half a second
ENDDO
IF llSuccess
* Database is now open
ELSE
* Database cannot be opened after 50 seconds
ENDIF
TRY
USE MyTable && or any other command to open the DBC / DBF
lnRetryCount = lnRetryCount + 1
CATCH
llSuccess = .F.
ENDTRY
TRY
USE MyTable && or any other command to open the DBC / DBF
CATCH
lnRetryCount = lnRetryCount + 1
llSuccess = .F.
ENDTRY