DZone Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world
Using Dataset ADO In Delphi
Usage example of TADODataset
function TfrmCreateEdit.CheckForAvailability(dbName: TADODataSet ; tblName: string ; Resource: string) : boolean;
begin
with dbName do begin
close;
CommandText := 'SELECT * FROM Customers';
memoDebug.Text := CommandText;
try
open;
finally
end;
end;
end;




