ADO Command Parameter Not Passing to Stored Procedure or Stored Procedure 'Ignoring' Parameter

后端 未结 3 1724
醉话见心
醉话见心 2021-01-19 16:48

Update 4

Updated the whole question to reflect my changes. Still Not Working.

This has been annoying me for two days now. I\'m updating an old ordering int

3条回答
  •  既然无缘
    2021-01-19 17:51

    Try it with

    objCmd.Parameters.Append objCmd.CreateParameter("@SearchQuery", adVarChar, adParamInput, 15, "'PalletCode'")
    

    Notice that "'PalletCode'" has an additional set of single quotes inside of it.

提交回复
热议问题