Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Time() subtract
Message
De
17/08/2004 08:34:28
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
16/08/2004 16:07:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00933602
Message ID:
00933785
Vues:
27
"Operator/operand type mismatch" means that there is an incompatibility between data types. For instance, you try to use "+" to combine a character with a numeric, or perhaps a function expects a date and receives a text.

ctot(ThisForm.Text2.Value) only works if the Value is of type Character. It won't work with numeric, for example.

>hi,
>i get error message
>
>Operator/operand type mismatch
>
>store  TTOC({^2000/01/01} + CTOT(thisform.text2.value)- {^2000/01/02} + CTOT(thisform.text1.value)) to tResult
>
>
>and variable tResult not found
>
>thanks.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform