Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change a text box to a combo box, acCmdChangeToComboBox

Status
Not open for further replies.

h3lm3t

Technical User
May 27, 2003
16
0
0
GB
Hi there, i having trouble changing a text box control to a combo box, i looked at MSDN but could not find the correct sysntax, or even any refernece to the function.

Its part of doCmd.RunCommand

Any ideas n how to change it ?
Thanx in advance for any and all help
cheers
h3lm3t

:cool:
 
Hi h3lm3t,

This site demonstrates better than I could on how to use acCmdChangeToComboBox and other related constants:


Before you start delving into this or possibly wasting your time, you would only be able to use this Function while in design view of a form or report.

Bill
 
Hi Bill, thanx for the reply, i had been to that site, i ended up doing a workaround.
I messed around and got this

close form
open form in design
Me.txtManuName.ControlType = acComboBox
close form ( over-ride the save)
open form

that worked, just incase anyone wants to know.

Again ta for the help Bill.
regards
h3lm3t
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top