Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking
Message
From
27/10/2015 07:43:58
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
27/10/2015 05:44:23
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01626484
Message ID:
01626489
Views:
51
>I have a locking problem.
>
>Or at least no idea.
>
>There is a database that for now is filled via exclusive imports.
>
>The normal forms write through CA to tables, checking a synthetic timestamp (bound to the machine this is, but it normaly run on a terminal server) and changed fields, sometimes writing to multiple tables through transactions (the CA's build in is a bit a risk on that). It depends on pickup tables etc set by former import. The checks are on forms or business level, depending on use and how old the form is. The data to check is preloaded, because for now it is static.
>This works pretty well.
>
>Now the customer likes to import the data in a non exclusive way.
>
>It's clear that I have to rewrite my import.
>
>But how do
>I check data that I only read for changes, (but I can not read them on every update, that's to much data gathering on some)
>lock the update if the lookups are changing by import

Ouch... and the damn english is in the way. What do you mean by:

- exclusive vs non-exclusive - is "exclusive" to mean "everyone get out of your apps while I import" or "the import has the rights to update whatever it wants"

- lock - I have a feeling you don't think of record locking or table locking... Does "lock the update if the lookups are changing by import" actually mean "abort the update" or "keep the lookup tables locked while importing" or what?

- checks - I assume you don't mean to write us a check :), but you mean validation. Correct?

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform