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

MultiSelect on a form to generate different records ?

Hi There

Have been on a massive learning curve today creating an Access database
without having even started the software before this morning! All
going well and have learned to create table, forms, queries and even
inter link.

The database records support for a cohort of schools, giving the
ability to give summaries of support by consultant, subject etc. So far
all is going well with data being inputted by way of a school support
"docket".

However......I have one query!

I have set up a seperate form for admin to select a number of schools
attending centrally based training using a multi-select list box. This
will need to generate records in the master table, so we can include
this in our summary reports.

I can get this to work if ONE school is selected, however when
multiple schools are selected it still only creates on record and
leaves the selection blank. Any help?

I would appreciate and idiots guide type answer, as I explained earlier
I have never used Access before today!

Thanks

Darren

Jun 11 '06 #1
6 1908

Dazbear wrote:
Hi There

Have been on a massive learning curve today creating an Access database
without having even started the software before this morning! All
going well and have learned to create table, forms, queries and even
inter link.

The database records support for a cohort of schools, giving the
ability to give summaries of support by consultant, subject etc. So far
all is going well with data being inputted by way of a school support
"docket".

However......I have one query!

I have set up a seperate form for admin to select a number of schools
attending centrally based training using a multi-select list box. This
will need to generate records in the master table, so we can include
this in our summary reports.

I can get this to work if ONE school is selected, however when
multiple schools are selected it still only creates on record and
leaves the selection blank. Any help?

I would appreciate and idiots guide type answer, as I explained earlier
I have never used Access before today!

Thanks

Darren


Lose the listbox. Just use a subform with a combobox. Much easier.
If you absolutely insist on using a listbox, check out
www.mvps.org/access then look up listbox. It'll show you how to
add/filter records based on a listbox.

Jun 11 '06 #2
Would that allow me to create a new record in the master table for
every school selected?

Don't know how to set up sub-forms etc

:O(
pi********@hotmail.com wrote:
Dazbear wrote:
Hi There

Have been on a massive learning curve today creating an Access database
without having even started the software before this morning! All
going well and have learned to create table, forms, queries and even
inter link.

The database records support for a cohort of schools, giving the
ability to give summaries of support by consultant, subject etc. So far
all is going well with data being inputted by way of a school support
"docket".

However......I have one query!

I have set up a seperate form for admin to select a number of schools
attending centrally based training using a multi-select list box. This
will need to generate records in the master table, so we can include
this in our summary reports.

I can get this to work if ONE school is selected, however when
multiple schools are selected it still only creates on record and
leaves the selection blank. Any help?

I would appreciate and idiots guide type answer, as I explained earlier
I have never used Access before today!

Thanks

Darren


Lose the listbox. Just use a subform with a combobox. Much easier.
If you absolutely insist on using a listbox, check out
www.mvps.org/access then look up listbox. It'll show you how to
add/filter records based on a listbox.


Jun 11 '06 #3

Dazbear wrote:
Would that allow me to create a new record in the master table for
every school selected?

Don't know how to set up sub-forms etc

:O(


Yes, and it's more flexible than mucking with listboxes. That's not to
say that you can't do it with a listbox, it's just harder to do that.

You might want to get a book like the SAMS book on Access for the
version you're using ore the Que one (usu. by Roger Jennings) and have
a read. Either that or tear apart the sample DB.

Jun 11 '06 #4
Thanks Piet.

I am now exploring the DLAST command to see if I can just save time by
having the next record using that form pre-populated with data from the
last. This seems a compromise as I cant even get combis to allow
multi-selection (I know....but I am a noobie).

At the moment I cant get DLAST to do its job, I just get !ERROR in the
fields when moving to the next record. I will have to have a bit more
of a play.

hehe

Thanks for you help


pi********@hotmail.com wrote:
Dazbear wrote:
Would that allow me to create a new record in the master table for
every school selected?

Don't know how to set up sub-forms etc

:O(


Yes, and it's more flexible than mucking with listboxes. That's not to
say that you can't do it with a listbox, it's just harder to do that.

You might want to get a book like the SAMS book on Access for the
version you're using ore the Que one (usu. by Roger Jennings) and have
a read. Either that or tear apart the sample DB.


Jun 12 '06 #5
Dazbear wrote:
Thanks Piet.

I am now exploring the DLAST command to see if I can just save time by
having the next record using that form pre-populated with data from
the last. This seems a compromise as I cant even get combis to allow
multi-selection (I know....but I am a noobie).

At the moment I cant get DLAST to do its job, I just get !ERROR in the
fields when moving to the next record. I will have to have a bit more
of a play.

hehe


Google these groups on the DFirst and DLast functions. They don't do what you
think they do and are mostly useless.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
Jun 12 '06 #6
Sorted!

As I only need it to remember the information during the current input
session and not in the future I used a button to create DUPLICATE
RECORD and then edit.

I was trying to make it too complicated (hehe).

Thanks for all of your help.

D


Rick Brandt wrote:
Dazbear wrote:
Thanks Piet.

I am now exploring the DLAST command to see if I can just save time by
having the next record using that form pre-populated with data from
the last. This seems a compromise as I cant even get combis to allow
multi-selection (I know....but I am a noobie).

At the moment I cant get DLAST to do its job, I just get !ERROR in the
fields when moving to the next record. I will have to have a bit more
of a play.

hehe


Google these groups on the DFirst and DLast functions. They don't do what you
think they do and are mostly useless.

--
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com


Jun 12 '06 #7

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

Similar topics

4
by: Jon McLean | last post by:
I fear that my question may be elementary, but what I am trying just is not working. I have two tables: tblContacts (Essentially a mailing list. Each contact has an Autonumber ID.)...
2
by: Sally | last post by:
I have a simple multiselect listbox with a rowsorce of MemberID, MemberName, SendLetter. SendLetter is a Yes/No field. What is the code to set SendLetter to Yes when the user selects MemberName? I...
1
by: Peter | last post by:
Dear all, Could you give me a hint? a) I generate a report from a query table, then I want to use this report to show the total numbers of the customers who buy the goods. There is a string...
1
by: tod4 | last post by:
Hi, My problem: I have query with value klient and product. On my form Im using multiselect box as filter of klient value. Now I would like to use second multiselect on this form for product...
3
by: Susan Bricker | last post by:
Greetings. I have three forms that are open at the same time. They are related and cascading. The first form (frmEventAdd) is the anchor. Each event can have many Trials. The second form is...
5
by: doncee | last post by:
Please point me in the direction of some good, free web based resources\ documentation for information on developing the multi select list boxes. Have made extensive use of the non-multi list...
3
by: kaosyeti via AccessMonster.com | last post by:
hey... i have an unbound multiselect listbox on a form that i want to use to populate text boxes on that form. so if a user selects the 3rd item in a list of 20, how can i have that item show up...
6
by: Dave | last post by:
On my form I have combo boxes. These combo boxes, after updating them, populate respective listboxes that are located below the combo boxes on the same form. I am trying to use a "generate...
5
by: martin DH | last post by:
Hello, The details are below, but I have a simple form (Form1) with two objects and a "search" command button. When the two objects are cascading combo boxes (the form creates the parameters for a...
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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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.