Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Remote View with Oracle: FOR UPDATE clause
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Remote View with Oracle: FOR UPDATE clause
Miscellaneous
Thread ID:
00145068
Message ID:
00145068
Views:
84
Hi to all,

I've create my remote view as

CREATE SQL VIEW myView REMOTE CONNECTION myConn SHARE AS SELECT * FROM myTable WHERE primaryKey = ?THISFORM.cPKey

and my form works fine, I can read the view and update the data by pass-through.

Now I've modified my view and I've add the FOR UPDATE clause at the end of command (this to lock the record that I read), but now I cannot open because I've this error:

ORA-1002:Fetch Out of sequence.

I've had the same problem for the SQLEXEC(lnConnHandle, 'SELECT ... FOR UPDATE', 'myCur'). To solve this problem I've put the Transaction property of the connection to 2 (Manually transaction) and now it works fine, but on the view the error already exist.

What can it be ?

TIA
Renato Bertuol (EMail:renato.bertuol@elmec.it
Homepage:www.geocities.com/SiliconValley/Horizon/3216)
Elmec Informatica (URL www.elmec.it)
Next
Reply
Map
View

Click here to load this message in the networking platform