Post-problems with TQuery 
Author Message
 Post-problems with TQuery

Configuration: Delphi5 --> Session-->Native driver --> Oracal SQL-Server

Hi people,

I've a TQuery-Componente with CachedUpdates=false and a form for editing.
When I edit a field (f.eg. with a TDBEdit) I can post it with the
TDBNavigator-Buttons. Then I don't change the cursor-position and I'm
editing a second time the same record, but when I'm posting it the second
time I get an error that another user has locked this record.
I found a solution, but it is not a good one. My solution is to change the
cursor-position after the first posting and then return to the record. This
is only possible with the TDBNavigator. The methods Prior or Next do not
work.

Has someone a better solution for me?

Thanks for help
Niels



Wed, 18 Jun 1902 08:00:00 GMT
 
 [ 1 post ] 

 Relevant Pages 

1. Problem with TQuery.Post w/RequestLive = True in Transaction

2. Delphi 3 : TQuery insert/post

3. SQL Travel Timetables repost [post post post apology etc]

4. Travel Timetables repost [post post post apology etc]

5. TQuery from TQuery ??

6. Using TQuery in a TQuery??

7. TQuery on TQuery result set??

8. How to pass parameter to TQuery and retrieve value from TQuery

9. Using TQuery in a TQuery?

10. TQuery in TQuery

11. Using Tquery results as input for an next TQuery

12. Result sets of a TQuery feed into another TQuery


 
Powered by phpBB® Forum Software