>>>I have a drop down list that is a RowSourceType=1
>>>I want to have the first item on the list show instead of a blank that forces the
>>>user to open the pull down list
>>>
>>>the list is this
>>>> or = 2010,2009,2008,2007,2006,2005,2004,2003, < 2003
>>>
>>>and I want to have
>>>> or = 2010
>>>
>>>Can this be done in a Foxpro 9 Form? Is so how?
>>
>>One way is to add this code to the .Init( ) of the dropdown list:
>>
>>=DODEFAULT( )
>>
>>This.Value = "> or = 2010"
>>
>
>Huh, are you serious? :)
>
>I'd suspect:
>this.value = 2010
>or
>this.value = "2010"
You're being fooled by the ">"s in the autoquotes. Read the original message carefully.
Regards. Al
"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov
Neither a despot, nor a doormat, be
Every app wants to be a database app when it grows up