"copy to clipboard" function in entry client

Jens,
Thank you very much for your effort. If this really works out, it will change the my work rationale from water to wine.
I would like to make a other suggestions/comments:
1. Make the default "copy to clipboard" setting = "%q: %d %v \n", at least for me it is more reasonable. 2. Tested with \t but tab makes the questions less line up after pasting at notepad. 3. Nevertheless, common spaces works fine and other characters such as ":" also seem to work fine. 4. When there is fields such as sex, where there is a value such 1 or 2, and a value label, such as Male and Female, the setting above will paste something like "Patient sex: 2 female" which is a little weird, mainly for those who later will read the medical record and are not awere these came from dataentry codes. Is it possible to make a setting code to omit the field value if a value label is available?
A major problem...
I tested the copy to clipboard function and it seems it may work fine only with the current record, not yet saved. When I go back to saved records and try to run "copy to clipboard" from these records an error comes:
"Access violation. Press ok to ignore data corruption. Press cancel to kill the program."
When I press OK, the data does not go to the clipboard. When I press cancel, entreyclient is closed. Therefore I cant copy/paste a saved record.
Is there a solution/workaround for this?
Kind regards,
Dr. Pedro Emmanuel A. A. do Brasil Curriculum Lattes: http://lattes.cnpq.br/6597654894290806 Instituto de Pesquisa Clínica Evandro Chagas Fundação Oswaldo Cruz Rio de Janeiro - Brasil Av. Brasil 4365, CEP 21040-360, Tel 55 21 3865-9648 email: pedro.brasil@ipec.fiocruz.br email: emmanuel.brasil@gmail.com
---Apoio aos softwares livres www.zotero.org - gerenciamento de referências bibliográficas. www.broffice.org ou www.libreoffice.org - textos, planilhas ou apresentações. www.epidata.dk - entrada de dados. www.r-project.org - análise de dados. www.ubuntu.com - sistema operacional
2012/10/31 epidata-list-request@lists.umanitoba.ca

Hi Pedro.
Thank you for the feedback, this is what I am thinking:
It is possible to define the format in program settings, which has a few predefined formats, but you may create you own. Whatever setting you choose will be saved in the configuration file.
The \t just inserts a tab character into the line, so if you eg. have a very long text and a very short text these two will not nessesarily align. Just as with any other word program.
Perhaps a additional specifier like "%l" which uses a label if the field uses a value label, and displays the data if no valuelabel is used. That should be possible.
This is odd, I have tested several times with existing data, eg. the sample file.
Would it be possible for you to email me the affected project file? Or else can you create a new project where this happens ?
Kind regards, Torsten Bonde Christiansen EpiData Association.
participants (1)
-
epidata-list@lists.umanitoba.ca