Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error in FoxAudit
Message
De
07/05/2009 12:34:13
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Produits tierce partie
Titre:
Error in FoxAudit
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01398403
Message ID:
01398403
Vues:
155
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
Répondre
Fil
Voir

Click here to load this message in the networking platform