🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

DBKit: variable entity names

#498
From: & Garrett
Date: Sat, 08 Aug 1992 00:11
14 lines
1170 bytes
My application creates a Sybase table (using dblibrary calls) to hold some  
intermediate results that a DBModule then reads and displays in a  
DBTableView.  The problem is that I need to make the application  
multi-user, and each user will be needing to create their own such table,  
which means to distinguish them in the Sybase database I'll need to insert  
the user name or the spid or whatever into the table name.
But this means that I can't know the table name in advance, and therefore  
can't have it in my Model or hook up my Module to it.  To set this up on  
the fly with a variable entity name looks like a nightmare.
Any ideas on how to do this, or better yet, to get around it?


Colin Garrett
colin@delphi.bsd.uchicago.edu
Technical Details
Message-ID: <1992Aug8.001154.22351@midway.uchicago.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!ncar!uchinews!news

Show Full Headers
Complete Article Headers
Newsgroups: comp.sys.next.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!ames!ncar!uchinews!news
From: colin@agincourt.bsd.uchicago.edu (& Garrett)
Subject: DBKit: variable entity names
Message-ID: <1992Aug8.001154.22351@midway.uchicago.edu>
Sender: news@uchinews.uchicago.edu (News System)
Organization: University of Chicago Computing Organizations
Date: Sat, 8 Aug 1992 00:11:54 GMT
Lines: 14