M
MikeC
I'm developing a form that has multiple subforms and I
need to synchronize one subform with another subform. I
have already attempted to do this, but with limited
success. I have managed to *link* subform2 to subform1 by
entering subform1's text box control as the "Link Master
Fields" property in subform2. Here's the expression I
entered in the "Link Master Fields" property of subform2:
Forms!frmSIPMaintenance!Subform1!txtAppNbr
(I've tried this with and without brackets.)
The problem is that although these two subforms
are "linked", they are not *synchronized*. As I navigate
through the records one at a time, *subform2* is always
lagging behind subform1 by one record. Subform2 will only
display the record that is related to the one that was
*previously* displayed in subform1.
I have also tried adding a text box control to the *main*
form and referencing that instead. I get the same
results. In addition, I have tried adding a filter to the
record source query for subform2 that references the text
box on the main form. Again, the results are the same. I
can link, but I am unable to synchronize.
I believe I am unable to synchronize due to the late
timing of when the subform1's data becomes available to
subform2.
Does anyone know of a way that I can successfully
synchronize one subform with another? I am open to
virtually all options, including writing a new ADO
procedure.
Thank you in advance for any helpful tips.
need to synchronize one subform with another subform. I
have already attempted to do this, but with limited
success. I have managed to *link* subform2 to subform1 by
entering subform1's text box control as the "Link Master
Fields" property in subform2. Here's the expression I
entered in the "Link Master Fields" property of subform2:
Forms!frmSIPMaintenance!Subform1!txtAppNbr
(I've tried this with and without brackets.)
The problem is that although these two subforms
are "linked", they are not *synchronized*. As I navigate
through the records one at a time, *subform2* is always
lagging behind subform1 by one record. Subform2 will only
display the record that is related to the one that was
*previously* displayed in subform1.
I have also tried adding a text box control to the *main*
form and referencing that instead. I get the same
results. In addition, I have tried adding a filter to the
record source query for subform2 that references the text
box on the main form. Again, the results are the same. I
can link, but I am unable to synchronize.
I believe I am unable to synchronize due to the late
timing of when the subform1's data becomes available to
subform2.
Does anyone know of a way that I can successfully
synchronize one subform with another? I am open to
virtually all options, including writing a new ADO
procedure.
Thank you in advance for any helpful tips.