165a7 Combo Box
Sign Up |  Live StatsLive Stats    Articles 37,297| Comments 176,935| Members 19,397, Newest birinder| Online 416
Home Contact
 (Forgotten?): 
    Sikhism
    For best SPN experience, use Firefox Internet Browser!


                                                                   Your Banner Here!    




Combo Box

Our Donation Goal : Why Donate? : Donate Today! : Donate Anonymously (ਗੁਪਤ) : Our Family of Supporters
Goal this month: 500 USD, Received: 100 USD (20%)
Please Donate...
     
Related Topics...
Thread Thread Starter Forum Replies Last Post
how to use a combo box result in a sub form combo box / query Rabbie Williams Information Technology 3 28-Jul-2006 08:32 AM
combo box help!! JG Information Technology 2 28-Jul-2006 08:27 AM
Using Combo Boxes to Display Data from Previous Combo Box select? Jeth0808 Information Technology 1 28-Jul-2006 08:19 AM
Combo box Lin Light Information Technology 0 28-Jul-2006 08:00 AM
combo box JIM WHITAKER Information Technology 2 27-Oct-2005 08:59 AM


Tags
combo, box
Reply Post New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!
  #1 (permalink)  
Old 28-Jul-2006, 08:23 AM
Jamie's Avatar Jamie
Guest
 
Posts: n/a
   
   
Combo Box

  Donate Today!   Email to Friend  Tell a Friend   Show Printable Version  Print   Contact sikhphilosophy.net Administraion for any Suggestions, Ideas, Feedback.  Feedback  

Register to Remove Advertisements
I have recently taken over a database designed by someone else. I would like
to make a report using a combo box that was set up using a # to identify a
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/information-technology/11788-combo-box.html
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
field. I would like to show the value instead of the # in my report (eg.
1=Female, 2=Male).When I create the query only the number shows. How do I do
this. I would like to keep the # for inputing as it is easier than typing in
the value.
Any help is greatly appreciated. Thanks. Jamie

*







Do share your immediate thoughts or reactions on this issue? We value your views! Login Now! or Sign Up Today! to share your views with us.. Gurfateh!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 28-Jul-2006, 08:23 AM
Jeff Boyce's Avatar Jeff Boyce
Guest
 
Posts: n/a
   
   
Re: Combo Box

Jamie

Add a field into your query. Use the IIF() function to derive "Male" or
"Female", based on the #.

Use that new field instead of the # field.

Regards

Jeff Boyce
Microsoft Office/Access MVP


"Jamie" wrote in message
news:6CA6D7CE-BB5B-422B-AAE5-FB9B697557C1@microsoft.com...
>I have recently taken over a database designed by someone else. I would
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
>like
> to make a report using a combo box that was set up using a # to identify a
> field. I would like to show the value instead of the # in my report (eg.
> 1=Female, 2=Male).When I create the query only the number shows. How do I
> do
> this. I would like to keep the # for inputing as it is easier than typing
> in
> the value.
> Any help is greatly appreciated. Thanks. Jamie



Reply With Quote
  #3 (permalink)  
Old 28-Jul-2006, 08:23 AM
Al Camp's Avatar Al Camp
Guest
 
Posts: n/a
   
   
Re: Combo Box

Jamie,
Formatting Male for a 1 and Female for a 2 on a report will not have any effect on how
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
you enter the 1 or 2 on your form. So, no worry on that.

Assuming a field called Gender with numeric values of either 1 or 2...
On your report, place an unbound text control with a ControlSource of...

= IIF(Gender = 1, "Male", "Female")

Now instead of displaying the Gender number you'll get "Male or "Female"

And... don't forget options for 3 = "Transgender" or 4 = "Not Sure".... :-D

--
hth
Al Camp
Candia Computer Consulting - Candia NH
http://home.comcast.net/~cccsolutions
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788

"Jamie" wrote in message
news:6CA6D7CE-BB5B-422B-AAE5-FB9B697557C1@microsoft.com...
>I have recently taken over a database designed by someone else. I would like
> to make a report using a combo box that was set up using a # to identify a
> field. I would like to show the value instead of the # in my report (eg.
> 1=Female, 2=Male).When I create the query only the number shows. How do I do
> this. I would like to keep the # for inputing as it is easier than typing in
> the value.
> Any help is greatly appreciated. Thanks. Jamie



Reply With Quote
  #4 (permalink)  
Old 28-Jul-2006, 08:23 AM
Jamie's Avatar Jamie
Guest
 
