Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem in a SQL command
Message
De
09/03/2006 09:52:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Problem in a SQL command
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01102747
Message ID:
01102747
Vues:
63
i was trying to do the following

select date,ncurrency,iif(ncurrency=2,famt,0),iif(ncurrency=1,famt,0) from tbmain into cursor vwx

but for some reason if ncurrency=2 then the value comes as a *,

also if i just do

select date,ncurrency,iif(ncurrency=2,famt,0) from tbmain into cursor vwx

it gives me a *

but this works fine

select date,ncurrency,iif(ncurrency=1,famt,0) from tbmain into cursor vwx

what gives?
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform