Home > Archive > Sybase ODBC > August 2005 > Re: A Stored proc returns [Native Print code: 0] [DataDirect ADO Sybase Provider] in VB6.0 Err coll









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: A Stored proc returns [Native Print code: 0] [DataDirect ADO Sybase Provider] in VB6.0 Err coll
Rajeev SN

2005-08-25, 8:23 pm

Also, The stored proc seems to work perfeclty when executed
outside the VB6 environment , using RapidSQL, but gives this
error only within VB6.0.


> VB6.0 on a Win2K machine using Sybase.ASEOLEDBProvider.2
> ODBC connects to Sybase 12.5.3
>
> After successfully connecting to the database , one
> stored proc in particular returns an ERROR count=1 , in
> the err collection in VB6.0 immediately after executing,
> as follows up....
> Err.Description =[Native Print code: 0] [DataDirect ADO
> Sybase Provider]
> Err.Number = 0
>
> Can anyone please explain wot's going on?!
>
> FYI, Addtional Connection string entries as follows...
> Data Source="";Extended
> Properties=" ;InitializationStrin
g=set ansinull off"
> ;Network Protocol=Winsock;HA Server Name="";HA Server Port
> Address="";Character Set="";Language="";Application
> Name="";Optimize Prepare=Partial;Sele
ct Method=Direct
> ;Raise Error Behavior=MS Compatible;Print Statement
> Behavior=Warnings Only;Extended ErrorInfo=FALSE;Stor
ed
> Proc Row Count=Last Statement Only;WorkStation ID="";Row
> Cache Size=50;Enable Quoted Identifiers=0;Packet
Size=1
> ;Default Length For Long Data=1024

Sponsored Links





Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive | Programming forum archive

Copyright 2008 droptable.com