QueryAllRecords default

nicofari

Member²
Don't you think that the default value of
TOracleDataset.QueryAllRecords should be false?
I got recently a performance problem due to
this. I was thinking that TOracleDataset NEVER
fetches any data automatically and then I
discovered I was wrong....
True as a default seems to me very dangerous..
am I wrong?

Bye
 
That is true, but the TOracleDataSet assumes that you are interested in all records that you are querying, and not just the first. In a situation where the end user can supply the query criteria (for example through QBE), this is indeed not a good default.
 
Back
Top