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

Urgent! Use multiple choice with access


Hi, I do not know whether was already posted a request about this problem,
but my
problem is this.

I'd like to insert in a text field of a table of Ms Access some values from
a
list with the possibility of also choosing more than one.

From the combined square which I was using before passed to the square of
recapitulate activating the function of multiple selection with the problem
that if
all select one OK, select more than one in the field does not come
memorized nothing.

Did I forget any passage?

I must set up some other parameter. It is sufficient if
were selected more voices, these are stored in the associated field one
behind the other you separate from a comma or a point and comma.

Thanks, wait for reply.

Emanuele

Nov 13 '05 #1
4 3072
jv
I'm sorry, but I cannot understand what you asking for the life of me.
Can you please clarify where you are using a MultiSelect ListBox? What
is a combined square? Are you trying to store the values of a
MultiSelect ListBoxinto a single field? Or are you trying to store the
values into multiple fields.

Thanks.

Nov 13 '05 #2
If I understand your question correctly, the usual approach in Access is to
use a junction table to represent the choices associated with a particular
entity, and use a continuous subform to select the choices.

A junction table is a table with a 2-field key or unique index that includes
the key of the main entity to which options are to be associated, and the key
of the option to be associated.

For example:

tblEntity
* EntityId
EntityName

tblOption
* OptionId
OptionName

tblEntityOption
* EntityId
* OptionId

Your main form would be bound to tblEntity, and your subfrom would be bound to
tblEntityOption using EntityId as the parent/child link. The subform would
have a combo box bound to OptionId with the Row Source for choices being
tblOption. The Row Source would return both fields from tblOption, bound to
the OptionId in the first column, and hide that column by setting Column
Widths to zero (means first column with 0, remaining columns automatic).

On Tue, 04 Jan 2005 10:41:01 GMT, "Dj87" <in*****@interfree.it> wrote:

Hi, I do not know whether was already posted a request about this problem,
but my
problem is this.

I'd like to insert in a text field of a table of Ms Access some values from
a
list with the possibility of also choosing more than one.

From the combined square which I was using before passed to the square of
recapitulate activating the function of multiple selection with the problem
that if
all select one OK, select more than one in the field does not come
memorized nothing.

Did I forget any passage?

I must set up some other parameter. It is sufficient if
were selected more voices, these are stored in the associated field one
behind the other you separate from a comma or a point and comma.

Thanks, wait for reply.

Emanuele


Nov 13 '05 #3
I'm very sorry for my english, I'm Italian.

The problem is this.

I have a question with six possible answers. These answers can be select
without limitations (any, 1, 2, all) but I want that all the answers
selected will be stored into a cell of then main table.

I've thought to use a "casella di riepilogo" (in italian) could be "list
box"? A box with many items to select. But if I select more than 1 item data
is not stored.

How can I do it? I'd like not to use six control box (Yes/No). Are there
others methods?

Thanks!

--
Dj87

Nov 13 '05 #4
jv
Are you trying to use an option group with six check boxes to select
multiple answers? The problem is that option groups only allow you to
select a single answer.

You can try using an unbound ListBox with the MultiSelect property set
to Simple which will allow users to select mulitple answers. Then you
will have to iterate through the list indexes to find out which answers
were selected and then store the value into the table.

Or you can use six unbound check boxes and then use code to concatenate
the answers and then store the value.

Nov 13 '05 #5

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

Similar topics

3
by: Rob | last post by:
I have a form - when you click the submit button, it appends a variable to the URL (e.g. xyz.cgi?inputID=some_dynamic_variable) It also opens a new page. Now, that some_dynamic_variable is...
9
by: Stefan Bauer | last post by:
Hi NG, we've got a very urgent problem... :( We are importing data with the LOAD utility. The input DATE field data is in the format DDMMYYYY (for days) and MMYYYY (for months). The target...
28
by: Tamir Khason | last post by:
Follwing the struct: public struct TpSomeMsgRep { public uint SomeId;
16
by: | last post by:
Hi all, I have a website running on beta 2.0 on server 2003 web sp1 and I keep getting the following error:- Error In:...
7
by: zeyais | last post by:
Here is my HTML: <style> ..leftcolumn{float:left;width:300px;border: 1px solid #ccc} ..rtcolumn{float:left;width:600px;border: 1px solid #ccc} </style> <body> <div class="leftcolumn"...
33
by: dembla | last post by:
Hey Frnds can anyone help me in this i need a program in 'c' PROGRAM to print NxN Matrix 9 1 8 1 2 3 2 7 3 as 4 5 6 6 4 5 7 8 9 in sorted form
8
by: ginnisharma1 | last post by:
Hi All, I am very new to C language and I got really big assignment in my work.I am wondering if anyone can help me.........I need to port compiler from unix to windows and compiler is written...
1
by: alok sengar | last post by:
hi, I have already tried this URL's code "http://www.java2s.com/Code/CSharp/Network/SimpleSNMP.htm" but I am getting error when i am creating a UDP type Socket and recieving packet from this...
3
by: N. Spiker | last post by:
I am attempting to receive a single TCP packet with some text ending with carriage return and line feed characters. When the text is send and the packet has the urgent flag set, the text read from...
7
by: Cirene | last post by:
I used to use the Web Deployment Project with my VS2005 projects. Now I've fully upgraded to VS2008. Do I have to download a new version of the Web Deployment Project? If so where can I find...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

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.