Page 1 of 1

Multirow Browsing

Posted: Tue Jan 22, 2013 6:53 pm
by Andy Edward
Hi Roger,

I'm facing an error

Code: Select all

Date        : 23/01/2013
Time        : 09:41:00
Procedure   : _BLOCK2STRING
Line Number : 1245
Information : Error BASE/1025
Description : Parameter has a wrong data type
Operation : EVAL
Thread ID : 3
Source      : 
Called from : (B)INIT: _DCINIT(28)
Called from : _BLOCK2STRING(1245)
Called from : XBPCOLUMN:CREATE(285)
Called from : XBPCOLUMN:CONFIGURE(450)
Called from : DC_XBPCOLUMN:INIT(2439)
Called from : DC_GETLIST:READGUI(2429)
Called from : DC_READGUI(108)
Called from : DRAWCHART(656)
Called from : (B)MAIN(0)
These are my column definitions:

Code: Select all

DCBROWSECOL DATA { {|| xDATA->ACNO}, {|| xDATA->DESC}} ;
            HEADER 'A/C CODE;DESCRIPTION' WIDTH 15;
            EVAL bRightClick;
            TOOLTIP 'Right Click to show Bar Chart'
I have seen the topic http://bb.donnay-software.com:8080/phpb ... ?f=2&t=875 and tried to use the dclipx.dll that you suggested, but I'm still facing the same error. any ideas?

Best Regards,

Andy

Re: Multirow Browsing

Posted: Wed Jan 23, 2013 5:41 am
by Tom
What is inside "bRightClick"?

Re: Multirow Browsing

Posted: Wed Jan 23, 2013 8:21 pm
by Andy Edward
Hi Tom,

Code: Select all

bRightClick := {|o|o:dataArea:rbDown := ;
DC_MergeBlocks(o:dataArea:rbDown,{|x,y,z| SALESGRAPH(),oBrowse:refreshAll(),DC_GETREFRESH(GETLIST) })}
Best Regards,

Andy

Re: Multirow Browsing

Posted: Wed Jan 23, 2013 8:53 pm
by rdonnay
Does the MULTIROW sample work in \exp19\samples\browse ?

Pbuild MULTIROW

Then run multirow.exe

Re: Multirow Browsing

Posted: Thu Jan 24, 2013 8:43 pm
by Andy Edward
It doesn't work.

here is the log from xpperror.log
------------------------------------------------------------------------------
ERROR LOG of "C:\EXP19\Samples\Browse\MULTIROW.EXE" Date: 01/25/2013 11:33:15

Xbase++ version : Xbase++ (R) Version 1.90.331
Operating system : Windows XP 05.01 Build 02600 Service Pack 3
------------------------------------------------------------------------------
oError:args :
-> VALTYPE: U VALUE: NIL
oError:canDefault : N
oError:canRetry : N
oError:canSubstitute: Y
oError:cargo : NIL
oError:description : Parameter has a wrong data type
oError:filename :
oError:genCode : 2
oError:operation : eval
oError:osCode : 0
oError:severity : 2
oError:subCode : 1025
oError:subSystem : BASE
oError:thread : 1
oError:tries : 0
------------------------------------------------------------------------------
CALLSTACK:
------------------------------------------------------------------------------
Called from _BLOCK2STRING(1245)
Called from XBPCOLUMN:CREATE(285)
Called from XBPCOLUMN:CONFIGURE(450)
Called from DC_XBPCOLUMN:INIT(2439)
Called from DC_GETLIST:READGUI(2429)
Called from DC_READGUI(108)
Called from MAIN(131)
Any other ideas?

Best Regards,

Andy

Re: Multirow Browsing

Posted: Fri Jan 25, 2013 8:54 am
by rdonnay
It appears that you are running build 257.
That was a known bug that was fixed in build 258.
Send me a private email and I will send you download instructions.

Re: Multirow Browsing

Posted: Tue Jan 29, 2013 7:56 pm
by Andy Edward
Hi Roger,

The 258 build solved the issue. Thank you.

Best Regards,

Andy