Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Replace field with blank (space)
Message
 
 
To
28/03/2007 14:17:00
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:
01209356
Views:
17
>>>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.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform