[EpiData-list] Re: Managing two related unique IDs in data entry

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Tue Jul 12 14:40:02 CDT 2011

> Jamie,

Unfortunately this solution is not working here. Did you tests it? Did it
work with you? The problem is that like this EpiData only accepts sample2 in
blank, ie, missing data for this field. Also, when the warning comes up, the
(@sample1, @sample2) does not show any data.

My guess is that EpiData is not creating the checksamp variable correctly or
is being able to type sample1 comment correctly into sample2. Another good
guess, might be that the error is above the chair in front of the keyboard.
Thanks anyway for the ideia. I will try to make this warning work later and
let you know.

> ,

> before file
>  define checksamp ###
>  hide checksamp
> end
> sample1
>  comment legal use recfile.rec
>  type comment checksamp
> end
> sample2
>  after entry
>    if sample2 <> checksamp then
>      help "This pair of sample numbers (@sample1, @sample2) do not match
> those assigned. \nPlease check and re-enter both." type=error
>      goto sample1
>    endif
>  end
> end
> Jamie

Abraço forte e que a força esteja com você,

Dr. Pedro Emmanuel A. A. do Brasil
Instituto de Pesquisa Clínica Evandro Chagas
Fundação Oswaldo Cruz
Rio de Janeiro - Brasil
Av. Brasil 4365
Tel 55 21 3865-9648
email: pedro.brasil at ipec.fiocruz.br
email: emmanuel.brasil at 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
www.epidata.dk - entrada de dados.
www.r-project.org - análise de dados.
www.ubuntu.com - sistema operacional

More information about the EpiData-list mailing list