Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 12-31-2010, 03:36 PM
macropod's Avatar
macropod macropod is offline Drop Down Boxes Windows 7 32bit Drop Down Boxes Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Hi Thomas,

Unless you need to be able to select a different phone # than the one determined by the name, there's no need for the second dropdown. All you need is a set of ordinary formula fields coded along the lines of:
{IF{REF Dropdown1}= "1stname" "123456"}
{IF{REF Dropdown1}= "2ndname" "234567"}
{IF{REF Dropdown1}= "3rdname" "345678"}
and so on, where 'Dropdown1' is the formfield's bookmark name (found via its 'properties - which you also set to 'calculate on exit') and 1stname, 2ndname, 3rdname are the actual names and the number strings are the phone numbers.

I've put all the fields on separate lines for clarity, but you can have them all on the same line - the fields for which there's no match simply won't display.

Note: The field brace pairs (ie '{ }') for the above example are created via Ctrl-F9 - you can't simply type them or copy & paste them from this message.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Add new textures to color boxes?? Davinner PowerPoint 0 09-09-2010 04:07 AM
Drop Down Boxes Grouping text boxes daviddoria PowerPoint 1 07-26-2010 06:12 AM
Comment Boxes Bisonex Word 0 02-26-2010 04:00 AM
Borderless Text Boxes boutells Word 2 06-22-2009 11:43 PM
Problem with Developer Form -- Check Boxes and Text Boxes PCC Word 1 05-16-2009 05:22 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 12:36 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft