Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to pass NULL for money field type?
Message
From
08/12/2006 11:51:06
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
How to pass NULL for money field type?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01176120
Message ID:
01176120
Views:
60
Hi,
How to pass .NULL. for money field type? I tried code below and hit error "unable to convert character type to money data type"
lybasic = .NULL.

SQLEXEC(1, "INSERT INTO mytable (myfield) VALUES (?lybasic)")
This problem only happen to SQL Server 2000. It works fine for SQl Server 2005

Any ideas?
I am not the most powerful man in this world.
I am not the worst man in this world either.
I just as same as all of you.
I still need to learn from my mistakes...
Next
Reply
Map
View

Click here to load this message in the networking platform