Hello everyone,
I am creating a form in which the user is able to enter the amount of a utility bill per unit number of an apartment complex. Because the bills are out of order, the current and wanted layout of the form is about 20 text fields. One asks for unit number and the other asks for bill amount. Once the process button is clicked I have 10 queries run for each room number. Each query is a simple update query. The criteria box checks the unit number text field that the query is associated with. I was wondering if there is a way to create one query to do this instead of ten. An example of the first query is
Code:
field to update: UtitlityDue table: tblTenant Update to: UtilityDue+[Forms]![frmUtilitiesV2]![UnitOneAmount] criteria: tblTenant![Unit] = [Forms]![frmUtilitiesV2]![UnitOne]
So each query is the same, only difference is replace "UnitOneAmount and UnitOne" with "UnitTwoAmount and UnitTwo"... This way works but I think it is sloppy.
Thanks in advance