home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / next / programm / 7845 < prev    next >
Encoding:
Text File  |  1992-12-21  |  1.5 KB  |  35 lines

  1. Newsgroups: comp.sys.next.programmer
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!news
  3. From: jeffs@next-demo.acs.ohio-state.edu (Jeff Schluep)
  4. Subject: multiple nib files w/dbkit
  5. Message-ID: <1992Dec20.012038.20704@magnus.acs.ohio-state.edu>
  6. Sender: news@magnus.acs.ohio-state.edu
  7. Nntp-Posting-Host: nextnorth.acs.ohio-state.edu
  8. Organization: The Ohio State University
  9. Date: Sun, 20 Dec 1992 01:20:38 GMT
  10. Lines: 23
  11.  
  12.  
  13.     I am working on my first dbkit program and have decided that I want to  
  14. use multiple documents.  In other words, I will have different windows  
  15. displaying information from different records from the same database.  What I  
  16. am trying to do is to make the document a separate nib file and then do a  
  17. "loadNibFile" each time that I need a new document which will be loaded with  
  18. data from a sybase database. I will have a DBModule in the nib file with  
  19. connections to the document.  The question I have is:
  20.  
  21.     If I have a DBModule in the document nib, will I get a new  
  22. instantiation of DBModule each time I perform a "loadNibFile" method (I suspect  
  23. so)?  If so, does this mean that I also get another connection to our sybase  
  24. server and quickly use up the 8 user licsense?
  25.  
  26.     Is there another way I could handle multiple documents?
  27.  
  28. Thanks,
  29.  
  30. ---
  31. Jeff Schluep                    Email: JEFF+@osu.edu
  32. The Ohio State University
  33. 1971 Neil Avenue                Phone: (614) 292-4843
  34. Columbus, Ohio 43210            Fax: (614) 292-1268
  35.