rossmcm
rossmcm

Reputation: 5640

Making Access database field structure changes propagate through to a Delphi app

I have a Delphi 2007 app that interacts with an Access 2000 database. I have made changes to the database structure (addition of fields) and need to make them visible in the Delphi application but that is proving difficult. I made a minimal Delphi application and Access database and the same issue is seen there.

My steps were:

What is accepted best practice for forcing database structure changes through to the Delphi IDE and resulting application?

** Answer to Ken White's comment **

Thanks Ken. I appreciate the reasons for the Columns property of the DBGrid when you may not want all the fields in your grid - my issue is that when I use MS Access to add some fields to the table and then re-open my Delphi project:

I don't understand why the TTable can see the new fields but the TDatasource (which has the TTable specified as it's Dataset property value) cannot.

Upvotes: 0

Views: 195

Answers (0)

Related Questions