help-recutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-recutils] select certain fields for output, ob-rec.el


From: Charles Millar
Subject: Re: [help-recutils] select certain fields for output, ob-rec.el
Date: Mon, 18 May 2015 20:12:11 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0



On 05/18/2015 08:00 PM, Jose E. Marchesi wrote:
I have been reading through the rec-utils and rec-mode infos and the
     2011 emails, upon which the above source code block is based.
Is there way of using the -p or -P with the selex that will give the
     following?
| Date | Description | Amount |
     |-----------------+-------------------------+-------------|
     | 2014-01-10  | 110.206 shs Foo     |  5290.99 |
     | 2014-01-10  | 6940.029 shs Bar   | 17003.07|

     Is there a Field expression that should be used?

You can use :fields Date,Description,Amount:

#+begin_src rec :data Guarascio.rec :type Account :fields 
Date,Description,Amount
Schedule = 'A'
#+end_src

Other supported keywords are:
:join to join with a field.
:groupby for grouping
:cmdline to pass arbitrary options to recsel.

It is easy to add more keywords if needed :)

The first time I tried :fields in the begin_src I obviously did not do something correctly because this time it worked as you saidd it would, just as indicated in one of your original emails.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]