commandType properties

Results 1 to 2 of 2

Thread: commandType properties

  1. #1
    Join Date
    Dec 1969

    Default commandType properties

    Hey there..<BR>If executing an ADO command, how do I specify the type of command and not to return records.<BR><BR>If I try<BR>objCmd.commandType= adCmdText + adExecuteNoRecord<BR>or anything similar (for example using AND or OR instead of the +) I get this error message:<BR><BR>ADODB.Command error &#039;800a0bb9&#039; <BR>Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.<BR><BR>The command that I happen to be performing is an SQL UPDATE in this case; something that by its nature can&#039;t return a recordset.<BR>Thanks in advance..

  2. #2
    Join Date
    Dec 1969

    Default RE: commandType properties

    you *do* have included, right? I mean, that looks fine to me.<BR><BR>i usually use a stright execute<BR><BR>objConn.execute(strSQL, null, adExecuteNoRecords);<BR><BR><BR>j

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts