Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Drop Down List
Message
From
20/05/2014 16:17:30
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01600126
Message ID:
01600347
Views:
60
>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform