how can i update subform

  • Thread starter Thread starter Harri H
  • Start date Start date
H

Harri H

Hi

i am new access 2002 user and i want some help.

How can i update subform if i change somthing in mainform.


Thanks Harri H
 
The subform will exist in your Forms list just as the main form does, so simply update it in the same way as you update the main form. Of course you will need to know the name of it to find it.
 
MainForm name is SERVICE
SubForm name is TIME

if i add new time Form SERVICE so what is a command to update Form TIME
TIME.Requery not work


Thanks.Harri H
The subform will exist in your Forms list just as the main form does, so
simply update it in the same way as you update the main form. Of course you
will need to know the name of it to find it.
 
Your original question was not very clear, try

Forms!Formname!Subformname!Controlname.Methodnam
o
Forms!Formname!Subformname!Controlname.Propertyname = <value>
 
If i press "Update" in pull-down menu. Everythin update in mainform and
subform

How can i create same thing in VB-code.
 
Back
Top