Sandra, for the link, I'm having some difficulties that
maybe you can resolve.
Having a bit of a problem. I cannot seem to duplicate what
is going on in the listboxes. I have fought for hours to
get mine to emulate this, but no success.
I looked into your query AvailClasses. While on the
surface it appears easy, when I tried the same thing, I
only get a portion of the numbers in my table. Kinda
making me nuts. Anyway, looking at the query via SQL I see
this;
SELECT c.ClassId, c.ClassName, pc.ClassId
FROM tblclasses AS c LEFT JOIN [SELECT
tblPersonClasses.PersonNbr, tblPersonClasses.ClassId FROM
tblPersonClasses WHERE tblPersonClasses.PersonNbr=[forms]!
[frmPersonClasses]![personnbr]]. AS pc ON c.ClassId =
pc.ClassId
WHERE (((pc.ClassId) Is Null));
What I can't seem to understand is where the internal
[SELECT tblPersonClasses....]" came from. I think I
understand what it does as if you run the query, it asks
for a parameter input which is being drawn from the form.
That's cool and that's what I need to. I just cannot get
it to work. Access pumps out a "error in FROM clause" and
I can't seem to get it fixed.
Like I said, my situation is virtually identical to your
sample db. What you have done, I need to do here too.
Being a newbie, I cannot figure this one out.
Can you assist?
Thanks,
Pat
-----Original Message-----
Sandra,
Was looking for something exactly as you have described
here. It was exactly what I wanted.
One more item if I may, I was studying this so I can learn
from it. I was trying to make a "Select All" choice here
but cannot seem to get the thing right. Your buttons allow
multiple selections and that's great. How can I get a
Select All to do the same thing? I'm still learning
recordsets and cannot seem to get this working.
Thanks!
PC
-----Original Message-----
LOL - Be sure to tell them who sent you if you decide to enroll
anyone - maybe they'll give me referral credit towards my tuition .
. . (right after pigs start flying over the moon!).
--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this newsgroup.
Mark wrote:
Many thanks! It was a good trick to get me to search the
entire web-site though.
-----Original Message-----
PMFJI, but I suspect Sandra had a small fumble in cutting and
pasting the URL... go to:
http://www.daiglenet.com/MSAccess.htm
HTH
Fred Boer
Thanks for the reply. So where do I find the database?
-----Original Message-----
Take a look at my SelectRecords sample db on
http://www.mccallie.org/midschl/index.htm. You should be able to
get some ideas from it.
--
Sandra Daigle
[Microsoft Access MVP]
For the benefit of others please post all replies to this
newsgroup.
Mark wrote:
I've created a List Box containing names that allows the
user the make multiple selections and then click
a 'Finish' button. The idea is that only the selections
will be transferred into a table. Any ideas on how I can
do this?
Many thanks
Mark
.
.
.
.