V4WS need to use semaphores when READ from table in case cause
simultaneous indexing?
Steven
srt at bigpond.net.au
Sun Nov 28 04:16:03 CST 2004
Ruslan,
>In the Db.SqlSelect() you should see 3 new parameters to control HOW
>Valentina lock records of a new cursor. Please check docs.
>
EXAMPLE CODE:
CursorRef = valSqlSelect( dbGuestBookRef,
"SELECT FirstName, LastName FROM Person
WHERE FirstName < K¹ ORDER BY "FirstName", kClient, kReadWrite);
if ( valIsValidCursor( CursorRef )=true ) then
//successfully locked all records
else
//could not lock all records
end if;
Is this the best/only way to test if the cursor was successful in
locking the records in V4WS?
Steven
More information about the Valentina
mailing list