Subform recordsource

M

Max

Access 2000. Want to use a command button on a form to
update the recordsource of a subform. Have tried putting
the new recordsource and a .requery in the OnClick of the
button but does not work.

Any suggestions would be greatly appreciated.

Thanks in advance
Max
[email protected]
 
B

Bruce M. Thompson

Access 2000. Want to use a command button on a form to
update the recordsource of a subform. Have tried putting
the new recordsource and a .requery in the OnClick of the
button but does not work.

You should post your code to allow us to see where your problem might be.

FYI: Assigning a new recordsource automatically forces a requery, so you don't
need to issue a "Requery" in your code.
 
Top