I have a subform that's bound to a table. There is a field in this table whose name changes based on the day of the week. For example the table fields may be ID, Name, Sunday once and at other times it might be ID, Name, Monday. I dynamically create this table via code.
This is the problem. Since one particular field in this table changes, when the form with the subform opens, it asks to input a parameter for that field, since now it has a different name.
IS THERE ANY WAY TO CHANGE THE NAME AND CONTROL SOURCE OF THAT FIELD IN THE SUBFORM VIA CODE AND IF SO HOW, ALSO WILL THIS SOLVE THE PROBLEM?
Thanks
This is the problem. Since one particular field in this table changes, when the form with the subform opens, it asks to input a parameter for that field, since now it has a different name.
IS THERE ANY WAY TO CHANGE THE NAME AND CONTROL SOURCE OF THAT FIELD IN THE SUBFORM VIA CODE AND IF SO HOW, ALSO WILL THIS SOLVE THE PROBLEM?
Thanks