![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
Provided below is the syntax. I've also made a few notes about the error I am getting. I have tried several times to fix this, but for some reason EpiData is telling me it is illegal.
1. fa163axxxx
RANGE 01/01/1900 12/31/2008
LEGAL
99
-77
88
END
MUSTENTER
END
1:
i. No date will satisfy the commands.
ii. When you do put a date it, it reads : "Illegal entry- Legal values are 01/01/1900-12/31/2008, -77, 99, 88"
iii. I've tried to change the field type to date and have had difficulty making these changes.
2. fa163cxxxx
RANGE 1/1/2004 1/1/2009
LEGAL
-77
99
88
END
MUSTENTER
END
3. fa163exxxx
RANGE 1/1/2004 1/1/2009
LEGAL
-77
99
88
END
COMMENT LEGAL USE nscid
MUSTENTER
END
2 and 3:
i. No date will satisfy the commands.
ii. When you do put a date it, it reads : "Illegal entry- Legal values are 1/1/2004-1/1/2009, -77, 99, 88"
iii. I've tried to change the field type to date and have had difficulty making these changes.
Thank you for your time!!
Lindsay
![](https://secure.gravatar.com/avatar/f174b9816ccce31bf5cdb49501b15358.jpg?s=120&d=mm&r=g)
You cannot have illegal dates: 99, -77, 88 are not dates and if they were, they are not legal, there is no date that contains, e.g. "99". A command for a legal date range and legal date values should look something like this (using European date format here):
legdat RANGE 01/01/1900 31/12/2008 LEGAL 30/12/2009 24/11/2008 END END
Regards,
Hans
epidata-list@lists.umanitoba.ca wrote:
Provided below is the syntax. I've also made a few notes about the error I am getting. I have tried several times to fix this, but for some reason EpiData is telling me it is illegal.
- fa163axxxx
RANGE 01/01/1900 12/31/2008
LEGAL
99 -77 88
END
MUSTENTER
END
participants (1)
-
epidata-list@lists.umanitoba.ca