Guest_imported
New member
- Jan 1, 1970
- 0
Hi,
I am passing a long string from Vb to this stored proc ..
defn:
Create Or Replace Procedure saveTaxFormInDB(intFormUID IN number,
intCLUID IN number,
PDFdata IN varchar2,
Status IN OUT Varchar2) AS
...
Problem lies with the string pdfdata. I am sending it from VB as:
Set cmdParamStr = cmdAdoCmd.CreateParameter("Data", adVarChar,
adParamInput, 32767, strData)
I have checked the parameters in VB while sending and I have the
correct string argument to be passed to "PDFData", But i am not
sure if it is getting the value correctly.
Because I know that the code is raising exception while
accessing PDFData. (eg. in places like insert ..(pdfdata) and
length(pdfdata)...)
Please advise how i can solve this problem.
Please Note that the string is not VERY large. This string I am passing has a length of around 5000 (by len(PDFdata)) . Please advise what data type to use in both sides.
Many thanks
I am passing a long string from Vb to this stored proc ..
defn:
Create Or Replace Procedure saveTaxFormInDB(intFormUID IN number,
intCLUID IN number,
PDFdata IN varchar2,
Status IN OUT Varchar2) AS
...
Problem lies with the string pdfdata. I am sending it from VB as:
Set cmdParamStr = cmdAdoCmd.CreateParameter("Data", adVarChar,
adParamInput, 32767, strData)
I have checked the parameters in VB while sending and I have the
correct string argument to be passed to "PDFData", But i am not
sure if it is getting the value correctly.
Because I know that the code is raising exception while
accessing PDFData. (eg. in places like insert ..(pdfdata) and
length(pdfdata)...)
Please advise how i can solve this problem.
Please Note that the string is not VERY large. This string I am passing has a length of around 5000 (by len(PDFdata)) . Please advise what data type to use in both sides.
Many thanks