473,386 Members | 1,830 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

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

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
3 2135
Seth Schrock
2,965 Expert 2GB
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
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
2,965 Expert 2GB
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

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

Similar topics

1
by: Paul | last post by:
Hi, I have encountered the following problem when using VB .net. Please help. I have created a button at design view. Then, I save the design. Reload it and view the " Windows Form Designer...
2
by: Colin | last post by:
I have a main form with a command button on it that when clicked, opens a subform displaying records that relate to the main form. I would like to disable the command button if the corresponding...
3
by: Not Me | last post by:
Hi, I have a problem with some of my command buttons, in design view I set their properties to not visible. When I load up the form they appear (visible). I can create another button to set...
1
by: rt | last post by:
hi, iam using vs 2003 ,one of my .aspx all my connections,datadapter,command objects in Design view are missing????? i closed and reopen also, but there is no redline in code editor. i cant...
2
by: Wally | last post by:
Ok heres my problem. I have a form with 5 tabs, each with a subform in them. I'd like to create a command button that opens the subform being viewed in a seperate pop-up. I'm trying to program the...
2
by: Jimmy | last post by:
This is probably a simple thing but... I noticed with the templates in A2k, there are button on the side of the form and each button has a label that is associated with it. In other words, if...
0
by: M G Henry | last post by:
I am using Access 2003 and have a form with two subforms on them. I would like to be able to use a command button to add the row of data ( 5 fields ) that are completed on the subform, as well as...
2
by: Louise06 | last post by:
Hi everyone, I would like to create a Command button in a subform which can open a form related to the primary key in the current subform. Can anyone help? Sorry if this question has been...
0
by: Rajat Kumar | last post by:
I have a page in ASP.NET 2.0. I add a button in design view and the page runs fine. I then double-click the button to create the click method in the code. Then when I run the page I get the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.