Posts: n/a
   
   
Re: Combo Box

Jeff,
I'm not sure what you mean. Still pretty new.

"Jeff Boyce" wrote:

> Jamie
>
> Add a field into your query. Use the IIF() function to derive "Male" or
> "Female", based on the #.
>
> Use that new field instead of the # field.
>
> Regards
>
> Jeff Boyce
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
> Microsoft Office/Access MVP
>
>
> "Jamie" wrote in message
> news:6CA6D7CE-BB5B-422B-AAE5-FB9B697557C1@microsoft.com...
> >I have recently taken over a database designed by someone else. I would
> >like
> > to make a report using a combo box that was set up using a # to identify a
> > field. I would like to show the value instead of the # in my report (eg.
> > 1=Female, 2=Male).When I create the query only the number shows. How do I
> > do
> > this. I would like to keep the # for inputing as it is easier than typing
> > in
> > the value.
> > Any help is greatly appreciated. Thanks. Jamie

>
>
>

Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
Reply With Quote
  #5 (permalink)  
Old 28-Jul-2006, 08:23 AM
fredg's Avatar fredg
Guest
 
Posts: n/a
   
   
Re: Combo Box

  Donate Today!  
On Tue, 20 Jun 2006 12:12:03 -0700, Jamie wrote:
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788
Reference:: Sikh Philosophy Network http://www.sikhphilosophy.net/showthread.php?t=11788

> I have recently taken over a database designed by someone else. I would like
> to make a report using a combo box that was set up using a # to identify a
> field. I would like to show the value instead of the # in my report (eg.
> 1=Female, 2=Male).When I create the query only the number shows. How do I do
> this. I would like to keep the # for inputing as it is easier than typing in
> the value.
> Any help is greatly appreciated. Thanks. Jamie


Use an unbound text control.
=IIf([FieldName] = 1,"Female","Male")

If there is a chance that neither has been selected:
=IIf([FieldName] = 1,"Female",IIf([FieldName] = 2,"Male","Not
Selected"))
--
Fred
Please respond only to this newsgroup.
I do not reply to personal e-mail
Reply With Quote
   Click Here to Donate Now!

Support Us!
Become a Promoter!
Gurfateh ji, you can become a SPN Promoter by Donating as little as $10 each month. With limited resources & high operational costs, your donations make it possible for us to deliver a quality website and spread the teachings of the Sri Guru Granth Sahib Ji, to serve & uplift humanity. Every contribution counts. Donate Generously. Gurfateh!
ReplyPost New Topic In This Forum Stay Connected to Sikhism, Click Here to Register Now!

Bookmarks


(View-All Members who have read this thread : 0
There are no names to display.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Tools Search
Search:

Advanced Search
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

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

» Active Discussions
Saudi Woman Makes...
Today 01:01 AM
0 Replies, 1 Views
Of Serpents, Pigs,...
Today 00:55 AM
36 Replies, 854 Views
Do you believe in...
Today 00:28 AM
165 Replies, 3,454 Views
Map shows world's 'most...
Yesterday 23:56 PM
7 Replies, 101 Views
The Great Imp Debate
Yesterday 23:12 PM
31 Replies, 451 Views
Thought of the Moment!
Yesterday 20:55 PM
104 Replies, 4,960 Views
Sikhs making Their...
Yesterday 20:51 PM
0 Replies, 47 Views
Panjabi
Yesterday 11:53 AM
8 Replies, 188 Views
A Sydney [Aust] man who...
By Ishna
Yesterday 11:04 AM
0 Replies, 58 Views
Sikh Spokesman (ਪੰਜਾਬੀ...
Yesterday 10:42 AM
164 Replies, 4,266 Views
BHOOTS (Ghosts) and...
Yesterday 08:20 AM
91 Replies, 13,704 Views
Before He Was Sir...
Yesterday 05:40 AM
6 Replies, 131 Views
Should SPN Keep the...
Yesterday 04:37 AM
15 Replies, 298 Views
Rozana Reports (ਪੰਜਾਬੀ...
Yesterday 01:52 AM
298 Replies, 7,363 Views
‘Our girl was murdered...
Yesterday 01:37 AM
8 Replies, 164 Views
» Books You Should Read...
Powered by vBadvanced CMPS v3.2.3
All times are GMT +6.5. The time now is 01:12 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2 Copyright © 2004-12, All Rights Reserved. Sikh Philosophy Network


Page generated in 0.54544 seconds with 32 queries
0