I think you want:
Create a form in IDE but the TLabel and TDBEdit are created dynamically by Pascal logic (instead of using IDE to put these components in the form) based on the columns in a databae table?
If you want to do this, you need to know:
1. How to create components using the Pascal language (e.g. starts with TLabel.Create(self)).
2. Loop the TFields in an active TSqlQuery (or TDataset) to create TDBEdit.
3. Assuming your field display name is meaningful, you can use Field.DisplayName for the TLabel.Caption.
I don't not if there is any existing library with this function.