473,836 Members | 1,956 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Enabling / disabling functions

Is it possible to enable and disable check box of active record using a
continuous form?

The problem with what I have done is if user entered multiple records,
then clicked 1st option box, all the check box of all records were then
enabled, and user can click on check box.

This is how it should work:
When you enter a new record and click an option box (for example 1),
then the check box only for that record should be enabled. If the
option box that was clicked is not 1 then the check box of that record
should be disabled.

Feb 23 '06 #1
2 1675
mitzie wrote:
Is it possible to enable and disable check box of active record using a
continuous form?

The problem with what I have done is if user entered multiple records,
then clicked 1st option box, all the check box of all records were then
enabled, and user can click on check box.

This is how it should work:
When you enter a new record and click an option box (for example 1),
then the check box only for that record should be enabled. If the
option box that was clicked is not 1 then the check box of that record
should be disabled.

May I assume the checkbox is NOT bound to a field in the table? Either
make the checkbox part of the table (Yes/No) field or move it outside of
the continuous form.
Feb 23 '06 #2
you cant alter objects on just the one selected form detail section. In
continuous forms, if you change something about a control (not the
data), the change will cascade to all instances of the control - not
just the currently selected one. ( Which is unfortunate, because there
were times I really wanted to do a nice stripped effect across multiple
records :( )

you could place the control on the form header / footer - that way
there will only ever be one instance of the control so it wouldnt
matter.

Feb 23 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2844
by: HumptyDumpty | last post by:
Does anyone know if there is a problem with re-enabling the Screen Saver after it has been disabled programmatically. I am using the SystemParametersInfo function within User32.dll, and have been successful in disabling the Screen Saver, but it does not work for re-enabling. The only way I can re-activate it is to re-apply the settings through the Display properties in the Control Panel. Sample lines of code, in simplest form:
2
1392
by: adeelanjum2001 | last post by:
i am using radiolist box control in my page. when i disable radiolist box when page is displayed first time, that is not ispostback, and when i try to enable it with my javascript code afterwards, it is never enabled. i have searched dozens of site looking for this problem. is there any way around of this problem. thanks in advanced
7
2239
by: John Meyer | last post by:
I have a program where I have to enable or disable a list box based upon a radio button. Is there an "enabled" property on select boxes?
7
6995
by: Vignesh | last post by:
I have tab control which has some TabPages. I want to enable or disable the tabpages based on some condition. It is possible to that. Thanks in advance.
2
6326
by: dougawells | last post by:
Hi- I'm wanting to have a set of radio buttons disabled when a form is displayed, then if they check another specific radio button, those would become enabled. I've tried setting it via window.document.formname.radiogroup.disabled="true"; (or false) - but that doesn't seem to work. I've seen this done with text boxes, but not with radio buttons. Can anyone give any help? Thanks
3
1160
by: johndevlon | last post by:
Hi, Can someone please help me. I've got a strang problem in Visual Studio 2005 I've created a windows application, using an MDI form and top menu. When a menu item is clicked, a new instance of a form appeirs. At the same time, i'm disabling the menu item to prevent opening it again.
5
1430
by: Chris Saunders | last post by:
I'm hoping that this question is not off topic on this newsgroup. If it is please redirect me if you know an appropriate group. I'm actually writing a program in another language (Eiffel) but if I can learn how to accomplish this in C I can convert the solution. What I wish to do is use PostThreadMessage() to send a message to a control so that it will become enabled/disabled. Reading the documentation on WM_ENABLE leads me to believe...
0
1176
Ali Rizwan
by: Ali Rizwan | last post by:
Hi, How can i control my devices using vb6. Like disabling mouse keyboard speakers etc. Thanx
3
1891
by: D¿ejm | last post by:
Hello, We have a code with lot of printfs. Now I would like to introduce special mode, in which only special messages are displayed and all other are hidden. No macros or replacements please. I'm looking for good looking in one place solution :). Disabling printf is easy: fclose( stdout ); But then I can't output anything.
0
9818
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10844
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10546
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9374
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7791
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5649
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5825
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
4016
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3113
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.