buddyrich2
Technical User
Surely there must be a thread here somewhere on this, but I have racked my brain for a couple of hours looking so I will just ask:
I'm getting errors related to "file is opened by another user" and the program crashes. I need to find out if the table is open before I even try to do the routine.
I have tried this but it just hangs up indefinately:
DO WHILE .T.
lnOpen = FOPEN([d:\directory\filename.dbf],2)
IF lnOpen = -1
FCLOSE(lnOpen)
ELSE
FCLOSE(lnOpen)
EXIT
ENDIF
ENDDO
Does anyone have any other suggestions? Thanks.
I'm getting errors related to "file is opened by another user" and the program crashes. I need to find out if the table is open before I even try to do the routine.
I have tried this but it just hangs up indefinately:
DO WHILE .T.
lnOpen = FOPEN([d:\directory\filename.dbf],2)
IF lnOpen = -1
FCLOSE(lnOpen)
ELSE
FCLOSE(lnOpen)
EXIT
ENDIF
ENDDO
Does anyone have any other suggestions? Thanks.