Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using comma as decimal separator
Message
From
27/03/2003 12:26:29
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
27/03/2003 12:23:14
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00770738
Message ID:
00770823
Views:
13
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform