use the nvl function like so

select nvl(field1,'') as field1, nvl(field2,0) as field2,nvl(field3,{}) 
as field3, etc from accesstable

the above assumes field1 is type char,field2 is type numeric and field3 
is type date and so on
Field 1 will have '', field2   0 and field3  {} in case they contain nulls

Rafael Copquin



El 24/10/2011 18:54, Jeff Johnson escribió:
> I am creating a dbf from Access data.  The Access data has nulls in it.
> When I do a copy to dbf from the Access cursor is there any way to get
> rid of the nulls?
>
>

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to