Re: recordset dynamic properties
- From: "Stephen Howe" <stephenPOINThoweATtns-globalPOINTcom>
- Date: Tue, 25 Apr 2006 16:28:59 +0100
anybody can tell me how to set a recordset's dynamic properties before
opening the recordset with c++.
Some of those properties don't exist before you open the Recordset.
At the point of opening, some properties are appended.
So if they do not exist, how can you change them?
As I notice there aren't any propertiesopened
available in the collection before I open the recordset, and after I
it they are readonly.
Yes. The MSDN mentions that certain properties become ReadOnly after a
successful Open.
I'm trying to set "Asynchronous Rowset Processing"start
property to DBPROPVAL_ASYNCH_INITIALIZE of a AS400 server to be able to
a complex query without freezing the connection....
Right. So have you tried the 5th parameter of Recordset Open() ?
You have tried adAsyncExecute, adAsyncFetch, adAsyncFetchNonBlocking ???
See here
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdmthrstopen.asp
and click on ExecuteOptionEnum
Stephen Howe
.
- Prev by Date: Re: how to retrieve [RecordsAffected] count from cmd.Excecute in V
- Next by Date: Re: Detect if maxrecord attribut works
- Previous by thread: ADO270.CHM help file
- Next by thread: Joins with Multiple Database Files
- Index(es):
Relevant Pages
|
Loading