>>Often, when I prepare the report cursor I make it updatable to do more processing and that's usually the place where I
>>
>>REPLACE ALL y_field1 WITH 0 FOR ISNULL(y_field1)
>>
>Nick,
> This automatically means that y_field is numeric... But what if you select * (~60 and more) fields and don't know the type yet? My colleague created an elegant program for handling this situation...
>My original idea was to create an array of fields and then replace appropriately...
You can do this, but usually I know exactly which fields I will use in the report and I just don't care about others leaving them with NULLs. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison