home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9354 < prev    next >
Encoding:
Internet Message Format  |  1993-01-24  |  1.1 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!gatech!rpi!ees1a0.engr.ccny.cuny.edu!timessqr.gc.cuny.edu!cunyvms1.gc.cuny.edu!jbc
  2. From: jbc@cunyvms1.gc.cuny.edu (CASSEL J BRIAN)
  3. Newsgroups: comp.databases
  4. Subject: trouble using Foxpro to index when using ctod(x) function
  5. Keywords: foxpro, index, ctod
  6. Message-ID: <23JAN199315190463@cunyvms1.gc.cuny.edu>
  7. Date: 23 Jan 93 20:19:00 GMT
  8. Sender: jbc@cunyvms1.gc.cuny.edu (CASSEL JAY)
  9. Organization: Graduate School and University Center, CUNY, New York
  10. Lines: 16
  11. News-Software: VAX/VMS VNEWS 1.41
  12.  
  13. I have a database with a character-type field for dates
  14. in this format -- 01/01/92.  I used the following index command,
  15.     index on ctod(datefield) to dates.idx
  16. and it seemed to work okay.  But when I listed off some records
  17. using a filter, I found that one record did not list in the 
  18. proper order - it was out of place by about 5 records.  There
  19. was nothing wrong with the data; and I deleted that record and
  20. re-entered it just to make sure...
  21.  
  22. Does anyone know why this index did not work?
  23.  
  24. Thanks in advance.
  25.  
  26. Brian Cassel
  27. jbc@cunyvms1.gc.cuny.edu
  28. ======================== disclaimed - does not represent CUNY.
  29.