Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
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
  #2  
Old 01-04-2011, 02:56 AM
Thomas Farmery Thomas Farmery is offline Drop Down Boxes Windows Vista Drop Down Boxes Office 2007
Novice
Drop Down Boxes
 
Join Date: Dec 2010
Posts: 5
Thomas Farmery is on a distinguished road
Default


Hello Paul,
Thank you for your response, it does make sense what you have said and is exactly what I would like to do with the software. However I can’t find the area in which to enter the formula fields? Below are the steps I normally take to create a drop down box can you advise me on the additional step required.
Option 1,
1) Developer tab (click) drop down list drop down tab created (do I need to create a combo box instead?)
Choose an item.
2)click properties entre relevant information click ok and the drop down box is created.

Option 2,
Create a drop down form field in the legacy tools.

Then select properties a tab comes up that looks much more like the area I should be in however when I press F9 the brackets do not create.
Any additional help would be really appreciated
Regards
Tom
Reply With Quote
Reply



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 02:00 AM.


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