Icon View Incident Report

Minor Minor
Reported By: Ian Branch
Reported On: 11/13/2004
For: Version 4.14 Build 1
# 1901 Manual Examples for FindKey, FindNearest, GotoKey, and GotoNearest Incorrect

I have the following code in accordance with the DBISAM Help, where DT1 is the DBISAMTable. When I compile I get the following error message..

"[C++ Error] CSEUnit1.cpp(31): E2034 Cannot convert 'TVarRec' to const TVarRec *'"

with the cursor sitting after DT1->FindKey(SearchValue).

   DT1->Active = True;
   DT1->IndexName = "ID";  // ID is a SmallInt field.
   TVarRec SearchValue=(StrToInt(ParamStr(1)));
   DT1->FindKey(SearchValue);



Comments Comments and Workarounds
The manual should have said:

DT1->FindKey(&SearchValue);


Resolution Resolution
Fixed Problem on 11/13/2004 in version 4.15 build 1
Image