PC Review


Reply
 
 
learning_codes@hotmail.com
Guest
Posts: n/a
 
      1st May 2010
Hi,

I create combo list that has a list of sports. The combo list table
has

- hockey
- baseball
- Bowling
- Tennis

I don't want to add "all sports" to combo list table. Is there a
way
to add "all sports" to combo list on the form instead of table.
My query has a field called SPORT. If I want to select "ALL sports"
from the form
then I get All sport names.

Your help would be much appreciated

Thanks

 
Reply With Quote
 
 
 
 
Tom van Stiphout
Guest
Posts: n/a
 
      1st May 2010
On Sat, 1 May 2010 08:24:13 -0700 (PDT), "(E-Mail Removed)"
<(E-Mail Removed)> wrote:

Yes. I'm guessing your combobox currently has a RowSource that is the
table name. Change that to a query name instead. Create a new query,
switch to SQL view (that's the only view in which you can write a
union query), and write something like this:
select -1, "All Sports" from tblSports
union all
select SportID, SportName from tblSports

-Tom.
Microsoft Access MVP


>Hi,
>
>I create combo list that has a list of sports. The combo list table
>has
>
>- hockey
>- baseball
>- Bowling
>- Tennis
>
>I don't want to add "all sports" to combo list table. Is there a
>way
>to add "all sports" to combo list on the form instead of table.
>My query has a field called SPORT. If I want to select "ALL sports"
>from the form
> then I get All sport names.
>
>Your help would be much appreciated
>
>Thanks

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use VBA to reset data validation (=list) value to first value in that list (list is a named range) ker_01 Microsoft Excel Programming 7 27th Oct 2008 03:13 PM
Compare List A to List B, Return List B Items Not in List A zwestbrook Microsoft Excel Programming 4 18th Sep 2008 10:32 PM
Global List not Display new Secruity List and Distr List =?Utf-8?B?S2V2aW4gR2Fs?= Microsoft Outlook Contacts 2 15th Aug 2006 05:02 PM
validation list--list depends on the selection of first list =?Utf-8?B?TWljaGFlbA==?= Microsoft Excel New Users 2 27th Apr 2006 10:23 PM
list 1 has 400 names List 2 has 4000. find manes from list 1 on 2 =?Utf-8?B?RWQ=?= Microsoft Excel Worksheet Functions 5 12th Sep 2005 09:48 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:21 PM.