>Does any know how I can have the default values for a combo box as:
>
>Blank
>Days
>Months
>Years
>
>Or do I have to put all these values in a table and have it point to there?
>
>TIA
>
>Jeff T.
Ensure that you set style to dropdownlist and rowsource to this.aitems and rowsourcetype to 5 - array
In the init of the form I had code that went
WITH ThisForm.C40Combo
.SORTED = .F.
.CLEAR()
DIMENSION .aitems[3]
.aitems[1] = ' '
.aitems[2] = 'Days'
.aitems[3] = 'Months'
.aitems[4] = 'Years'
.Requery()
.ListIndex = 1
ENDWITH
Hope this helps or maybe leads you to a solution
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope