Datasource Question
Publicado: Mié Jul 26, 2006 10:18 pm
I have a application Window that contains a browse on a table. When I click
an "Edit" button (this is in my application) I want another dialog to appear
with the detailed edit fields for the highlighted browse line -- pretty
standard stuff. So far no problems. I've used some samples in the samples
folder that have greatly helped me understand how to get this far.
What I don't know how to do is assign a Global ADS Datasource that appears
in every child form I create. I put the field name in one of the TDBMaskEdit
(even tried TDBEdit) and nothing appears. I see the oDataSet property, but
everything I put in there disappears. I've tried creating a dummy
TAdsDataSource on the Form (child dialog) Components list and assigning the
global datasource ( the one I create at application start up that verifies
the data dictionary version and opens all the tables ) to that at the Form
Create event, but I cannot get the name to stay in the oDataSet property of
the edit field.
an "Edit" button (this is in my application) I want another dialog to appear
with the detailed edit fields for the highlighted browse line -- pretty
standard stuff. So far no problems. I've used some samples in the samples
folder that have greatly helped me understand how to get this far.
What I don't know how to do is assign a Global ADS Datasource that appears
in every child form I create. I put the field name in one of the TDBMaskEdit
(even tried TDBEdit) and nothing appears. I see the oDataSet property, but
everything I put in there disappears. I've tried creating a dummy
TAdsDataSource on the Form (child dialog) Components list and assigning the
global datasource ( the one I create at application start up that verifies
the data dictionary version and opens all the tables ) to that at the Form
Create event, but I cannot get the name to stay in the oDataSet property of
the edit field.