A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Change a text box to a combo box



 
 
Thread Tools Display Modes
  #1  
Old March 19th, 2010, 04:45 AM posted to microsoft.public.access.gettingstarted
forest8
external usenet poster
 
Posts: 196
Default Change a text box to a combo box

Hi there

I have created several forms in my database.

I realized that I should have made them combo boxes instead of text boxes.

Is there any easy way for me to change them into the format I need?

Thank you in advance for your help.
  #2  
Old March 19th, 2010, 04:49 AM posted to microsoft.public.access.gettingstarted
Reggie[_4_]
external usenet poster
 
Posts: 25
Default Change a text box to a combo box

Right-click on the text box and select changeTo from the menu.

--

Reggie
"forest8" wrote in message
Hi there

I have created several forms in my database.

I realized that I should have made them combo boxes instead of text boxes.

Is there any easy way for me to change them into the format I need?

Thank you in advance for your help.


  #3  
Old March 19th, 2010, 05:03 PM posted to microsoft.public.access.gettingstarted
KenSheridan via AccessMonster.com
external usenet poster
 
Posts: 1,610
Default Change a text box to a combo box

Do as Reggie said, but you’ll then have to enter the control’s RowSource
property at least; and possibly also have to amend its BoundColum,
ColumnCount and ColumnWidths properties if the combo box is to show a value
from a column or columns in another table referenced by a ‘surrogate’ foreign
key in the form’s underlying table. A combo box bound to an EmployeeID
foreign key column for instance might be set up as follows:

RowSource: SELECT EmployeeID, FirstName & " " & LastName FROM Employees
ORDER BY LastName, FirstName;

BoundColum: 1
ColumnCount: 2
ColumnWidths: 0cm;8cm

If your units of measurement are imperial rather than metric Access will
automatically convert the last one. The important thing is that the first
dimension is zero to hide the first column and that the second is at least as
wide as the combo box.

Ken Sheridan
Stafford, England

forest8 wrote:
Hi there

I have created several forms in my database.

I realized that I should have made them combo boxes instead of text boxes.

Is there any easy way for me to change them into the format I need?

Thank you in advance for your help.


--
Message posted via http://www.accessmonster.com

 




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:49 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.