home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / database / 9304 < prev    next >
Encoding:
Text File  |  1993-01-22  |  1.4 KB  |  39 lines

  1. Newsgroups: comp.databases
  2. Path: sparky!uunet!uunet.ca!canrem!dosgate!dosgate![tom.frazer@canrem.com]
  3. From: "tom frazer" <tom.frazer@canrem.com>
  4. Subject: dbase iv hierarchical poi
  5. Message-ID: <199322.4373.11945@dosgate>
  6. Reply-To: "tom frazer" <tom.frazer@canrem.com>
  7. Organization: Canada Remote Systems
  8. Distribution: comp
  9. Date: 22 Jan 93 01:37:41 EST
  10. Lines: 27
  11.  
  12. DD> will need to start with a person and create a list of supervisors betwe
  13. DD> specified person and the "big boss."
  14.  
  15. DD> Can I do this by simply storing a key or pointer to the supervisor reco
  16. DD> each person's record, then use that key or pointer to recursively retri
  17. DD> supervisor, then his/her supervisor, and so on?  If this is possible, i
  18.  
  19.     Judging by your information the database will contain information
  20. on all employees, so why not just
  21.  
  22.     OPEN DATABASE
  23.     FIND employee
  24.     STORE fields to memvars (including supervisor1 and RECNO())
  25.     FIND supervisor1
  26.     STORE this employees supervisor to a memvar(supervisor2)
  27.     FIND supervisor2
  28.     STORE this employees supervisor to a memvar(supervisor3)
  29.     continue till no further supervisors exist (big boss)
  30.     EDIT, print report program or whatever...
  31.  
  32.      Tom Frazer    tom.frazer@canrem.com    canrem!tom.frazer 
  33.                        RIME = ->CRS   FIDO = 1:229/15              
  34. ---
  35.  * Qwkit 1.0 * SYSOP = Sent Your Spouse Obsene Pictures
  36. --
  37. Canada Remote Systems  - Toronto, Ontario
  38. World's Largest PCBOARD System - 416-629-7000/629-7044
  39.