> Le 6 déc. 2017 à 04:50, Janet Jonas via 4D_Tech <[email protected]> a 
> écrit :
> 
> I have ended up making a habit of using LOAD RECORD or UNLOAD RECORD after 
> ending whatever code I am running that edits and saves record(s). 

Could be unnecessary, it depends on what code, for example:
  while(not(end of selection))
    ...
  next record
  end while
  unload record  // >>> useless as end of selection means no current record
This is just to illustrate, but such redundant instruction can result in bad 
performances on WAN usage and/or a lot of clients connected. 

Speaking about read only, I learned this particularity of ARRAY TO SELECTION 
last year: 
"Note: Since it can create new records, this command does not take a table's 
read-only state (if any) into account"

-- 
Arnaud de Montard 



**********************************************************************
4D Internet Users Group (4D iNUG)
FAQ:  http://lists.4d.com/faqnug.html
Archive:  http://lists.4d.com/archives.html
Options: http://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:[email protected]
**********************************************************************

Reply via email to