Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Drop Down List
Message
De
20/05/2014 16:17:30
 
 
À
20/05/2014 09:26:47
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:
01600347
Vues:
61
>>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform