Is the proposed import doing any updates of the parent records or just
adding\updating child records?

Normally (i.e. in vanilla VFP) unless the logged-in users have
exclusively opened or otherwise locked the parent records (which you say
they won't) then I would be in broad terms:

* Pre-validating the import data to report on exceptions and arrive at a
clean import set of records.
* Upserting the child records wrapped in a transaction.
* Repeat if applicable for parent records.

You say your application doesn't explicitly lock any tables (rlock(),
flock() or automatic locks via BEGIN TRANSACTION) and if the OS does
indeed do any sort of ultra-brief locking on file updates it's never
caused me a problem.

So I would say the worst that will happen is that other users might see
a 'record not available - please wait' message if they try and save a
parentr record when you're still inside a transaction on whatever
machine the import is running on. But assuming there aren't millions of
records and you keep the transaction as quick as possible I doubt they'd
ever even see that.

-- 
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1498146979.2232907.1018030904.66e44...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to