HarrySpencer
Registered User.
- Local time
- Today, 20:41
- Joined
- Apr 10, 2007
- Messages
- 25
Hi,
have found a lot of info on similar subjects but can't get the syntax right.
I have a main form (MainPage_fm) this has about 7 subforms (same level all placed in a tab control)
I'm trying to requery a subform from another subform, my guess is I need to refer to the parent form and then to the subform I want to requery but can't get the syntax right I'm getting errors that the say can't find field or form I'm refering to have tried about 10 variations of the code below without luck. please can someone help me
Forms!Parent!CRBArchive_tb_cfm.Requery
Forms!MainPage_fm!CRBArchive_tb_cfm.Form.Requery
also found this link which has been very helpful for other tasks but not this time thought others might find it as helpful
http://www.mvps.org/access/forms/frm0031.htm
have found a lot of info on similar subjects but can't get the syntax right.
I have a main form (MainPage_fm) this has about 7 subforms (same level all placed in a tab control)
I'm trying to requery a subform from another subform, my guess is I need to refer to the parent form and then to the subform I want to requery but can't get the syntax right I'm getting errors that the say can't find field or form I'm refering to have tried about 10 variations of the code below without luck. please can someone help me
Forms!Parent!CRBArchive_tb_cfm.Requery
Forms!MainPage_fm!CRBArchive_tb_cfm.Form.Requery
also found this link which has been very helpful for other tasks but not this time thought others might find it as helpful
http://www.mvps.org/access/forms/frm0031.htm