skippypower
Registered User.
- Local time
- Today, 14:43
- Joined
- Jan 6, 2012
- Messages
- 10
Hi,
Im trying to select a value in a combo box. using this code:
Form_frmExpandAssembly.cboAssemblyID.SetFocus
Form_frmExpandAssembly.cboAssemblyID.ListIndex = 0
Form_frmExpandAssembly.cboAssemblyID.Dropdown
This selects the first value but i want to select a value that is equal to a text box i have elsewhere.
I have tryed:
Form_frmExpandAssembly.cboAssemblyID.SetFocus
Form_frmExpandAssembly.cboAssemblyID = Text23
Form_frmExpandAssembly.cboAssemblyID.Dropdown
Do i need some form of look up code?? or am i just being a spanner??
Im trying to select a value in a combo box. using this code:
Form_frmExpandAssembly.cboAssemblyID.SetFocus
Form_frmExpandAssembly.cboAssemblyID.ListIndex = 0
Form_frmExpandAssembly.cboAssemblyID.Dropdown
This selects the first value but i want to select a value that is equal to a text box i have elsewhere.
I have tryed:
Form_frmExpandAssembly.cboAssemblyID.SetFocus
Form_frmExpandAssembly.cboAssemblyID = Text23
Form_frmExpandAssembly.cboAssemblyID.Dropdown
Do i need some form of look up code?? or am i just being a spanner??