473,473 Members | 1,672 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

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

2 New Member
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 2138
Seth Schrock
2,965 Recognized Expert Specialist
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
priyankaW
2 New Member
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 Recognized Expert Specialist
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
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
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,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.