Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem in a SQL command
Message
From
09/03/2006 09:52:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Problem in a SQL command
Environment versions
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01102747
Message ID:
01102747
Views:
61
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?
Next
Reply
Map
View

Click here to load this message in the networking platform