A relational purist would frown at holding calculated data as a field in your database - but assuming there's agood reason for doing it this way, I can see a couple of possibilities:
1) After the sub form saves the record, save the UID of the main record, requery both forms and then move back to the correct record.
2) Unbind the control that displays the calculations from your recordset. Write a function to retrieve the count from the database. You can then run this function and update the control whenever you need to.
Brian Skelton
Braxis Computer Services Ltd.
|