[EpiData-list] Réf. : EpiData-list Digest, Vol 67, Issue 3

epidata-list at lists.umanitoba.ca epidata-list at lists.umanitoba.ca
Sat May 16 04:12:55 CDT 2009


Hi Jean-François 
This is what is needed: 
If you want the ID is generated automatically 
Considers that your variables are string type 
Q01        Région                 <A   >
Q02        Village                  <A   >
Q03        Household         <A   >
Q04        Member             <A   >
ID           Identifiant          <A               >
in the chikfile
Paste:
Q01
  RANGE 1 10
  LEGAL
    2
    3
    4
    5
  END
  MUSTENTER
END
 
Q02
  RANGE 1 30
  LEGAL
    2
    3
    4
    5
    6
    7
    8
    9
    10
  END
  MUSTENTER
END
 
Q03
  RANGE 1 10
  LEGAL
    2
    3
    5
    6
  END
  MUSTENTER
END
 
Q04
  RANGE 1 7
  LEGAL
    2
    3
    4
    5
    6
    7
  END
  MUSTENTER
  AFTER ENTRY
    LET ID=Q01+Q02+Q03+Q04
  END
END
 
ID
  NOENTER
END
Put the "Range" if you think putting Number, but it is not worth
Thanks
__________________________ 
JP DIBY-KONAN, MD, MPH
Sous-Directeur de l'Information Sanitaire
Ministère de la Santé & Hygiène Publique
(+225) 05 994 326 / 02 724 162
(+225) 20 323 440
-------Message original-------
 
De : epidata-list-request at lists.umanitoba.ca
Date : 16/05/2009 02:02:36
A : epidata-list at lists.umanitoba.ca
Sujet : EpiData-list Digest, Vol 67, Issue 3
 
Send EpiData-list mailing list submissions to
  epidata-list at lists.umanitoba.ca
 
To subscribe or unsubscribe via the World Wide Web, visit
  http://lists.umanitoba.ca/mailman/listinfo/epidata-list
or, via email, send a message with subject or body 'help' to
  epidata-list-request at lists.umanitoba.ca
 
You can reach the person managing the list at
  epidata-list-owner at lists.umanitoba.ca
 
When replying, please edit your Subject line so it is more specific
than "Re: Contents of EpiData-list digest..."
 
 
EpiData-list mailing list
___________________________________
 
Today's Topics:
 
   1. creating an identifiant from various variables
      (epidata-list at lists.umanitoba.ca)
 
 
----------------------------------------------------------------------
 
Message: 1
Date: Fri, 15 May 2009 17:38:04 +0100
From: epidata-list at lists.umanitoba.ca
Subject: [EpiData-list] creating an identifiant from various variables
To: epidata-list at lists.umanitoba.ca
Message-ID: <6.2.5.6.0.20090515173330.035cdd18 at ucl.ac.uk>
Content-Type: text/plain; charset="us-ascii"; format=flowed
 
 
 
Dear all,
 
I would have a question about the creation of an identifier for data entry.
I would like the identifier to be automatically created in the .rec
file after entering 4 variables and as an aggregation of these 4 variables.
For instance my identifier is
ID=region number+village number+household number+member in the household
number
Do you have any clue about how to do this?
Thank you for your help.
Jean-Francois
 
 
 
------------------------------
 
________________________________________
EpiData-list at lists.umanitoba.ca
http://lists.umanitoba.ca/mailman/listinfo/epidata-list
 
 
End of EpiData-list Digest, Vol 67, Issue 3
*******************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/jpeg
Size: 25874 bytes
Desc: not available
Url : http://lists.umanitoba.ca/pipermail/epidata-list/attachments/20090516/120edf48/attachment-0001.jpe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 381 bytes
Desc: not available
Url : http://lists.umanitoba.ca/pipermail/epidata-list/attachments/20090516/120edf48/attachment-0002.gif
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 431 bytes
Desc: not available
Url : http://lists.umanitoba.ca/pipermail/epidata-list/attachments/20090516/120edf48/attachment-0003.gif


More information about the EpiData-list mailing list