473,395 Members | 1,474 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,395 software developers and data experts.

Wanting to add a checkbox to the detail area of a continous form

I would like to add a check box to the detail area of a continous
form. So that I can check on specific records, then after I've marked
all the records I watn to delte, click a button to loop thru these
check boxes, if checked get the field with the underlying table record
ID and run a query to delete it.

I've built a continous form to show all the records. I now want to
add a check box beside each record, so that I can check specific
records. Then I'll place a button on the header area to run a
function to detlete those records that are checked from the undelying
tables. I tried to add the checkbox to the underlying query, but I
can't check it in the form because the query is not updatable and
therefore won't let you change data in the bound query fields.

I've also tried to add a check box to the detail portion of the form,
but when in use, if you click on one box, they all change.

For now I've added a button in the detail portion of the form. When
clicked, the sub gets the RecordID from one of the fields then runs a
delete query then refeshes the form. Its very slow.

Adolph
Nov 12 '05 #1
1 2309
DFS
You'll probably want to add a Yes/No field to the underlying table.
"adolph" <ad****@markethost.com> wrote in message
news:71*************************@posting.google.co m...
I would like to add a check box to the detail area of a continous
form. So that I can check on specific records, then after I've marked
all the records I watn to delte, click a button to loop thru these
check boxes, if checked get the field with the underlying table record
ID and run a query to delete it.

I've built a continous form to show all the records. I now want to
add a check box beside each record, so that I can check specific
records. Then I'll place a button on the header area to run a
function to detlete those records that are checked from the undelying
tables. I tried to add the checkbox to the underlying query, but I
can't check it in the form because the query is not updatable and
therefore won't let you change data in the bound query fields.

I've also tried to add a check box to the detail portion of the form,
but when in use, if you click on one box, they all change.

For now I've added a button in the detail portion of the form. When
clicked, the sub gets the RecordID from one of the fields then runs a
delete query then refeshes the form. Its very slow.

Adolph

Nov 12 '05 #2

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

Similar topics

0
by: claudel | last post by:
Hi I have a newb PHP/Javascript question regarding checkbox processing I'm not sure which area it falls into so I crossposted to comp.lang.php and comp.lang.javascript. I'm trying to...
13
by: aundro | last post by:
Hello, I've been looking on the web for a solution to this problem: I create a set of checkboxes, and 2 buttons: - one is labeled "All" - the other is labeled "None" Clicking "All" is...
1
by: ILCSP | last post by:
Hello, is there a way to display a button in the detail part of a continous form ONLY for the last record? I want to have an "ADD" button at in the same row as the last record, but if I place it...
4
by: Henry Wu | last post by:
Hi, I see examples of Magnifying an area under mouse coordinates to a form or picturebox using VB6 and VC6, does anyone know how to do it under VB.NET? Its nice to use the new GDI+ for it. ...
0
by: ReidarT | last post by:
I have started to develop in vb.net. Earlier development was in MS-Access. I need a lot of continous forms to present data. The customer add and edits data in the continous form. Is use of...
0
by: cyberdawg999 | last post by:
Greetings all in ASP land I have overcome one obstacle that took me 2 weeks to overcome and I did it!!!!! I am so elated!! thank you to all who invested their time and energy towards helping me...
1
by: questionit | last post by:
Hi I am showing records on a continous form. I have also created a check box to appear with each record. The problem is that when ever i tick the check box, the check-boxes with other...
5
by: vegeta456 | last post by:
I am trying do display some data in a continous subform which is part of an unbound form. The master form is supposed to display a error discription window. To do this I call the following sub...
2
by: questionit | last post by:
Hi I know how to implement Continous form. In the method i have tried, the source for data on the continous form comes from table using SQL query Now, i want to try something different and i...
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
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...

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.