MainForm SubForm Requery from Third Form

R

Ray Todd Jr

I have the following:

frmMAIN w/subform of subDEFENDANTS

frmNEWPROPERTY w/subform subNEWDEFENDANTS

When I enter a new property on the frmNEWPROPERTY form and close that form,
I can then go look at the record on the frmMAIN. However, unless I close and
reopen the database, the defendantnames (cboDEFENDANTSNAMEID) do not show up
in the newly entered property.

I have tried the following attempts at requerying the data and have failed
with

Run-Time Error 438 Object Doesn't Support this Property or Method.

I put the following lines of code (not at the same time) in the after update
event of the subNEWDEFENDANTS form of the frmNEWPROPERTY form.

forms!frmMAIN!subDEFENDANTS!DefendantsNameID.Requery

forms!frmMAIN.requery

Any suggestions would be appreciated.

Thanks,

Ray.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top