I have a loop that scans a table, I need each row a string type variable to be incremented with the respective records.
Usage FDQuery
and FDConnection
.
Here's an idea of what I need
var linhas : string;
while not eof do
begin
linhas := linhas + FieldByName('nome').AsString + ', ';
end;
Result I need:
Mary, Mark, Ezekiel, ...