Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Automatic Transactions ????
Message
From
29/03/2005 09:40:44
Albert Beermann
Piepenbrock Service Gmbh & Cokg
Osnabrück, Germany
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Automatic Transactions ????
Environment versions
Visual FoxPro:
VFP 8 SP1
Database:
MySQL
Miscellaneous
Thread ID:
00999687
Message ID:
00999687
Views:
59
Hello Everybody !

My VFP 8.0 application works with a MaxDB Database via ODBC.

In the extra options of the IDE i set automatic transactions off in the remote data view!!
(no autocommit!)

When reading spezial data into a cursor i do
l_select = "select ..... with lock optimistic"
=sqlexecute(connhandle,l_select,"mycursor")

the wanted behavior is, that there is an entry in the locks table of the MaxDB database
(user,session,tablename,keyvalue ...)
we use this entry to decide wether other users can use the same record(s) at the same time.

when starting the programm from the IDE everything works as aspected.
there is a record in the locks table until we do a "commit"

when starting the programm from an exe there is no entry in the locks table ??????

What is missing ???? Do we need a spezial set command in our main programm ?????
is there a confict with the "SET MULTILOCKS ON" command in our main programm ???
(we use this for spezial operations with local cursors)

Any help welcomed

Best regards
Albert
Next
Reply
Map
View

Click here to load this message in the networking platform