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

Which choice did he make?

Hi,

I'm using A97.

I've got a table which represents choices a user can select. Now, what I
want is to create a form that show these choices and give the possibility to
the user to choose one or more in the list and then do a certain work on
each of his choice.

Ex:
NoID Product
------ ---------
1 Apple
2 Chicken
3 Lettuce

Those choice will changes regularly so I don't want to hard-code them in the
form. The user can then select one, two or three of these choices by
clicking a checkbox. I would like to retreive items he choose.

How can I do that?

I have no problem creating a form with a Detail section and a checkbox for
each choice but how can I know which are checked when the user click on the
final "OK"? Any other suggestion?

Thanks for your time.

Yannick
Nov 13 '05 #1
1 999
On Fri, 11 Jun 2004 10:50:05 -0400, "Yannick Turgeon"
<no****@nowhere.com> wrote:
Hi,

I'm using A97.

I've got a table which represents choices a user can select. Now, what I
want is to create a form that show these choices and give the possibility to
the user to choose one or more in the list and then do a certain work on
each of his choice.

Ex:
NoID Product
------ ---------
1 Apple
2 Chicken
3 Lettuce

Those choice will changes regularly so I don't want to hard-code them in the
form. The user can then select one, two or three of these choices by
clicking a checkbox. I would like to retreive items he choose.

How can I do that?

I have no problem creating a form with a Detail section and a checkbox for
each choice but how can I know which are checked when the user click on the
final "OK"? Any other suggestion?

Thanks for your time.

Yannick


Instead of check boxes (which would work if the choices were static),
use a listbox whose rowsource is a query based on your table of
choices. Specify that multiple items can be selected (the default is
just one item).

Then use VBA to determine which items in the listbox have been
selected and then take the appropriate action.

Chuck
Nov 13 '05 #2

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

Similar topics

38
by: BORT | last post by:
Please forgive me if this is TOO newbie-ish. I am toying with the idea of teaching my ten year old a little about programming. I started my search with something like "best FREE programming...
4
by: Dennis Vroegop | last post by:
Hi there! I have the following XSD (Well, this is not the real one, but the concept is the same....) <?xml version="1.0" encoding="UTF-8"?> <xs:schema...
24
by: invitro81 | last post by:
Hello I've recently learnt python and I do love it! I congratulate all those geeks who produce this nice language; well, because I could be called a nearby newbee I've decided to improve my...
6
by: JM | last post by:
I have never used a (content management system) CMS before but I need one for my internship as a webdeveloper. Requirements: runs on Apache, linux or unix, MySQL and PHP (maybe Windows server...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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: 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...
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
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
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...

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.