Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Corrupted File?
Message
From
27/01/2008 13:21:43
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Corrupted File?
Miscellaneous
Thread ID:
01285906
Message ID:
01285906
Views:
90
I have an event history file which evidently can get corrupted.

The only time the file is written to is by this code
Select 0
Use (fname) Alias EventHistory Shared

Insert Into EventHistory (When, who, pgmname, exename, desc1, desc2) ;
	VALUES (MountainTime(),goVars.UserName, goVars.ApplicationName, Juststem(Sys(16,3));
	, lcText1, lcText2)
Use
Do I need to put some locking around this, and, if so, what would the code look like?

Thanks
Jim Nelson
Newbury Park, CA
Next
Reply
Map
View

Click here to load this message in the networking platform