Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SPT buffering and related parameters
Message
From
06/03/2006 02:09:08
 
 
To
05/03/2006 16:50:31
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01101595
Message ID:
01101642
Views:
11
After having done some researches on the topic, I have found that SQLCommit() is used occasionnaly. So, the question I have is do I really need to issue SQLCommit() to have my data to be save immediately on disk when using the ODBC approach? Usually, I only do this:
This.nHandle=SQLStringConnect(This.cSQLStringConnect)
lnResult=SQLExec(This.nHandle,'UPDATE Member SET Rank=1 WHERE Numero=1')
The process works. The data is saved on disk but it is not instantly. Under my WWC setup, so far, I was using SYS(1104) to force the data to be written to disk immediately. Working with local data, this has always worked ok for me. But, since I changed to SPT, the data is not saved immediately on disk. SYS(1104) doesn't seem to have any effect with SPT. So, is SQLCommit() the solution here or there is something better?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform