Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop Down List
Message
De
21/05/2014 09:18:12
 
 
À
20/05/2014 16:17:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01600126
Message ID:
01600390
Vues:
44
>>>>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.

Ah, yes, now I see it. Andy Roth wrote a not so userfriendly interface. I'd have written something like:

2010 or later
2009
2008
2007
2006
2005
2004
2003
2002 or earlier
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform