Главная страница | назад





Article #22586: Activating the clientdataset closes the query.

QUESTION:

Why does my query close when I activate my clientdataset component?

ANSWER:

This is normal behavior in Delphi 5. When the clientdataset is activated and it is reading it's data from a query, the client dataset will close the query after it is done reading in the data. This is different from Delphi 4 because Delphi 4 uses Midas 2 which is not stateless, and Delphi 5 uses Midas 3 which is stateless. So Midas applications written in Delphi 4 may need to be redesigned to adhere to the stateless aspect of Midas 3.

Last Modified: 31-JUL-00