G
Guest
Hi,
I want to have a command button to switch between form and datasheet view
for a subform. The command button is on the main form.
If it were just a normal form, I can close it with DoCmd.Close, then open
with DoCmd.OpenForm. However I don't know how (Or if) these commands can be
used on a subform.
Is this possible, or is there a more eliquent solution? Switch between two
forms perhaps (The same form but different defaultview property set)?
Thanks in advance.
Swas
I want to have a command button to switch between form and datasheet view
for a subform. The command button is on the main form.
If it were just a normal form, I can close it with DoCmd.Close, then open
with DoCmd.OpenForm. However I don't know how (Or if) these commands can be
used on a subform.
Is this possible, or is there a more eliquent solution? Switch between two
forms perhaps (The same form but different defaultview property set)?
Thanks in advance.
Swas