안녕하세요.
델파이에서 빌더로 넘어온 녀석입니다.
요즘 델파이에서 작성했던 주소록을 빌더로 다시 하고 있는데요.
이게 델파이에서는 제대로 되던 검색이 요상한 에러가 뜨고 마네요.
데이터 타입 문제인것 같은데...... 생전 처음보던 에러라.....
그럼 소스를 좀 보낼게요.
void __fastcall TForm1::N6Click(TObject *Sender)
{
find->ActiveControl = find->Edit1;
find->ShowModal();
if (find->ModalResult == mrOk) {
Table1->FindKey(find->Edit1->Text);
Table1->GotoKey();
}
}
그리고 에러메시지는요.....
Cannot convert 'System::AnsiString'to'const System:: TVarRec'
Type mismatch in parameter 'KeyValues'in call to '_fastcall Dbtable::
FindKey(ocnst System:: TVarRec *_const int'
Too few parameters in call to '_fastcall Dbtables""TTable::FindKey
(const System::TVaRec *_const int'
요렇게 나오네요......
델파이에서는 잘 되던 소스인디......
그럼 박사님들의 많은 조언 부턱드려요.
|