P
Pete Beatty
I have been out of the VBA programming for a while and am stumbling on what
should be a simple problem that I NEED HELP with.
I have developed one form that has defined two public variables (rst1 as
dao.recordset and rst2 as dao.recordset).
Using the two variables I retrieve records from both files and compare the
fields. when an error is detected, I open another form which is supposed to
display all of the fields for both records and highlight the differences.
The problem is when I attempt to populate the objects on this new window, I
reference the public variables. This creates an error (e.g. "object
required"). the code I use is
me!object1.value = rst1![field1]
I am at a loss. Please assist.
should be a simple problem that I NEED HELP with.
I have developed one form that has defined two public variables (rst1 as
dao.recordset and rst2 as dao.recordset).
Using the two variables I retrieve records from both files and compare the
fields. when an error is detected, I open another form which is supposed to
display all of the fields for both records and highlight the differences.
The problem is when I attempt to populate the objects on this new window, I
reference the public variables. This creates an error (e.g. "object
required"). the code I use is
me!object1.value = rst1![field1]
I am at a loss. Please assist.