Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #10359

bBRowser 4.0 runtime error

From "Jamal" <noooospam@example.com>
Newsgroups comp.lang.clipper.visual-objects
Subject bBRowser 4.0 runtime error
Date 2017-03-29 13:59 -0400
Organization albasani.net
Message-ID <obgsmf$9ib$1@news.albasani.net> (permalink)

Show all headers | View raw


A client of mine has Error Code:  46 [  ] which I have never seen before 
after sitting idle for sometime on a window which has two bBrowsers.
I have a 
SELF:oDCbBrowser1:Server:SetSelectiveRelation(SELF:oDCbBrowser2:Server,#KEYID)
The dbServers are DBF using DBFCDX driver running on a local area network.

Translating the source code comments from German, it seems it has to do 
child servers.

What could be the cause of the issue? Do you think this network related?

Error and source code:

Visual Objects (Version 2.8. Build 3.2838), Version 2.8 SP4b

Error message:
--------------
Error Code:  46 [  ]
Error Subcode: 64
CallStack:
BBROWSER:RECORDSAVE (Line:24)
BBROWSER:STABILIZESERVER (Line:23)
BBROWSER:STABILIZESERVER (Line:47)
BBROWSER:AUTOREFRESH (Line:69)
BBROWSER:EVENTHANDLER (Line:781)

Error Object created:
--------------------
SubSystem       :
SubCode         :64
GenCode         :
OsCode          :0
ArgType         :NIL
FuncPtr         :0x00000000
ArgNum          :0
FuncSym         :
Severity        :2
CanDefault      :.F.
CanRetry        :.F.
CanSubstitute   :.F.
Operation       :
Description     :
FileName        :
Tries           :0
FileHandle      :0
SubCodeText     :
Arg             :
ArgTypeReq      :NIL
MaxSize         :0
SubstituteType  :NIL
CallFuncSym     :


method RecordSave() as array pascal class bBrowser
    // 
======================================================================================
    // Beschreibung:    Datensatz im Server sichern.
    //
    // Historie:        24.01.2000    JB    Methode implementiert.
    //                     10.10.2007    JB    Sichern des BoF- und 
EoF-Status.
    // 
======================================================================================
    local uRecord            as array
    local aoChild            as array
    local iPos, iSize        as dword

    // Datensatz im Server sichern
    if _And(self:iFlags, BF_SERVERRECORDSAVE)>0
        uRecord := self:oServer:RecordSave()
    else
        // RecNo, BoF- und EoF-Status sichern
        uRecord := {{self:oServer:RecNo, self:oServer:BoF, 
self:oServer:EoF}}

        // Kind-Server sichern
        if _And(self:iFlags, BF_SERVERCHILDREN)>0
            aoChild := self:oServer:Children
            iSize := ALen(aoChild)
            for iPos:=1 upto iSize
                AAdd(uRecord, {aoChild[iPos], aoChild[iPos]:RecNo, 
aoChild[iPos]:BoF, aoChild[iPos]:EoF})    // *** ERROR  HERE - LINE 24 ****
            next
        endif
    endif
    return uRecord


Jamal 

Back to comp.lang.clipper.visual-objects | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

bBRowser 4.0 runtime error "Jamal" <noooospam@example.com> - 2017-03-29 13:59 -0400
  Re: bBRowser 4.0 runtime error D.J.W. van Kooten <vankooten@removethis.ic2.com> - 2017-03-30 12:10 +0200
    Re: bBRowser 4.0 runtime error "Jamal" <noooospam@example.com> - 2017-03-30 11:47 -0400
      Re: bBRowser 4.0 runtime error "Karl-Heinz" <invalid@invalid.invalid> - 2017-03-31 17:29 +0200
        Re: bBRowser 4.0 runtime error "Jamal" <noooospam@example.com> - 2017-03-31 11:56 -0400
  Re: bBRowser 4.0 runtime error "Karl-Heinz" <invalid@invalid.invalid> - 2017-03-30 14:15 +0200
    Re: bBRowser 4.0 runtime error "Jamal" <noooospam@example.com> - 2017-03-30 11:27 -0400
    Re: bBRowser 4.0 runtime error "Gerhard Bunzel" <g.bunzel@domonet.de> - 2017-04-02 21:22 +0200
      Re: bBRowser 4.0 runtime error "Jamal" <noooospam@example.com> - 2017-04-04 23:51 -0400

csiph-web