Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace field with blank (space)
Message
From
28/03/2007 16:11:36
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01208793
Message ID:
01209423
Views:
20
>>>>hi,
>>>>thank you for reply,
>>>>no errors but zeroz still.
>>>>
>>>>*select myTable
>>>>use answers excl
>>>>local lnI,laFields[1]
>>>>afields(laFields)
>>>>for lnI = 1 to alen(laFields,1)
>>>>    blank fields (laFields[lnI,1]) for empty(&laFields[lnI,1])
>>>>next
>>>>BROW
>>>>
>>>
>>>Hmmm, AFAIK it should work. Unless you're examining the resulting Excel file.
>>
>>If it's for export to Excel, it'll always show zeros there... unless the content is exported to clipboard via _vfp.DataToClip(,,3) and then pasted in Excel (which can be done programmatically through automation).
>
>Did you try to replace with NULLs? I know it works for dates.

That was on previous job, and that one was a NO NULLS job. House rule. So I didn't even try that.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform