example:
query1.SQL.Clear;
query1.SQL.Add('Select employee_code from employee_table');
query1.SQL.open;
while not(query1.eof) do
begin
{this is data which you read from the table}
--> query1.fieldbyname('employee_code').asstring;
end;
Hopefully my example can help you
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.