re-fresh text box values

L

LJG

Hi Guys,

I am looking to refresh the contents of a text box on subform b when the
value changes in subform a, the code I have been trying is:

Private Sub trainTotal_AfterUpdate()
Requery.subformb.txttemp_traintotal
End Sub

this is not working and could do with a little help please

TIA

Les
 
F

freakazeud

Hi,
the syntax would be something like:

Me!subformb.Form!txttemp_traintotal.Requery

HTH
Good luck
 
Top