xBrowse error on ADS (SOLVED!)
Posted: Fri Aug 31, 2018 9:17 am
Hi Fivewin experts,
I encountered an error using xBrowse with ADS and I am unable to find any solution, hope someone could help me solve the issue. I am having this error:
Error occurred at: 08/31/2018, 17:00:05
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: LDRAG
Args:
[ 1] = N -12
Stack Calls
===========
Called from: => LDRAG( 0 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETRDD( 4959 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE( 503 )
Called from: => TXBROWSE:SKIP( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CALCROWSELPOS( 1697 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:REFRESH( 1664 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE( 535 )
Called from: => TXBROWSE:RESIZE( 0 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 14651 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
Called from: => WNDWIDTH( 0 )
Called from: .\source\classes\CONTROL.PRG => (b)TCONTROL:TCONTROL( 179 )
Called from: => TXBROWSE:_NWIDTH( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:BRWFITSIZE( 1264 )
Called from: .\source\function\XBROWSER.PRG => FITSIZES( 302 )
Called from: .\source\function\XBROWSER.PRG => (b)XBROWSE( 272 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 714 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 906 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: .\source\function\XBROWSER.PRG => XBROWSE( 272 )
Called from: Source\mainapp.prg => BUILDDIALOG( 184 )
Called from: Source\mainapp.prg => (b)MAINAPP:BROWSEMASTER( 169 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1023 )
Called from: .\source\classes\MDICHILD.PRG => TMDICHILD:ACTIVATE( 262 )
Called from: Source\mainapp.prg => MAINAPP:BROWSEMASTER( 169 )
Called from: Source\mainapp.prg => (b)MAINAPP:NEW( 35 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 683 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 919 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1868 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1037 )
Called from: Source\mainapp.prg => MAINAPP:ACTIVATE( 78 )
Called from: Source\main.prg => MAIN( 20 )
link to screenshot image: https://file.io/tue77U
This happened when issuing the command:
cAlias := oConn:aAlias[MasterDB]
DBSelectArea( cAlias )
xBrowse( cAlias )
I can confirm that the table is not empty by using the lastrec() function, I tested xbrowse using arrays and it seems to work fine. I am using FWH1706 + xHarbour 1.2.3 (Simplex) (Build 20161218) + bcc 7.0
Thanks a lot and more power!
ryugarai27
I encountered an error using xBrowse with ADS and I am unable to find any solution, hope someone could help me solve the issue. I am having this error:
Error occurred at: 08/31/2018, 17:00:05
Error description: Error BASE/1004 Class: 'NUMERIC' has no exported method: LDRAG
Args:
[ 1] = N -12
Stack Calls
===========
Called from: => LDRAG( 0 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETRDD( 4959 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE( 503 )
Called from: => TXBROWSE:SKIP( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:CALCROWSELPOS( 1697 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:REFRESH( 1664 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:TXBROWSE( 535 )
Called from: => TXBROWSE:RESIZE( 0 )
Called from: => TWINDOW:HANDLEEVENT( 0 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1731 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:HANDLEEVENT( 14651 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
Called from: => WNDWIDTH( 0 )
Called from: .\source\classes\CONTROL.PRG => (b)TCONTROL:TCONTROL( 179 )
Called from: => TXBROWSE:_NWIDTH( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:BRWFITSIZE( 1264 )
Called from: .\source\function\XBROWSER.PRG => FITSIZES( 302 )
Called from: .\source\function\XBROWSER.PRG => (b)XBROWSE( 272 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:INITIATE( 714 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:HANDLEEVENT( 906 )
Called from: => DIALOGBOXINDIRECT( 0 )
Called from: .\source\classes\DIALOG.PRG => TDIALOG:ACTIVATE( 296 )
Called from: .\source\function\XBROWSER.PRG => XBROWSE( 272 )
Called from: Source\mainapp.prg => BUILDDIALOG( 184 )
Called from: Source\mainapp.prg => (b)MAINAPP:BROWSEMASTER( 169 )
Called from: .\source\classes\WINDOW.PRG => TWINDOW:ACTIVATE( 1023 )
Called from: .\source\classes\MDICHILD.PRG => TMDICHILD:ACTIVATE( 262 )
Called from: Source\mainapp.prg => MAINAPP:BROWSEMASTER( 169 )
Called from: Source\mainapp.prg => (b)MAINAPP:NEW( 35 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 683 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 919 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1721 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 1868 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3337 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1037 )
Called from: Source\mainapp.prg => MAINAPP:ACTIVATE( 78 )
Called from: Source\main.prg => MAIN( 20 )
link to screenshot image: https://file.io/tue77U
This happened when issuing the command:
cAlias := oConn:aAlias[MasterDB]
DBSelectArea( cAlias )
xBrowse( cAlias )
I can confirm that the table is not empty by using the lastrec() function, I tested xbrowse using arrays and it seems to work fine. I am using FWH1706 + xHarbour 1.2.3 (Simplex) (Build 20161218) + bcc 7.0
Thanks a lot and more power!
ryugarai27