i'm not sure if i'm right here but i dont know where i could search for this problem... so maybe you can help me:
Code: Select all
tQryFindKey->SQL->Clear();
tQryFindKey->SQL->Add((AnsiString)"select keyword, id from keyword where upper(keyword) like upper(:Keyword)");
Code: Select all
DlgMain->tQryFindKey->ParamByName("Keyword")->AsString = "test";
DlgMain->tQryFindKey->SQL->Text;
DlgMain->tQryFindKey->Execute();
int tmp_Key = DlgMain->tQryFindKey->FieldByName("ID")->AsInteger;
when i'm using plsql developer i get an id and a keywordfield :/
maybe there's a known problem or something that i forgot (eg. the tables are prepared, do i need to close them after each execute() ?)
LG
oliver