From: Rosario.Soft on
Hi All,

I'm using VO 2740, SQL Express 2005, Vo2Ado and bBrowser 2.
In my application I have several browsers that uses AdoServer. All
browsers are created as follows:

Method Use() Class SearchDisk

LOCAL cCmd AS STRING

cCmd := "select * from dbo.Cias order by Name"

// odbsServer is a PROTECT of the windows class

odbsServer := AdoServer{cCmd ,oConn,adOpenKeyset ,
adLockOptimistic,adCmdText}

IF odbsServer<>NULL_OBJECT .and. odbsServer:Used

SELF:oDCBrowser:Use(odbsServer, {#Name})

endif



I get a 5333 error (see below) in line
"SELF:oDCBrowser:Use(odbsServer, {#Name})" but not very frequently,
only sometimes.


Do I need to do any other checking, apart from what I actually do,
before assign the adoserver to bbrowse? Any ideas?

Thanks in advance

Gustavo


Error message:
--------------
Error Code: 50 [ ]
Subsystem: VO-CODE
Error Subcode: 5333
Function:
Argument Number: 2
CallStack:
BBROWSER:RESIZEBUFFER (Line: 0)
BBROWSER:FILLBUFFER (Line: 0)
BBROWSER:OPENCOLUMN (Line: 0)
BBROWSER:USE (Line: 86)
SEARCHDISK:USE (Line: 25)

Error Object created:
--------------------
SubSystem :VO-CODE
SubCode :5333
GenCode :
ExceptionCode :C0000005
ExceptionFlags :00000000
ExceptionAddress:10055438
ParamNumber :2
ExceptionInfo :00000001
Severity :2
CanDefault :.F.
CanRetry :.F.
CanSubstitute :.F.
Operation :
Description :
FileName :
Tries :0
FileHandle :0
SubCodeText :
Arg :
ArgTypeReq :NIL
MaxSize :0
SubstituteType :NIL
CallFuncSym :

From: Geoff Schaller on
'name' can be difficult in VO. Try to use an alias for that column and
see if it solves yourproblem.

Geoff



"Rosario.Soft(a)gmail.com" <Rosario.Soft(a)gmail.com> wrote in message
news:1188331840.174606.310860(a)57g2000hsv.googlegroups.com:

> Hi All,
>
> I'm using VO 2740, SQL Express 2005, Vo2Ado and bBrowser 2.
> In my application I have several browsers that uses AdoServer. All
> browsers are created as follows:
>
> Method Use() Class SearchDisk
>
> LOCAL cCmd AS STRING
>
> cCmd := "select * from dbo.Cias order by Name"
>
> // odbsServer is a PROTECT of the windows class
>
> odbsServer := AdoServer{cCmd ,oConn,adOpenKeyset ,
> adLockOptimistic,adCmdText}
>
> IF odbsServer<>NULL_OBJECT .and. odbsServer:Used
>
> SELF:oDCBrowser:Use(odbsServer, {#Name})
>
> endif
>
>
>
> I get a 5333 error (see below) in line
> "SELF:oDCBrowser:Use(odbsServer, {#Name})" but not very frequently,
> only sometimes.
>
>
> Do I need to do any other checking, apart from what I actually do,
> before assign the adoserver to bbrowse? Any ideas?
>
> Thanks in advance
>
> Gustavo
>
>
> Error message:
> --------------
> Error Code: 50 [ ]
> Subsystem: VO-CODE
> Error Subcode: 5333
> Function:
> Argument Number: 2
> CallStack:
> BBROWSER:RESIZEBUFFER (Line: 0)
> BBROWSER:FILLBUFFER (Line: 0)
> BBROWSER:OPENCOLUMN (Line: 0)
> BBROWSER:USE (Line: 86)
> SEARCHDISK:USE (Line: 25)
>
> Error Object created:
> --------------------
> SubSystem :VO-CODE
> SubCode :5333
> GenCode :
> ExceptionCode :C0000005
> ExceptionFlags :00000000
> ExceptionAddress:10055438
> ParamNumber :2
> ExceptionInfo :00000001
> Severity :2
> CanDefault :.F.
> CanRetry :.F.
> CanSubstitute :.F.
> Operation :
> Description :
> FileName :
> Tries :0
> FileHandle :0
> SubCodeText :
> Arg :
> ArgTypeReq :NIL
> MaxSize :0
> SubstituteType :NIL
> CallFuncSym :