Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
.NULL. Returned want Blank or 0
Message
From
23/08/2000 15:35:24
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
.NULL. Returned want Blank or 0
Miscellaneous
Thread ID:
00408441
Message ID:
00408441
Views:
51
I am selecting two records from two tables the second table may not have the matching record yet. I get a ".NULL." back from the select.
Is there a way to get a 0 (zero) or a blank if there is no match from the LEFT OUTER JOIN? I know that I can ASCAN() the array I was wondering if I can do this in the SELECT???
SELECT Crafts.crafttitle, Craftpay.payrate;
 FROM  jobtrack!Crafts;
 LEFT OUTER JOIN jobtrack!CraftPay;
   ON  Crafts.craftid = Craftpay.craftid;
 INTO ARRAY laData 
Next
Reply
Map
View

Click here to load this message in the networking platform