Article View: borland.public.cppbuilder.database.multi-tier
Article #1846Re: Converting SQL Explorer to 3 Tier
From: Harold Howe (TeamB)
Date: Mon, 25 Jan 1999 00:00
Date: Mon, 25 Jan 1999 00:00
25 lines
1788 bytes
1788 bytes
>I have an (2 tier) application I built that is very similiar to the SQL >Explorer application that comes with BCB. I just started the process of >remaking it as a 3 tier application. In my original app I use a >'Session->GetAliasName(myComboBox->Text)' to populate a combo box with >the availbale DB's for the user to choose from at run time. What whould >be the easiest way to implement the same functionality via a TProvider >and ClientDataset? In other words, populate a ComboBox on the Client >App with DataBases the AppServer has to its disposal. Hopefully that >makes sense.... In multi-tier apps, typically you can survive by only installing the BDE on the server machine. When you do this, TSession components on the client don't have a BDE DLL that they can call to fetch this information. However, there will be a session control on your remote data module that can assess the alias information. You could add a method to your remote datamodule that fills in an array of strings. The client side could call this method, and then take the resultant strings and add them to the listbox. On the server side, the remote datamodule would call the same session methods that you are used to. Harold Howe [TeamB] http://www.bcbdev.com
Technical Details
Message-ID:
<78jdvp$s0o3@forums.borland.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<36ACFF41.8F046E80@erols.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcd2b,a58aa609cabbbd6c X-Google-Attributes: gidfcd2b,public From: "Harold Howe (TeamB)" <hhowe@gowebway.com> Subject: Re: Converting SQL Explorer to 3 Tier Date: 1999/01/25 Message-ID: <78jdvp$s0o3@forums.borland.com> X-Deja-AN: 436964537 References: <36ACFF41.8F046E80@erols.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Organization: Another Netscape Collabra Server User Newsgroups: borland.public.cppbuilder.database.multi-tier