[development] Exporting a Calc View (was: Using Computed Field)

Graeme McKibbin gmckibbin at iburst.co.za
Thu Jan 31 20:39:19 UTC 2008


Hi again Bill,

I finally managed to get the CSV to work as an argument. It works for  
normal views, but when I have a field that has a SUM on it, the  
exported file just returns the header.
Any ideas?

Thanks!


On 30 Jan 2008, at 6:44 PM, Bill Fitzgerald wrote:

> Hello, Graeme,
>
> RE: "one has to choose the View as a CSV type"
>
> You can also specify csv as an argument, and sidestep this issue.  
> While I haven't used this with a views calc view type, it should work.
>
> Cheers,
>
> Bill
>
> Graeme McKibbin wrote:
>> Hey,
>> Thanks for the reply. I actually just figured out the problem- I  
>> hadn't checked the "Store using the database settings below"
>> It appears in the Views now!
>>
>> However, I'm still stuck with a few related issues. One is that I  
>> need to produce a CSV file that can be imported into Pastel. I can  
>> create views with totals of whichever columns I want using Views  
>> Calc. But the problem is that with Views Bonus, to export to CSV,  
>> one has to choose the View as a CSV type.  In other words, I need  
>> the view to be a Views Calc type AND a CVS type simultaneously.
>> I hope that makes sense...
>>
>>
>> Thanks!
>>
>> Graeme
>>
>> On 30 Jan 2008, at 4:06 PM, David Norman wrote:
>>
>>> My company is putting some time in to it. Talk to cYu on  
>>> irc.freenode.net.
>>>
>>> Graeme McKibbin wrote:
>>>> Hi,
>>>> Has anyone used the Computed Field? http://drupal.org/project/ 
>>>> computed_field
>>>> It's great for calculating sums of fields, but the problem is it  
>>>> doesn't come up in the Field List when creating a view. Any ideas?
>>>> Kind Regards,
>>>> Graeme McKibbin
>>>> Software Developer
>>
>>
>
>
> -- 
> Bill Fitzgerald
> http://www.funnymonkey.com
> Tools for Teachers
> 503.897.7160
>




Kind Regards

Graeme McKibbin
Software Developer

T. 011 704 6415
C. 082 921 3447



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.drupal.org/pipermail/development/attachments/20080131/57913a5f/attachment.htm 


More information about the development mailing list