A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Multiple selections in Form



 
 
Thread Tools Display Modes
  #1  
Old June 8th, 2004, 04:06 PM
Chad Cromer
external usenet poster
 
Posts: n/a
Default Multiple selections in Form

On a form called "Event Grab kids Form",
I am trying to narrow a combo box called "Kidz" down by selecting

a grade and a gender from 2 list boxes called

Grade Selector & Male Female Selector respectively.


I have gotten this to work by building
[Forms]![Event Grab Kids Form]![Male Female Selector]
in the criteria section of the query builder.

My next step was to be able to at the same time select F or M,
Select them both, so that if I needed to see all the kids then I could.

I tried settting the multiselect setting to simple & extended, but then I read that
when this is done, the value returned will always be null.

Help also suggested using the ListIndex property, but I got lost.

Wondered if any had any ideas.

Peace
Chad Cromer
  #2  
Old June 8th, 2004, 04:47 PM
Eddie
external usenet poster
 
Posts: n/a
Default Multiple selections in Form

This may sound a little silly, but Ive gotten around that
problem by using a wildcard (*) to pull up any/all
matching records.

So on your form, you could either type in M, F, or *
manually, and bring up the selected records.

  #3  
Old June 16th, 2004, 09:21 PM
Chad Cromer
external usenet poster
 
Posts: n/a
Default Multiple selections in Form

That is an incredible idea, but I could not get it to work whether I used
* or (*) or "*"

my syntax is
M;F;*

I tried a simple query in which this was the only return, but all I got was
blank. Wonder what I am doing wrong.

Peace through the Son
Chad


"Eddie" wrote:

This may sound a little silly, but Ive gotten around that
problem by using a wildcard (*) to pull up any/all
matching records.

So on your form, you could either type in M, F, or *
manually, and bring up the selected records.


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 06:40 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.