![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
But it doesn't seem to work if I call the stored procedure from a vb-application. Which parameter settings do I need to use? |
#3
| |||
| |||
|
|
Hi Kevin, Please post the build and version you're using (e.g. dbsrv11 -v). Please post your existing code and describe the behaviour you're currently observing. Once we have those details, we will hopefully be able to point you in the right direction. Regards, On 1/11/2010 8:38 AM, Kevin Saegerman wrote: But it doesn't seem to work if I call the stored procedure from a vb-application. Which parameter settings do I need to use? -- Jeff Albion, Sybase iAnywhere iAnywhere Developer Community : http://www.sybase.com/developer/libr...ere-techcorner iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals SQL Anywhere Patches and EBFs : http://downloads.sybase.com/swd/summ...&timeframe =0 Report a Bug/Open a Case : http://case-express.sybase.com/cx/ |
#4
| |||
| |||
|
|
So this works from Sybase Central, but it doesn't work if I call it from somewhere else, for example vb-application or report. |
#5
| |||
| |||
|
|
Kevin, Can you please post the VB code you're trying? I understand the MESSAGE statement you're using - how are you executing it in VB? Regards, On 1/11/2010 10:25 AM, Kevin Saegerman wrote: So this works from Sybase Central, but it doesn't work if I call it from somewhere else, for example vb-application or report. -- Jeff Albion, Sybase iAnywhere iAnywhere Developer Community : http://www.sybase.com/developer/libr...ere-techcorner iAnywhere Documentation : http://www.ianywhere.com/developer/product_manuals SQL Anywhere Patches and EBFs : http://downloads.sybase.com/swd/summ...&timeframe =0 Report a Bug/Open a Case : http://case-express.sybase.com/cx/ |
#6
| |||
| |||
|
|
cmdproc.CommandType = adCmdStoredProc |
|
cmdproc.CommandType = adCmdStoredProc cmdproc.CommandText = UCase(strProcedureName) Dim rsExcel As New ADODB.Recordset Set rsExcel = cmdproc.Execute(100, arrCRParams, adAsyncFetch) |
![]() |
| Thread Tools | |
| Display Modes | |
| |