🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.database.multi-tier
Article #1374

Re: Supporting Multiple databases

#1374
From: John Graham
Date: Thu, 16 Dec 1999 00:00
40 lines
1872 bytes
Or you can link all of the datasets  on your app. server to a single
TDatabase object and simply change the "DatabaseName" property to point to
the desired database.

CyberNIK wrote:

> You can use remote calls to appserver function that reset dataset
> properties.
> For example, if you have remote data module (RDM) you can define some
> appserver
> function RDM::reset( int userID ). This func will change, lets say,
> RDM->Table->TableName
> before any user data operations. Use DCOM to export reset(int) and remote
> call it from
> client on connect to appserver.
>
> CyberNIK
>
> Greg Major wrote in message <383954AA.F8D7757F@w-s-g.com>...
> >I hope I can explain this correctly.
> >
> >I need to support multiple databases from the same application server.
> >What database the user connects to depends upon the user. All databases
> >are identical. I can support the stateless functionality easily but I
> >need a way of re-directing the Remote Datasets so the user gets the
> >results form the correct database.
> >
> >--
> >Gregory A. Major
> >President
> >Wilderness Software Group, Inc.
> >165 Front Street
> >Building A, 5th Floor
> >Chicopee, MA 01013
> >
> >(V) 413 594-7717
> >(F) 413 594-8530
> >(E) wsg@w-s-g.com
> >
> >
Technical Details
Message-ID: <3858FBDD.4AE1C438@salts.navy.mil>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <383954AA.F8D7757F@w-s-g.com> <81cdig$8ps10@forums.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcd2b,6e7f02ea88bda0c7
X-Google-Attributes: gidfcd2b,public
From: John Graham <jgraham@salts.navy.mil>
Subject: Re: Supporting Multiple databases
Date: 1999/12/16
Message-ID: <3858FBDD.4AE1C438@salts.navy.mil>
X-Deja-AN: 561534321
Content-Transfer-Encoding: 7bit
References: <383954AA.F8D7757F@w-s-g.com> <81cdig$8ps10@forums.borland.com>
X-Accept-Language: en
Content-Type: text/plain; charset=us-ascii
Organization: U. S. Navy SALTS Project
Mime-Version: 1.0
Newsgroups: borland.public.cppbuilder.database.multi-tier