Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Equal
Message
 
À
31/03/2005 06:40:20
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Re: Equal
Versions des environnements
Visual FoxPro:
VFP 7
Database:
Visual FoxPro
Divers
Thread ID:
01000221
Message ID:
01000227
Vues:
22
>hi,
>syntax error
>>>hi all,
>>>i try via procedure valid to do this statment to get 1,2 ...11,12....
>>>if i press at number 1 at mykeybord i see at my textbox and mylist number 10, but i need to see number 1 as example
>>>this the statment i try
>>>
>>>thisform.text1.Value=val(this.value)&& i try == i get error mesaage
>>>
>>>thanks.

>>

Mohammed, try this
thisform.text1.Value=IIF(VARTYPE(this.value)="C",val(this.value),This.Value)
First time the value is Char but next time the value is alawys N
_______________________________________________________________
Testing displays the presence, not the absence of bugs.
If a software application has to be designed, it has to be designed correctly!
_______________________________________________________________
Vladimir Zografski
Systems Analyst
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform