speakers_86 Registered User. Local time Today, 08:52 Joined May 17, 2007 Messages 1,919 Nov 4, 2009 #1 In the on close event of a form, I would like to requery a subsub form. How can I do that?
John Big Booty AWF VIP Local time Today, 22:52 Joined Aug 29, 2005 Messages 8,262 Nov 4, 2009 #2 Are you wanting to Requery the subform of the form being closed? Or the subform on another form? If it is the first option, to what end do you wish to requery the subform given the main form is being closed?
Are you wanting to Requery the subform of the form being closed? Or the subform on another form? If it is the first option, to what end do you wish to requery the subform given the main form is being closed?
boblarson Smeghead Local time Today, 05:52 Joined Jan 12, 2001 Messages 32,059 Nov 4, 2009 #3 A couple of ways: Code: Forms!YourMainFormNameHere.YourSubformControlNameHere.Form.YourSecondSubformControlNameHere.Form.Requery or Code: Forms("MainFormNameHere").Controls("FirstSubformControlName").Form.Controls("SecondSubformControlName").Form.Requery
A couple of ways: Code: Forms!YourMainFormNameHere.YourSubformControlNameHere.Form.YourSecondSubformControlNameHere.Form.Requery or Code: Forms("MainFormNameHere").Controls("FirstSubformControlName").Form.Controls("SecondSubformControlName").Form.Requery
speakers_86 Registered User. Local time Today, 08:52 Joined May 17, 2007 Messages 1,919 Nov 4, 2009 #4 Thank you guys. The first one is what I had. The second one is what bob told me to do and it works. Code: [Forms].[frmhome].[subHomeSchedulesForm].[Form].[subHomeSchedules].[Form].Requery Forms!frmhome.subHomeSchedulesForm.Form.subHomeSchedules.Form.Requery Its the little things.
Thank you guys. The first one is what I had. The second one is what bob told me to do and it works. Code: [Forms].[frmhome].[subHomeSchedulesForm].[Form].[subHomeSchedules].[Form].Requery Forms!frmhome.subHomeSchedulesForm.Form.subHomeSchedules.Form.Requery Its the little things.
boblarson Smeghead Local time Today, 05:52 Joined Jan 12, 2001 Messages 32,059 Nov 4, 2009 #5 speakers_86 said: Thank you guys. The first one is what I had. The second one is what bob told me to do and it works. Code: [Forms].[frmhome].[subHomeSchedulesForm].[Form].[subHomeSchedules].[Form].Requery Forms!frmhome.subHomeSchedulesForm.Form.subHomeSchedules.Form.Requery Its the little things. Click to expand... You might also check out my small tutorial on subform syntax here on my website.
speakers_86 said: Thank you guys. The first one is what I had. The second one is what bob told me to do and it works. Code: [Forms].[frmhome].[subHomeSchedulesForm].[Form].[subHomeSchedules].[Form].Requery Forms!frmhome.subHomeSchedulesForm.Form.subHomeSchedules.Form.Requery Its the little things. Click to expand... You might also check out my small tutorial on subform syntax here on my website.
speakers_86 Registered User. Local time Today, 08:52 Joined May 17, 2007 Messages 1,919 Nov 4, 2009 #6 Thank you bob.