IF USED('users') USE IN users ENDIF USE users IN 0 EXCLUSIVE SELECT usersI get the error message
File in UseIn the debugger used('user') is .F.. Why does VFP 9 think the file is in use? If I use the code
USE users IN 0 EXCLUSIVE AGAIN SELECT usersor
USE users IN 0 EXCLUSIVE AGAIN ALIAS users SELECT usersI do not get the above error message, but in the code
lnNoTags = TAGCOUNT('users') DIMENSION alcTagInfor[lnNoTags,6] =ATAGINFO(alcTagInfor,'users') FOR lnCnt = 1 TO lnNoTags lcTagNane = ALLTRIM(alcTagInfor[lnCnt,1]) lcTagExpression = ALLTRIM(alcTagInfor[lnCnt,3]) lcTagOrder = ALLTRIM(alcTagInfor[lnCnt,5]) DELETE TAG &lcTagNane INDEX ON &lcTagExpression TAG &lcTagNane &lcTagOrder NEXTI get the error message
File must be open exclusivelyon the "Delete Tag ..." line.