G
Guest
How do I set up the code so that multiple selections in the list box are
displayed in the sub form?
displayed in the sub form?
Jeff Boyce said:Nanette
.... and the subform? What is it based on?
Regards
Jeff Boyce
Microsoft Office/Access MVP
Jeff Boyce said:Nanette
I was away from the newsgroups yesterday. I'll take another look...
Regards
Jeff Boyce
Microsoft Office/Access MVP
Nanette said:Hi Jeff,
Clear communication is difficult sometimes and being new at this, perhaps
I
set it up differently than the normal way. Let me try to explain better.
Yes, the listbox and the subform are based on the LineItem table.
I did this so that the user could choose one, all, or several rows of data
based on the three primary keys. In the subform, other fields will be
displayed that are in the LineItem table.
Example of potential data chosen and displayed on subform:
RF# 1a, Change# 00, LineItem# 00100, other fields
RF# 1a, Change# 01, LineItem# 00200, other fields
RF# 1a, Change# 02, LineItem# 00100, other fields
Sometimes a RF# can have up to 40 rows of data with various change#s and
lineitem#s. And, sometimes the boss only wants to create a report based on
1
or 5 or 10 rows.
The user is restricted to choosing only one RF#.
The Change# and LineItem# will vary.
What I'm trying to do is use a multi select list box (from the main form) tomultiple records all displayed at the same time. This seems like it could
be confusing ... "am I updating all selected with these changes, or am I
only updating one of these, and if one, which one?"
I'll suggest that you may want to consider giving the user a way to select a
single record, update it in the subform, then select another record, update
it, etc.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.