Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database Files are Distroyer.

Status
Not open for further replies.

bill993

Programmer
Nov 26, 2001
20
0
0
PK
Hello All,
Here is common problum over here, The prbolum that The DATABASE files in FOX are Currpted when The Powe is failer, Any body have idia how to protect ?
i also want that The use are not look in database, by useing the Command BROW
please guide me
 
Hi
In all places where you update tables.. use

BEGIN TRANSACTION
Update all my table fields.. etc
END TRANSACTION
FLUSH

This can reduce the incidence of corruption. YOu have to resort to UPS ofcourse for help :)
ramani :-9
(Subramanian.G),FoxAcc, ramani_g@yahoo.com
 
To add to want Ramani has said, you might want to go to and read the "Avoiding Table and Index Corruption" article.

There are a number of ways to prevent "browsing" the data.
1) Restrict individual user's access to this data directory - then programatically change their access rights only in your program.
2) Encrypt the data - they can still browse, they just won't be able to read it!
3) Use the new VFP 7.0 Database Events to prevent them from even opening the files.
4) Move the data to SQL Server (or any other client-server database).

Rick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top