Error xBrowse v1203 AdoIncrSeek

Error xBrowse v1203 AdoIncrSeek

Postby Rick Lipkin » Fri Oct 19, 2012 2:50 pm

Antonio .. Rao

Please check your latest xBrowse code .. I accidently ran across this when I was using the incremental seek on a numeric field and got this strange error ..
Application
===========
Path and name: C:\Fox\Sa\Saw32.Exe (32 bits)
Size: 4,000,256 bytes
Compiler version: xHarbour build 1.2.1 Intl. (SimpLex) (Rev. 9444)
FiveWin Version: FWHX 12.03
Windows version: 5.1, Build 2600 Service Pack 3

Time from start: 0 hours 0 mins 47 secs
Error occurred at: 10/19/2012, 10:53:09
Error description: Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: FIND
Args:
[ 1] = C STRING( SALARY ) LIKE '*j*'
[ 2] = N 0
[ 3] = N 1
[ 4] = N 1

Stack Calls
===========
Called from: => TOLEAUTO:FIND( 0 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:ADOINCRSEEK( 4860 )
Called from: .\source\classes\XBROWSE.PRG => (b)TXBROWSE:SETADO( 4310 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:SEEK( 6043 )
Called from: .\source\classes\XBROWSE.PRG => TXBROWSE:KEYCHAR( 2311 )


Notice around the line mentioned above this xBrowse code :
Code: Select all  Expand view

 case cType == 'N'
         cExpr    := cCol + " >= " + ;
                     LTrim( Str( Val( uSeek ) ) )

            cExpr    := "STRING( SALARY ) LIKE '*" + uSeek + "*'"
 


Rick Lipkin
User avatar
Rick Lipkin
 
Posts: 2665
Joined: Fri Oct 07, 2005 1:50 pm
Location: Columbia, South Carolina USA

Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 85 guests