Can't refresh subform !?

  • Thread starter Thread starter Sergio Reis
  • Start date Start date
S

Sergio Reis

i've a form (formA) and a subform (SubformA), and when i save the first
record in my empty table B, using FormA , i would like that this new
information coud be seen immediatly in subformA(built to show information of
tableB) .

i supposed that using the VBcode: forms![formA]![subformA].form.refresh
, could solve the problem but it' doesn't work

what i did, was:
using the on click propertie of a command button, it runs a Public function
that saves the new record in my empty table B (this works fine!) and in the
end of the function, after closing the recordset,
runs forms![formA]![subformA].form.refresh ( this is the part that
doesn't work !!!!)

I tried the best i coud and run out of solutions, can anyone help?


thanks in avanced
Sérgio Reis
 
On my website (see sig below) is a small sample database called
"SubformReference.mdb" which illustrates this as well as a number of other
problems involving referencing subforms.
 
Back
Top