xBrowse 11.1 error

xBrowse 11.1 error

Postby fraxzi » 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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: xBrowse 11.1 error

Postby fraxzi » 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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: xBrowse 11.1 error

Postby nageswaragunupudi » Wed Mar 23, 2011 6: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
User avatar
nageswaragunupudi
 
Posts: 10631
Joined: Sun Nov 19, 2006 5:22 am
Location: India

Re: xBrowse 11.1 error

Postby fraxzi » Wed Mar 23, 2011 8: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
User avatar
fraxzi
 
Posts: 811
Joined: Tue May 06, 2008 4:28 am
Location: Philippines

Re: xBrowse 11.1 error

Postby James Bott » Wed Mar 23, 2011 2: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
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 83 guests