G
Guest
H
I have a subform, based on a query that references table TransportCosts. Given the clients desire to view this information as a matrix, the table has a field for Customers (destinations) and all other fields refer to an Origin (of which there are about 10. Therefore 11 columns in this table). The query allows the user to do a search for a specific Customer. Given the nature of the table, when creating the subform I chose to have all fields displayed to the user so when executing this query, the subform displays transport costs from all origins to this customer
Now I pose my problem
It is possible that in the future an Origin (ie. another field) may be added to this table. How can I update the subform to include this new Origin from VBA without recreating the subform from scratch
I look forward to a reply
Thank
Jade
I have a subform, based on a query that references table TransportCosts. Given the clients desire to view this information as a matrix, the table has a field for Customers (destinations) and all other fields refer to an Origin (of which there are about 10. Therefore 11 columns in this table). The query allows the user to do a search for a specific Customer. Given the nature of the table, when creating the subform I chose to have all fields displayed to the user so when executing this query, the subform displays transport costs from all origins to this customer
Now I pose my problem
It is possible that in the future an Origin (ie. another field) may be added to this table. How can I update the subform to include this new Origin from VBA without recreating the subform from scratch
I look forward to a reply
Thank
Jade