Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error in FoxAudit
Message
From
07/05/2009 12:34:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Third party products
Title:
Error in FoxAudit
Environment versions
Visual FoxPro:
VFP 9
Miscellaneous
Thread ID:
01398403
Message ID:
01398403
Views:
154
I found the problem. One of the system tables was set to audit without a PK
Peter



I am trying to use foxaudit on a project. But I hav not setup an project in years. As a matter of fact, whne I used it last I was still on VFP6
Anyway I have another need and I ran th installer but now I get this error:

Error 3
File is in use
openlogtables
75
&lcCmd

Here is my startup code:

LOCAL lcFoxAuditLoc, lcLogLoc
lcFoxAuditLoc = '..\FOXAUDIT\'
lcLogLoc = ADDBS(SYS(5)+SYS(2003))+'data\kba_data_LOG.DBF'

SET CLASSLIB TO (lcFoxAuditLoc+'FOXAUDIT.VCX') ADDITIVE
PUBLIC oFA
oFA= CREATEOBJECT('FoxAudit',lcLogLoc)
* Make sure the FoxAudit 6.0 Object was created properly
IF TYPE('oFA') == 'O' AND NOT ISNULL('oFA')
* Assign the application's UserID value to FoxAudit's cUserID property
oFA.cUserID = oUser.pName
oFA.cUserMsg2 = SYS(0)

oFA.lLogUpdates = .t.
ENDIF
** end fox audit

What can I do to fix this?


Thanks

Peter
Peter Cortiel
Reply
Map
View

Click here to load this message in the networking platform