Board index » delphi » SQL queries on DBase with NULL numeric values
b...@droste1.com (Bill Artemik)
![]() Delphi Developer |
Mon, 25 Mar 2002 03:00:00 GMT
SQL queries on DBase with NULL numeric values
I have to do summary operations on numeric fields in DBase tables.
Well, wouldn't you know that dBase doesn't support DEFAULT values and saves NULL into numeric fields if there is NO zero. This gives SQL hell (I get Access Violations all over the place when I SELECT From and there is a null value in [ANumber] Adding a UNION statement to compensate for this works for only small So, my question is: Is there a BDE setting I can use that will Treat dBase null numeric If not, does anyone have ANY suggestions on how I can compensate for Bill Artemik "There are THREE kinds of people in the world... |