P
Phil
I have a form with an unbound subform. In the subform, I would like
to display all the records from a particular table, sorted on a
particular field. So far, quite a simple matter. The issue becomes a
little more complicated, however, because the table in question gets
altered, based on user input on the main form (the form containing the
unbound subform). Not only do the records in the table change, but
the table may have columns added to it or deleted from it, and I would
like those changes to be reflected in the subform. I can get the
updated records to show up in the subform, but whenever columns are
added or deleted from the table, the subform continues to display the
table with its original columns.
I have been working on this issue for over a week, searching forums,
experimenting with various methods, etc. I feel that I have a good
grasp of how to use subforms, the difference between a subform control
and the subform itself, sourceobject and recordsource properties, etc,
but I cannot seem to hit on the right solution. I feel like this
should be a fairly simple thing to do with Access (I'm using A2003,
btw)...
Any help or suggestions greatly appreciated. I can post my code if
desired, but i'm more interested in knowing generally how an
experienced programmer would tackle this problem rather than exact
syntax.
Thanks
Phil
to display all the records from a particular table, sorted on a
particular field. So far, quite a simple matter. The issue becomes a
little more complicated, however, because the table in question gets
altered, based on user input on the main form (the form containing the
unbound subform). Not only do the records in the table change, but
the table may have columns added to it or deleted from it, and I would
like those changes to be reflected in the subform. I can get the
updated records to show up in the subform, but whenever columns are
added or deleted from the table, the subform continues to display the
table with its original columns.
I have been working on this issue for over a week, searching forums,
experimenting with various methods, etc. I feel that I have a good
grasp of how to use subforms, the difference between a subform control
and the subform itself, sourceobject and recordsource properties, etc,
but I cannot seem to hit on the right solution. I feel like this
should be a fairly simple thing to do with Access (I'm using A2003,
btw)...
Any help or suggestions greatly appreciated. I can post my code if
desired, but i'm more interested in knowing generally how an
experienced programmer would tackle this problem rather than exact
syntax.
Thanks
Phil