Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using comma as decimal separator
Message
De
27/03/2003 12:26:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
27/03/2003 12:23:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00770738
Message ID:
00770823
Vues:
12
>Hi,
>
>This is the problem. Converted number with STR(12.2,10,2) is 12,2 and SQLEXEC gets string
>
>SQLEXEC(handle," Update Mytable SET num=11,2 ... " This generates an error incorect syntax near 2

Why do you do such conversion :

lnNumber = 12.2
SQLEXEC(handle," Update Mytable SET num=?lnNumber ... "

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform