General information
Category:
Forms & Form designer
Try setting the RowSource and RowSourceType as follows:
*-- Set rowsource to nothing.
This.RowSource = ""
*-- Set rowsourcetype to 0(none)
This.RowSourceType = 0
*-- Drop-down list
This.Style = 2
*-- Add your items.
This.AddItem("Full Duty, Full Pay")
This.AddItem("Half Pay")
*-- Makes combo display first option.
This.ListIndex = 1
Make sure that the field length of the ControlSource is long enough for your longest item in the combobox.
-Mike
>I tried you suggestion but it only took the data in the first AddItem. It gave to options to pick from but the second one was blank. Have I done something wrong or is there one more thing I need to do for it to work?
>
>Thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only