🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.next.programmer
Article #2160

multiple nib files w/dbkit

#2160
From: Jeff Schluep
Date: Sun, 20 Dec 1992 01:20
23 lines
1530 bytes
	I am working on my first dbkit program and have decided that I want to  
use multiple documents.  In other words, I will have different windows  
displaying information from different records from the same database.  What I  
am trying to do is to make the document a separate nib file and then do a  
"loadNibFile" each time that I need a new document which will be loaded with  
data from a sybase database. I will have a DBModule in the nib file with  
connections to the document.  The question I have is:

	If I have a DBModule in the document nib, will I get a new  
instantiation of DBModule each time I perform a "loadNibFile" method (I suspect  
so)?  If so, does this mean that I also get another connection to our sybase  
server and quickly use up the 8 user licsense?

	Is there another way I could handle multiple documents?

Thanks,

---
Jeff Schluep                    Email: JEFF+@osu.edu
The Ohio State University
1971 Neil Avenue                Phone: (614) 292-4843
Columbus, Ohio 43210            Fax: (614) 292-1268
Technical Details
Message-ID: <1992Dec20.012038.20704@magnus.acs.ohio-state.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!magnus.acs.ohio-state.edu!news
From: jeffs@next-demo.acs.ohio-state.edu (Jeff Schluep)
Subject: multiple nib files w/dbkit
Message-ID: <1992Dec20.012038.20704@magnus.acs.ohio-state.edu>
Sender: news@magnus.acs.ohio-state.edu
Nntp-Posting-Host: nextnorth.acs.ohio-state.edu
Organization: The Ohio State University
Date: Sun, 20 Dec 1992 01:20:38 GMT
Lines: 23