home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / sys / mac / database / 1693 < prev    next >
Encoding:
Text File  |  1993-01-11  |  1.9 KB  |  43 lines

  1. Newsgroups: comp.sys.mac.databases
  2. Path: sparky!uunet!destroyer!ncar!niwot.scd.ucar.edu!charlesa
  3. From: charlesa@niwot.scd.ucar.edu (Charles Albrecht)
  4. Subject: Re: FMP Custom Date Format Problem
  5. Message-ID: <1993Jan11.214030.19463@ncar.ucar.edu>
  6. Sender: news@ncar.ucar.edu (USENET Maintenance)
  7. Organization: Scientific Computing Divison/NCAR Boulder, CO
  8. References: <1993Jan10.234156.10100@colorado.edu>
  9. Date: Mon, 11 Jan 1993 21:40:30 GMT
  10. Lines: 31
  11.  
  12. In article <1993Jan10.234156.10100@colorado.edu> heuring@riker.cs.colorado.edu (Vincent Heuring) writes:
  13. >
  14. >I am trying to create a date field with a custom date format of the
  15. >kind mm/yy, as in 12/92. I go to the date format in the format menu,
  16. >and create a custom date that looks like: month /  year empty empty empty.
  17. >But when I try to actually enter a date in that form, I get a dialog box
  18. >that says
  19. >
  20. >    "The date in this field must have a valid date in the range of
  21. >    years 1 to 3000, and should look like "12/31/92."
  22. >
  23. >Is this a FMP message, or a system message? The system date format
  24. >does not allow a format of the form mm/yy. The day must always be
  25. >present. Is this a FMP bug, or am I overlooking something?
  26. >
  27.  
  28. This is a FM Pro message, but I believe it checks your system's international
  29. settings to find the form that it expects.  Changing the Date format
  30. as you describe will only change the way the data is displayed.  FM Pro
  31. doesn't have input filters (unlike 4D).  The only thing FM is smart enough
  32. to do is to add the current year if you leave it off.  So in your example,
  33. it's assuming that you mean 12/92/93, which doesn't make any sense to it.
  34.  
  35. One way to simulate this is to use a Text field and a Date-Calculation field.
  36. Your calculation would parse the text expression and add "one" for the day
  37. of the month.  It would use the display option that you designed above.
  38. In my opinion, this is a bit too much work.
  39.  
  40. -Charles
  41.  charlesa@ncar.ucar.edu
  42.  
  43.