[Solved] Display database structure from Delphi (rad studio)

As already explained to you in comments, your while loop should look something like this: while **not** FData.FDQuery1.Eof do **begin** ShowMessage(FData.FDQuery1.Fields[0].ToString); **FData.FDQuery1.Next;** end; (minus the asterisks, of course). However, that would not overcome the problem that your SQL is incorrect. So, try this instead: In a new Delphi project, place a TFDConnection, TFDQuery, TDataSource, TDataSource … Read more