home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / 5792 < prev    next >
Encoding:
Internet Message Format  |  1992-07-26  |  1.7 KB

  1. Path: sparky!uunet!cis.ohio-state.edu!ucbvax!agate!bionet!raven.alaska.edu!acad3.alaska.edu!fscll
  2. From: fscll@acad3.alaska.edu (Christopher Lee Lott -- One foot in the grave and the other slipping)
  3. Newsgroups: comp.databases
  4. Subject: FoxPro questions, 2 easy, 1 harder.. : )
  5. Message-ID: <1992Jul25.154312.1@acad3.alaska.edu>
  6. Date: 25 Jul 92 23:43:12 GMT
  7. Sender: news@raven.alaska.edu (USENET News System)
  8. Organization: University of Alaska Fairbanks
  9. Lines: 27
  10. Nntp-Posting-Host: acad3.alaska.edu
  11.  
  12. I am just learning to program with FoxPro 2.0  (never done anything with
  13. databases before) and I had a couple of questions:
  14.  
  15. 1) Is there anyway to check for duplicate records using asingle field as the
  16. key that is as easy as marking the field a key when you create it (I am told
  17. you can do this in paradox)? I am trying to avoid having to scan the whole
  18. database as I enter each record...
  19.  
  20. 2) Is there any way to avoid blank lines when doing mailing labels and having
  21. an empty field sometimes?
  22.  
  23. 3) Is there a way to transfer a data set from Quattro (as SDF is fine) into
  24. FoxPro, and then have go through the database and add up the occurrences of
  25. the same name? I have a large database of orders with the structure:
  26.  
  27. Order Number    Name               etc..
  28. 124234234       Doe, John
  29. 1334534         Doe, Jane
  30. 12354345        Doe, John
  31.  
  32. and I want to count up how many orders each person has... I figured some way
  33. of sorting the database, finding the first occurrence, counting, finding next,
  34. etc. I want to be able to do this without having to manually key in each name,
  35. so when new customers come in they automatically get added... 
  36. (this one may not be so easy, but any and all help is appreciated)
  37.  
  38. chris
  39.