Uniconnection.GetTableNames
Posted: Fri 23 Nov 2012 11:28
Hi All,
with this code, (radstudio 2007, Unidac 4.5.9), I have an Abstract Error on line UniConnection1.GetTableNames(alst);
Can you help me?
with this code, (radstudio 2007, Unidac 4.5.9), I have an Abstract Error on line UniConnection1.GetTableNames(alst);
Code: Select all
function TForm1.LeggiTabelle: boolean;
var aLst:TWideStrings;
begin
if(UniConnection1.Connected = true) then
begin
aLst:=TWideStrings.Create;
//aLst.Clear;
UniConnection1.GetTableNames(alst);
if(Assigned(aLst)) then
begin
if(aLst.Count > 0) then
showmessage('OK')
else
ShowMessage('KO');
end;
end
else
result:=false;
end;