Tripple Master-Slave

altink

Member²
Hi

I have noted the following in DOA Master Slave Oracle Datasets

Condition: I have a tripple toracledataset master-slave relation. Tables A B C where
C slave to B and B slave to A.

Problem: When I close the connection of my only toraclesession component by LogOf method or Connected:=false property I receive the following error "field 1 does not exist".

Happens:This is sometimes seen only in developing time, but it happens even in deployed PC, gets reported as Unknown Event with no description in Event Viewer and sometimes when caught as run Time Error from Windows can even damage the project.exe itself. It doesn't comes everytime but still very frequently.

It looks likes this is caused because some master toracledataset is closed before its slave. In dual Master-Slaves this does not happen.

My Solution: For the moment I close C and B and A before I close the form so that they are not touched by the toraclesession.logof action at all.

Anyone can give an idea on this ?

regards
Altin
 
It doesn't comes out every time, I cannot say that I can reproduce it any time I want. But it is frequent. And I have seen the same project outputing this in two different PC and also in two parts of my project where the tripple master-datail application is used on the same 3 ABC tables, so I don't think it may be a casual problem. As for the demo, it is part of a whole software whose confidentiality I am bound to preserve, but if you do insist I will try to cut the project and give you what you want, database and application of the problematic part.

regards
Altin
 
Back
Top