how can i update subform

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
 
D

Dorian

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.
 
H

Harri H

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.
 
D

Dorian

Your original question was not very clear, try

Forms!Formname!Subformname!Controlname.Methodnam
o
Forms!Formname!Subformname!Controlname.Propertyname = <value>
 
H

Harri H

If i press "Update" in pull-down menu. Everythin update in mainform and
subform

How can i create same thing in VB-code.
 

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