FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour xBrowse 11.1 error
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
xBrowse 11.1 error
Posted: Mon Mar 21, 2011 10:16 AM

Dear All,

I'm using TREE to browse... With FWH 10.6 this doesn't appear bu with FWH11.1 it does.

What cause this xBrowse error?

"BOUND ERROR: ARRAY ACCESS"

Line# 503
METHOD ColAtPos( nPos ) INLINE ::aCols[ ::aDisplay[ MinMax( If( nPos == nil .or. nPos == 0, 1, nPos ), 1, Len( ::aDisplay ) ) ] ]

Kind regards,

Frances

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: xBrowse 11.1 error
Posted: Wed Mar 23, 2011 12:30 AM

Dear All,

No one experienced this yet?

Kind Regards,
Frances

Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 10733
Joined: Sun Nov 19, 2006 05:22 AM
Re: xBrowse 11.1 error
Posted: Wed Mar 23, 2011 06:40 AM

Surprising.
I am unable to comment unless I can see a sample that can reproduce the error.

Regards



G. N. Rao.

Hyderabad, India
Posts: 811
Joined: Tue May 06, 2008 04:28 AM
Re: xBrowse 11.1 error
Posted: Wed Mar 23, 2011 08:35 AM
nageswaragunupudi wrote:Surprising.
I am unable to comment unless I can see a sample that can reproduce the error.


Dear Mr. RAO,

I am using same code running in FWH 10.6 no changes but this error pops randomly..


Kind Regards,
Frances
Kind Regards,

Frances



Fivewin for xHarbour v18.07

xHarbour v1.2.3.x

BCC 7.3 + PellesC8 ( Resource Compiler only)

ADS 10.1 / MariaDB

Crystal Reports 8.5/9.23 DE

xMate v1.15
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Re: xBrowse 11.1 error
Posted: Wed Mar 23, 2011 02:28 PM

Frances,

It appears that the error is happening when there are no records in the tree (aDisplay is empty). Rao stated in another message thread that the tree does not support empty databases at this time.

If it did not error before, then I suggest doing a file compare of the two versions to see if you can find the code that has been changed. This might help find a solution.

You could also build a test program by attempting to create a tree with no records. This should trigger the error.

Regards,
James

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion