473,407 Members | 2,315 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,407 software developers and data experts.

Checkbox and Continuous form again

Hi all

Can't seem to find the answer I'm looking for and I tried just about
everything I've read on here already. Maybe someone can help out.

I need a list of medications to display and then allow the user to
check off certain meds. Been having the usual problems. Based the form
on a query to display the meds and had an unbound checkbox but of
course when one was checked all would check. Tried to add a boolean
field to the query but it wasn't updateable on the form. Tried binding
the form to the table and using DLookup for the list but only the first
med (not the whole list) showed on the form. I've been going back and
forth and can't seem to make any headway.

Any ideas?

Thanks
Mike

May 4 '06 #1
3 3211
How many entries does your list of meds have? Are you wanting a
separate form to open so you can enter the medication info? Please
clarify.

Mike wrote:
Hi all

Can't seem to find the answer I'm looking for and I tried just about
everything I've read on here already. Maybe someone can help out.

I need a list of medications to display and then allow the user to
check off certain meds. Been having the usual problems. Based the form
on a query to display the meds and had an unbound checkbox but of
course when one was checked all would check. Tried to add a boolean
field to the query but it wasn't updateable on the form. Tried binding
the form to the table and using DLookup for the list but only the first
med (not the whole list) showed on the form. I've been going back and
forth and can't seem to make any headway.

Any ideas?

Thanks
Mike


May 4 '06 #2
Throw all the medications into a buffer (a table where they are held temp).
This table only needs the id of the med and a boolean field for the
checkbox. Build a query based on this table, link to the meds table to get
the properties to display. Build you form based on this query and bind the
checkbox to the boolean field.

Do whatever with the data in the buffer after users have checked the
necessary meds.

Jeff Pritchard
________________
Asken Research Pty. Ltd.
Access Database Developers
http://www.asken.com.au

"Mike" <mi***@pitt.edu> wrote in message
news:11**********************@y43g2000cwc.googlegr oups.com...
Hi all

Can't seem to find the answer I'm looking for and I tried just about
everything I've read on here already. Maybe someone can help out.

I need a list of medications to display and then allow the user to
check off certain meds. Been having the usual problems. Based the form
on a query to display the meds and had an unbound checkbox but of
course when one was checked all would check. Tried to add a boolean
field to the query but it wasn't updateable on the form. Tried binding
the form to the table and using DLookup for the list but only the first
med (not the whole list) showed on the form. I've been going back and
forth and can't seem to make any headway.

Any ideas?

Thanks
Mike

May 4 '06 #3
A list box is better for this, as you can display the list of medications,
and if you set the multi-select to true, and then after you can easily
process this list..

Thus, you might consider a listbox in place of a continues form.

However, I do have a sample download that shows you can use a un-bound check
box in a continues form. You can find it here
http://www.members.shaw.ca/AlbertKal.../msaccess.html

Grab the multi-select example.....
--
Albert D. Kallal (Access MVP)
Edmonton, Alberta Canada
pl*****************@msn.com
http://www.members.shaw.ca/AlbertKallal
May 5 '06 #4

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

Similar topics

2
by: Fred | last post by:
Hi, I defined a form consisting of checkboxes like: <form> <input type="checkbox" name=ck id=ck onclick="check(this.form)" <input type="checkbox" name=ck id=ck onclick="check(this.form)" ........
4
by: Thomas | last post by:
Hello; I am creating a multiselect listbox and I would like to use checkboxes to indicate which items are selected (rather than the default highlighting.) I would then place these selected items...
7
by: Paolo | last post by:
I have a save button in a continuous form called Purchase Order. The button contains several conditional statements which make sure that all mandatory fields are properly filled out by the user....
2
by: vulcaned | last post by:
Hi All, Hopefully I explain/ask my question correctly; In Access97 on a continuous form I display records direct from a table. Two displayed fields are policy nbr and a approved checkbox. In...
12
by: savedelhi | last post by:
Hi, I'm a relative newby and have a tricky problem in Access 2002. I have a continuous form with a check box called "Select". (I now know I shouldn't have called it that but it's way too late...
1
by: Thuveshen | last post by:
Hi There I am new to VB scripting in MS Access. I currently have a form with a subform embedded in it. I run a query based on search criteria which works fine. Within the Subform there is a...
8
by: Sid | last post by:
I hope someone could help me with this. I am trying to setup a criteria to decide when to allow/not allow user to click on the check box. logically it looks simple but I am not able to...
11
by: =?Utf-8?B?UGFyYWcgR2Fpa3dhZA==?= | last post by:
Hi All, I have a large recordset to be displayed on a ASP 3.0 page. I am using recordset paging for this. For the next and previous link i am passing href as <a href=<Page URl>?page=<%=...
7
by: ggfota | last post by:
I have problem creating Access (Continuous) Form with indepenent CheckBox for each record. The user should be able to select records that will be processed by VBA based on ChceckBox value. When 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: 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
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...
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...
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
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...

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.