Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
TableUpdate within transaction
Message
 
 
To
08/12/2005 17:22:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01076280
Message ID:
01076447
Views:
21
>>>>Thanks, Aleksey. In other words we need to use this setting for TABLEVALIDATE in our application if we want to be able to open the files.
>>>>
>>>Yes, you need to combine 4 with whatever setting you are using now, SET TABLEVALIDATE TO 4 will disable all validations and is equivalent to SET TABLEVALIDATE TO 0 in that sense.
>>
>>I think we're using VFP default now.
>>>
>>>
>>>>The records still may be locked, right? But only the records that were updated, not all the records in the file. Am I right here?
>>>>
>>>VFP may choose to lock the file rather than locking individual records, it all depends.
>>>
>>
>>Depends on what? We're inserting new records into several tables.
>
>One difference would be APPEND, which I understand locks the header for the duration of the append. I guess that would extend to the end of a transaction if transactions are involved.

I believe he is doing insert, also, as I said, all insertions and updates (if any) happen outside the transaction. The transaction is only used after the process is finished and it's time to commit the changes.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform