>I have a sub-class that changes DataSession when a method is called.
>The method in the sub-class does not exist in the parent-class, but the method that calls it does exist in the parent-class.
>I don't instantiate the parent-class, just the sub-class. In the parent-class code I've tried specifically setting the DataSession to the one it's currently in, but when the sub-class code is called, the DataSession immediately changes to 1.
>The Object is initially instantiated in DataSession 1, but I change to the proper one before calling the sub-class code.
>This was originally working, but I was still improving it, and can't figure out what I could have done that caused it to quit working.
>
>TIA
The datasession the object runs in is always the one it was created in. If possible, try to instantiate the object in the correct datasession. If not, try to change its DataSessionID property. This is said to be readonly but I think people have been able to change it.
BOb
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only