Forum Moderators: open
This is only running on IE 6.0 so I am using:
var cndb = new ActiveXObject( "adodb.connection" );
var rs = new ActiveXObject( "ADODB.Recordset" );
The actual command I am using to open the record set is:
rs.Open( local_sql, get_info.connection, 0, 1, 0x10 );
According to msdn [msdn2.microsoft.com], this should be correct for what I want ( 0x10 specifying asynchronous). However, how do I detect when it is done, or specify a function to call when completed? I can't seem to find this anywhere, and all the google searches I've tried have brought up only VB script.
Any help would be muchly appreciated, thanks.
[edited by: Greven at 4:33 am (utc) on June 22, 2007]
FetchComplete event. To use this, I'm guessing that you won't be able to use ActiveXObject to create the Recordset. The method doesn't provide an argument for an identifier. Need to use the createObject method (or use an <object> element in HTML/HTA/WSF). rocknbil is right to suggest popping over to the other forum for this, where they know their ADO. They may force you to use an evil, curly bracketless language though.