Solved

Change to Combo

Posted on 2013-01-15
5
263 Views
Last Modified: 2013-01-15
Hello All,

Need a small favor –
Can you guys help me to Change the “ShipName” field in the form to a drop down instead of text input

thanks
finalTestPleaseRev.accdb
0
Comment
Question by:Rayne
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
5 Comments
 
LVL 61

Expert Comment

by:mbizup
ID: 38780619
Try this -

It's based on a sample from your earlier question, but I got there too late.

Look at the code behind the command button.
finalTestPlease---Copy.accdb
0
 
LVL 120

Assisted Solution

by:Rey Obrero (Capricorn1)
Rey Obrero (Capricorn1) earned 200 total points
ID: 38780640
test this

select a value from the combo box and it automatically filter the records
finalTestPleaseRev.accdb
0
 
LVL 61

Accepted Solution

by:
mbizup earned 300 total points
ID: 38780647
Here's the same think with your new sample...

All you need to do is right-click the textbox and select "Change to combobox"

Then set the combobox's rowsource property to:

SELECT DISTINCT [Ship Name] FROM tblSource
finalTestPleaseRev--1-.accdb
0
 

Author Closing Comment

by:Rayne
ID: 38780662
thanks everyone :)
0
 

Author Comment

by:Rayne
ID: 38780712
0

Featured Post

SharePoint Admin?

Enable Your Employees To Focus On The Core With Intuitive Onscreen Guidance That is With You At The Moment of Need.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It’s the first day of March, the weather is starting to warm up and the excitement of the upcoming St. Patrick’s Day holiday can be felt throughout the world.
Traditionally, the method to display pictures in Access forms and reports is to first download them from URLs to a folder, record the path in a table and then let the form or report pull the pictures from that folder. But why not let Windows retr…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question