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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Convert text field to combo box?



 
 
Thread Tools Display Modes
  #1  
Old December 13th, 2006, 03:00 PM posted to microsoft.public.access.forms
Minnie M
external usenet poster
 
Posts: 27
Default Convert text field to combo box?

I’m using a db in Access 2002 and have a form and a subform with a
one-to-many relationship. The form shows employees’ personal details and the
sub form which is continuous shows details of ID cards issued to each
employee. The forms are linked through a ‘Name’ field. I have been typing in
the name in both forms but I want to make the ‘Name’ field on the subform
into a combo box so that I can pick the name out of a list that is generated
from a table called Employees. Can I convert a text field into a combo box
field? I’m worried that the typed-in name on the subform will disappear from
each record if I change the control.
  #2  
Old December 13th, 2006, 03:05 PM posted to microsoft.public.access.forms
Douglas J. Steele
external usenet poster
 
Posts: 9,313
Default Convert text field to combo box?

Changing a control on a form has no impact on the data already in the table
(although if it's not done correctly, the form may not work, or you may
impact data inserted from then on).

Select the text box, right-click on it, choose "Change To" from the context
menu that appears, and select Combo Box. Just make sure you have the correct
column of the combo box bound to the recordset.

If you're concerned, remember you can always make a copy of your current
forms, and work on that.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Minnie M" wrote in message
...
I'm using a db in Access 2002 and have a form and a subform with a
one-to-many relationship. The form shows employees' personal details and
the
sub form which is continuous shows details of ID cards issued to each
employee. The forms are linked through a 'Name' field. I have been typing
in
the name in both forms but I want to make the 'Name' field on the subform
into a combo box so that I can pick the name out of a list that is
generated
from a table called Employees. Can I convert a text field into a combo box
field? I'm worried that the typed-in name on the subform will disappear
from
each record if I change the control.



  #3  
Old December 14th, 2006, 11:52 AM posted to microsoft.public.access.forms
Minnie M
external usenet poster
 
Posts: 27
Default Convert text field to combo box?

Hi Doug, I practiced on a copy as you suggested and its working!

Many thanks for your help.

"Douglas J. Steele" wrote:

Changing a control on a form has no impact on the data already in the table
(although if it's not done correctly, the form may not work, or you may
impact data inserted from then on).

Select the text box, right-click on it, choose "Change To" from the context
menu that appears, and select Combo Box. Just make sure you have the correct
column of the combo box bound to the recordset.

If you're concerned, remember you can always make a copy of your current
forms, and work on that.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(no e-mails, please!)


"Minnie M" wrote in message
...
I'm using a db in Access 2002 and have a form and a subform with a
one-to-many relationship. The form shows employees' personal details and
the
sub form which is continuous shows details of ID cards issued to each
employee. The forms are linked through a 'Name' field. I have been typing
in
the name in both forms but I want to make the 'Name' field on the subform
into a combo box so that I can pick the name out of a list that is
generated
from a table called Employees. Can I convert a text field into a combo box
field? I'm worried that the typed-in name on the subform will disappear
from
each record if I change the control.




 




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 01:38 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.