Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trouble with ADO 2.7 Recordset
Message
 
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00651650
Message ID:
00651692
Views:
17
>I'm trying to open a recordset with no records.
>
>
>loRecordSet.Open(,,,,ADEXECUTENORECORDS)
>
>
>I keep getting the following error :
>
>OLE IDispatch exception code 0 from ADODB.Recordset :
>Arguments are of the wrong type, are out of acceptable
>range, or are in conflict with one another...
>
>

You cannot use it with RecordSet Open method because "adExecuteNoRecords can only be passed as an optional parameter to the Command or Connection Execute method". See http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ado270/htm/mdcstexecuteoptionenum.asp
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform