I am having a problem an it's driving me crazy, I hope someone can
correct my technique. I can't find a pattern and don't know where to
look to debug this. The problem is on a continuous form, the rows seem
to become unsynchronized. From lack of experience I am probably doing
something wrong. Let me explain...
I have a select query which joins 2 tables, an Appointment table and
Payments table and presents the data as rows on the bound form. The
idea is to generate a list of appointments and allow entry of data to
the appointment table and record payment in payment table. The join is
right a right join on Payments since most times the row does not exist.
The payment table contains a customerID column as does the appointment
table. In order to populate the customerID column on the payment table
I do the following in the afterUpdate event of the text box that
records the payment amount.
Me.[Payments.custom erID] =
Me.recordSet.Fi elds.Item("clea nings.customeri d")
The problem is that sometime the payments.custom erID column contains
the wrong customerID. Often it's the customerID of the row right above
it. The form allows for deletion of rows as well as a button to
refresh the recorderset, but the problem seems to occur even if no
deletes or refresh takes place.
Thanks!
-Elie.