Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to pass NULL for money field type?
Message
De
08/12/2006 11:51:06
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Titre:
How to pass NULL for money field type?
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01176120
Message ID:
01176120
Vues:
61
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...
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform