By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,916 Members | 1,286 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,916 IT Pros & Developers. It's quick & easy.

cmd buttons don't work with subforms

imrosie
100+
P: 222
Hello experts,

I have 3 cmd buttons (undo changes, clear order and save order). I added a second subform and moved some controls around...Now I'm having difficulty getting them to work again on either of the subforms, only works ont the main form. The two subforms are bridged together to the Main form through a text control..

Has any experienced this and can direct me how to get them working again? thanks. Better yet,does anyone have a routine for either cmd button that actually works?

thanks
Rosie
Sep 13 '07 #1
Share this Question
Share on Google+
1 Reply


Scott Price
Expert 100+
P: 1,384
Hello experts,

I have 3 cmd buttons (undo changes, clear order and save order). I added a second subform and moved some controls around...Now I'm having difficulty getting them to work again on either of the subforms, only works ont the main form. The two subforms are bridged together to the Main form through a text control..

Has any experienced this and can direct me how to get them working again? thanks. Better yet,does anyone have a routine for either cmd button that actually works?

thanks
Rosie
If you have copied and pasted and/or renamed these buttons, and they have code behind them, you will need to re-establish the link between the button and the code it runs. Just click into the code builder for each event that contains code, and make sure it all corresponds. If the buttons have been renamed you might need to copy and paste the code into the new Sub routine and delete the old one from the form code module.

Regards,
Scott
Sep 19 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.