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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can NOUPDATE prevent a DBF corruption

ajenat

Programmer
Nov 28, 2007
10
IN
Hi
I am wondering, can we prevent a dbf table from corruption (headers) by using it with NOUPDATE (readonly) if I don't need write access.
 
Well, corruptions only happen when changing a dbf, so when writing. By just reading you'll never corrupt a dbf. So you don't need the NOUPDATE clause. If you use it, you will just ensure there are no changes possible and would identify any code or control (and user interaction with it) that tries to change a record.
 

Part and Inventory Search

Sponsor

Back
Top