I am in the process of creating a user defined form that allows the user to pick and choose fields that they want to see on the form. My problem is when I add TDBLookupComboBox's. I am trying to populate the listsource value from the results of a query. The query returns the needed values to populate the listsource, listfield and keyfield. The error I get is Incompatible type Tdatasource and String. I have tried .listsource := TDataSource(DMF4.IntakeTemplateQListSource.value) but it returns nil. If anyone has a suggestion, THANKS in advance.