C++ ADO RecordSet CacheSize: how set "Maximum Open Rows"? -


i'm trying prevent out-of-memory crash, ideally without having add scheme paging results. following msdn article discusses use of "maximum open rows" property in conjunction cachesize setting throttle data returned query:

https://msdn.microsoft.com/en-us/library/windows/desktop/ms678354(v=vs.85).aspx

sounds promising, reference can find, no c++ examples, , no luck coming syntax compiler accept. it's documented member of properties collection, i'd expect write recordset->properties["maximum open rows"] = 1000 or perhaps recordset->putmaximumopenrows(1000), no dice, , intellisense offers nothing. can out there shed light?

check out page in msdn doc: https://msdn.microsoft.com/en-us/library/windows/desktop/ms675103%28v=vs.85%29.aspx

it suggests like:

recordset->properties->item["maximum open rows"]->value = value;


Comments

Popular posts from this blog

java - Spring Data JPA: Why findOne(id) executing delete query internally? -

python - Mongodb How to add addtional information when aggregating? -

java - Incorrect order of records in M-M relationship in hibernate -