caffeine_demon
Board Regular
- Joined
- Apr 19, 2007
- Messages
- 64
Hi,
I have a form "Parks1" with a subform "childform", and I'd like to change the table that uses based on a set of option buttons. - so I've set macros to run on "gotfocus" for the option button.
Everything I saw suggested that:
would do the trick - but it doesn't seem to make any difference - whatever I change the recordsource to, it has no effect on the subform, even if I set it to something nonsensical.
Any ideas what's going wrong?
Thanks!
I have a form "Parks1" with a subform "childform", and I'd like to change the table that uses based on a set of option buttons. - so I've set macros to run on "gotfocus" for the option button.
Everything I saw suggested that:
Code:
Forms!parks1!childform.Form.RecordSource = "table1"
Forms!parks1!childform.Form.Requery
would do the trick - but it doesn't seem to make any difference - whatever I change the recordsource to, it has no effect on the subform, even if I set it to something nonsensical.
Any ideas what's going wrong?
Thanks!