re-fresh text box values



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


.



Relevant Pages

  • RE: Form/subform refresh not showing options
    ... If it is a matter of a refresh, Find an event or events where it would be ... "Pendragon" wrote: ... record to the subform programmatically using the combo's After Update event. ... form, select an Individual, and click on the command button. ...
    (microsoft.public.access.modulesdaovba)
  • Re: Refresh main form from sub form
    ... And when you need to force Access to update the calculated controls on a ... > meals on the subform the Dlookup wasn't refreshed. ... > Refresh on the main form I realised I was probably going the wrong way. ... then totalled them and used the totals as datasource for total boxes ...
    (microsoft.public.access.formscoding)
  • Re: combine codes
    ... The subform which is continuous has a checkbox "Delivered" on each line item ... The Requery method reloads all of the form's data from its ... Refresh only checks if any of the ... Private Sub Location_AfterUpdate ...
    (microsoft.public.access.modulesdaovba)
  • Re: Refresh Data Button
    ... Private Sub cmdRefresh_Click ... (no private e-mails, please) ... Iv got a main form that includes a subform table. ... to add a refresh button to the main form to refresh the subform table? ...
    (microsoft.public.access.forms)
  • RE: Form/subform refresh not showing options
    ... "Pendragon" wrote: ... I ended up setting the focus to the subform and then doing the refresh. ... form, select an Individual, and click on the command button. ...
    (microsoft.public.access.modulesdaovba)