Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append
Message
De
28/04/2008 06:32:02
 
 
À
28/04/2008 06:00:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Re: Append
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01313438
Message ID:
01313443
Vues:
8
hi,
thank you for reply,
Thisform.Text13.Value == [x]
i get error message Operator/operand type mismatch

but i try as
REPLACE prior WITH Thisform.Optiongroup1.Value in (cAlias)&&it works

but i need to insert value at my filed as 1 if option 1,2 if optin2 or 3 if option3

thanks

>Hi Mohammed,
>
>You are using the wrong function.
>VAL() will convert a value into a numeric one.
>
>
>?VAL([x]) will always give you 0.00
>
>
>If you want to know if the current Textbox.Value equals [x] then it is enough to write this:
>
>
>IF Thisform.Text13.Value == [x]
>    Replace prior with 1 in <name of your table or cursor>
>ENDIF
>
>
>however, why don't you use an optiongroup? It would be so much easier to handle.
>
>i.e.
>
>
>    REPLACE prior WITH Thisform.myOptiongroup.Value in <myCursorName>
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform