473,513 Members | 2,668 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Use Checkboxes on Continous Forms to Append Records

I am trying to design a Call Log Detail form that will allow users, in
a multi-user environment, to select various data/records, not
necessarily in sequential order, from a subform that will, when the
parent form is closed, append the selected records to a historical
table. In this particular case, a multi-select list box will not work
because the users have requested the ability to view details or query
additional information about the individual records from the subforms,
hence, call another form to display. Does anybody have any idea on how
to get something like this to work?

Nov 13 '05 #1
2 3373
You cannot have an unbound control that shows different values on different
rows of a continuous form.

The simplest workaround is therefore to add a yes/no field to the table.
This gives you a bound check box, and so the user can select records. You
can then Execute your append query in the UnLoad event of the form, and
reset the check boxes in the table with:
dbEngine(0)(0).Execute "UPDATE Table1 SET IsPicked = False WHERE
IsPicked = True;", dbFailOnError

But you say this is a multi-user environment, so that won't be adequate. You
probably want a related table in the front end to store the primary key
value of the records they selected. You can then base the form on a query
that uses this table with your original table, making sure you use an outer
join between the 2 tables. (Double-click the join line in query design.) You
have some kind of control (command button?) on the continuous form that
appends/deletes the record to/from the local table. Now each user can select
their own records independently of the others.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Steve B" <st******@co.lake.ca.us> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I am trying to design a Call Log Detail form that will allow users, in
a multi-user environment, to select various data/records, not
necessarily in sequential order, from a subform that will, when the
parent form is closed, append the selected records to a historical
table. In this particular case, a multi-select list box will not work
because the users have requested the ability to view details or query
additional information about the individual records from the subforms,
hence, call another form to display. Does anybody have any idea on how
to get something like this to work?

Nov 13 '05 #2
"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:42**********************@per-qv1-newsreader-01.iinet.net.au...
You cannot have an unbound control that shows different values on
different rows of a continuous form.


No, but you sure can bind a function to the check box, and get the same
results anyway!!!

I have a nice example here that does just that, and it works with a check
box that is NOT bound to the table...but instead to a function!

To the OP, You can find this example here:

http://www.members.shaw.ca/AlbertKal.../msaccess.html
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.members.shaw.ca/AlbertKallal
Nov 13 '05 #3

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

Similar topics

1
2320
by: adolph | last post by:
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...
2
1218
by: gj | last post by:
I have always wondered how to do the following using standard forms without VBA: Staff Staff Group Memberships
1
3061
by: SorboPos | last post by:
Hi. I have a form with continuous forms and a data entry section in the header of the form. (I.e. all transactions show in the main form area like a data sheet and the data for the highlighed...
0
1718
by: gavo | last post by:
Hi. using A2K; i have a form containing a continous subform. The question is, how can i call a calculation for one of the fields in the continous subform from the main form. At the moment i...
8
42069
by: Tim | last post by:
On my form I have 10 checkboxes named chkbox1,chkbox2,....chkbox10. I would have like to set it up as an array control like in VB6 where I could have chkbox(1),chkbox(2) but I think .net you have...
0
1402
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...
4
2183
by: favor08 | last post by:
I have a continious subform that 9000 + records and I have serveral check marks on the subform. so it ties to that record. Does anyone have any examples were they use multiple checkboxes in a ...
3
1468
abouddan
by: abouddan | last post by:
Hi all I am trying to create a form 'Form1' that updates my database. Fist this form is based on a query that returns all the records in table 'employe'. query1="Select id, name, salary from...
9
3522
by: kashif73 | last post by:
Hi, I am creating a report in Access, where the users select checkboxes & they get the required data from table in the report. Below is the sql statement i have written: SELECT * FROM tblMain...
0
7157
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
7379
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
7535
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...
0
5682
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,...
0
4745
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3221
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1591
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 ...
1
798
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
455
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...

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.