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

Command button added in design view of subform does not appear in runtime

P: 2
Hi ,

I have a subform in a form, which has some records as per the set query. I want to add a button to delete record. That is, one button per record.
My default view of the form was 'single form'. I added button to the sub form in design mode. In run time I was not getting button.
Then I tried to change default view to 'Continous form'. I got message that forms with sub form can not be put into 'continous form' view.
So, I put subform in form footer and change default view to 'continous form'.
Still I am not getting buttons in runtime.
Please help.

Thanks in advance
Apr 26 '15 #1
Share this Question
Share on Google+
3 Replies

Seth Schrock
Expert 2.5K+
P: 2,951
Check the Visible and Visible When properties. Make sure that the Visible property is set to True and Visible When is set to Screen or Both. It is also possible to set the visible property at run-time via VBA/Macro, but I'm guessing that since you just added the button, this isn't the case.
Apr 26 '15 #2

P: 2
Thanks Seth,

I checked the properties, Visible is 'Yes' and Display when is 'Always'. Still I am not getting button in run time.
May 2 '15 #3

Seth Schrock
Expert 2.5K+
P: 2,951
The only other thing that I can think of is that you have some code or macro that is hiding the button when the form opens. It could also be hidden in Conditional Formatting, so you might check the list of rules (if you have any) to see if one hides that button.
May 3 '15 #4

Post your reply

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