how to access a db table that changes structure

From: ciao ciao (ciao_at_ciao.net)
Date: 06/29/04


Date: Tue, 29 Jun 2004 19:09:02 GMT

Hello all, I've a database table that can change structure, think about
an ITEMS table with certain columns. Some of these columns are
fixed and never change, other columns can change: the end user
can add new columns (all of type VARCHAR) or remove
previoulsy added columns.
I have to design some classes to access the database, like an "item"
class with methods to get and set values in the db.
The problem is that the table isn't always the same! so I cannot use
a "normal" DAO, because sometimes in the future there will be new
columns and I won't be able to get them.
Thanks.



Relevant Pages

  • Re: ADO and the Find method
    ... You cannot compare DAO and ADO. ... database, which has OLEDB provider. ... >>>> Opening of the whole table was not a good design anytime. ...
    (microsoft.public.vb.database.ado)
  • Re: Why refactoring is better
    ... >Dont change the database structure at all. ... >Change structure on the fly, ... >even harder to write and test synchronization procedures. ... >imperative to never stop the database, and each has some cost. ...
    (comp.object)
  • Re: Why refactoring is better
    ... Dont change the database structure at all. ... Change structure on the fly, ... even harder to write and test synchronization procedures. ... imperative to never stop the database, and each has some cost. ...
    (comp.object)
  • Architectural Question
    ... Drag a table from the database in Server Explorer onto the design pane. ... Create all the common methods in the new DAO ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Linked Tables
    ... change structure. ... If I unlink the tables, how will this effect my dbase? ... the database where the tables reside. ... mouse over the table name in the Tables window, or by opening the VBA window ...
    (microsoft.public.access.tablesdbdesign)