Hi,
I have an application where I'm using MDI child forms to display lists of records (which is working ok). By double-clicking a row in some tables I want to open up a non-child form showing the data retrieved for a single record, allow the user to change it, then save it. One small complication is that the data for each row actually comes from 3 tables, 1 a SQL Server table, then 2 via ODBC.
I thought the best approach might be to create a class containing a list of "fields", then fill the fields using datareaders for the 3 data sources. I then thought I would be able to bind each "field" to a control on the form, but I can't seem to make that work nor find any examples that do it.
Do, am I going about this entirely the wrong way?
Ms Access/VBA now seems so easy ..... :cold:
Cheers
Reg
I have an application where I'm using MDI child forms to display lists of records (which is working ok). By double-clicking a row in some tables I want to open up a non-child form showing the data retrieved for a single record, allow the user to change it, then save it. One small complication is that the data for each row actually comes from 3 tables, 1 a SQL Server table, then 2 via ODBC.
I thought the best approach might be to create a class containing a list of "fields", then fill the fields using datareaders for the 3 data sources. I then thought I would be able to bind each "field" to a control on the form, but I can't seem to make that work nor find any examples that do it.
Do, am I going about this entirely the wrong way?
Ms Access/VBA now seems so easy ..... :cold:
Cheers
Reg