#1   Report Post  
Posted to microsoft.public.excel.misc
rml rml is offline
external usenet poster
 
Posts: 50
Default force a $0.00

I have a sheet that updates from an access database. I'm using the following
to bring a sum of sales for a date range. Some times, there may not be any
records for that range and I would like it to show 0 instead of an empty
cell. Here is my code.

Thanks.

SELECT Sum(`51002`.Total) AS '5-1002'
FROM `\\web\web sites\lf\fpdb\mylf`.`51002` `51002`
WHERE (`51002`.Date1 Between ? And ?)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How can force enable macros to be able to open my workbook? kcdonaldson Excel Discussion (Misc queries) 3 December 5th 05 06:16 PM
force excel to run in only one process excel.exe Daniel Excel Worksheet Functions 0 July 8th 05 04:42 AM
Percentage function formula gracious Excel Discussion (Misc queries) 4 June 29th 05 09:27 PM
Concatenate & Force argument to End of String-(spsjp) SP Excel Worksheet Functions 3 April 2nd 05 03:37 PM
concatenate, force new line JohnT Excel Worksheet Functions 2 March 6th 05 04:05 PM


All times are GMT +1. The time now is 06:13 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"