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

what does NOUP do? 1

Status
Not open for further replies.

whyfoxpro77

Programmer
Oct 12, 2021
2
US
Im working with foxpro for the first time every. going over legacy code for a transition

example:
USE &pathlive.columnname ORDER code NOUP

what is NOUP doing in this case? I was looking online and I found something similar on the SnowSQL site saying its a boolean to check if the file Its pulling is updated?
 
Legacy code often abbreviates names of commands, functions and options.

NOUP extends to NOUPDATE.

Says "Prevents changes to the table and its structure"

It effectively opens the dbf readonly. If you do it in the IDE, even when exclusivve is set on or you use a dbf EXCLUSIVE NOUPDATE, then do MODIFY STRUCUTRE, the table designer comes up and has [READ ONLY] in its titlebar. You can read all structure information but not change the DBF.

But you also won't be able to APPEND BLANK, REPLACE or anything else modifying the data.

Chriss
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top