Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Type Mistmatch
Message
De
29/07/2004 07:04:16
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00929104
Message ID:
00929107
Vues:
11
This message has been marked as the solution to the initial question of the thread.
Hi Neil,
try
INSERT INTO winnings (amount) ;
 VALUES  (val(thisform.text1.value))
>I have a Textbox which I have set the format to R and the inputmask to 99.99. When a figure is inserted and a button pressed the value is inserted into a table called winnings. Therefore the on click event on the button is:
>
>
>IF thisform.Optiongroup1.value = 1
>	USE winnings
>	INSERT INTO 'winnings' (amount) ;
>  	 VALUES  (thisform.text1.value)	
>ENDIF
>
>
>On the amount field in the winnings table I have set this to numeric but I am recieving a data type mismatch error. Can anybody help me please?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform