Rao, All
Using FWh 2206 and I have created a recordset and getting this error displaying the recordset ..basic xbrowse 101 .... what is wrong ??
Rick Lipkin
cSQL := "SELECT * from Employees order by [Employee]"
oRsEmp := TOleAuto():New( "ADODB.Recordset" )
oRsEmp:CursorType := 1 // opendkeyset
oRsEmp:CursorLocation := 3 // local cache
oRsEmp:LockType := 3 // lockoportunistic
TRY
oRsEmp:Open( cSQL,xCONNECT )
CATCH oErr
MsgInfo( "Error in Opening EMPLOYEES table" )
RETURN(.F.)
END TRY
xbrowse( oRsEmp )
Time from start: 0 hours 0 mins 3 secs
Error occurred at: 03/01/2023, 17:02:48
Error description: Error ADODB.Recordset/6 DISP_E_UNKNOWNNAME: ISKINDOF
Args:
[ 1] = C TLINKLIST
Stack Calls
===========
Called from: => TOLEAUTO:ISKINDOF( 0 )
Called from: .\source\function\XBROWSER.PRG => XBROWSE( 101 )
Called from: EMPLBROW.PRG => _EMPLBROW( 100 )
Called from: MAIN.PRG => (b)MAIN( 739 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:CLICK( 792 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:LBUTTONUP( 1083 )
Called from: .\source\classes\CONTROL.PRG => TCONTROL:HANDLEEVENT( 1847 )
Called from: .\source\classes\BTNBMP.PRG => TBTNBMP:HANDLEEVENT( 2135 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3681 )
Called from: => WINRUN( 0 )
Called from: .\source\classes\WINDOW.PRG => TMDIFRAME:ACTIVATE( 1114 )
Called from: MAIN.PRG => MAIN( 782 )