Article View: comp.lang.pascal.delphi.databases
Article #198Re: Exchanging Advantage And BDE Tables during run-time
From: M.H. Avegaart
Date: Mon, 01 May 2000 00:00
Date: Mon, 01 May 2000 00:00
33 lines
2166 bytes
2166 bytes
Yes, and if you want to store your TTable or TAdsTable in a common variable use type TDataSet. "Paul Ferrara" <paul@nospam.columbusoft.com> schreef in bericht news:8ej96l02qr0@news2.newsguy.com... > I think you're going to have to change the DataSet property of all your > DataSources. I can't think of a way to do that at run-time without if > statements. > > Paul / ColumbuSoft > www.columbusoft.com > > > Nick Ring <nring@NOSPAM.smf.com.au> wrote in message > news:390cccae.6779618@postoffice... > > Hello, > > > > What I would like to do is the following (in a nutshell) : Depending > > if I'm running on a local machine or not, I would like to use BDE's > > TTable (if running on a local machine), otherwise use Advantage's > > TAdsTable. > > > > How ever, I don't want to use a large amount of IF statements all > > through my code to figure out if I'm using a TTable or a TAdsTable. > > > > Is there a way to have the table I'm using (be it a TTable or a > > TAdsTable) assigned to a single variable and use it with out having to > > figure out what type it is before using it?? > > > > Thanks for any help in advance, > > Nick > >
Technical Details
Message-ID:
<8ejffn$esf$1@porthos.nl.uu.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<390cccae.6779618@postoffice> <8ej96l02qr0@news2.newsguy.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffff5,d54235570ec33841 X-Google-Attributes: gidffff5,public X-Google-Thread: 109d99,d54235570ec33841 X-Google-Attributes: gid109d99,public X-Google-Thread: f8256,d54235570ec33841 X-Google-Attributes: gidf8256,public From: "M.H. Avegaart" <avegaart@NOSPAMmccomm.nl> Subject: Re: Exchanging Advantage And BDE Tables during run-time Date: 2000/05/01 Message-ID: <8ejffn$esf$1@porthos.nl.uu.net> X-Deja-AN: 617774408 References: <390cccae.6779618@postoffice> <8ej96l02qr0@news2.newsguy.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 X-Complaints-To: abuse@nl.uu.net X-Trace: porthos.nl.uu.net 957169975 15247 193.67.87.80 (1 May 2000 08:32:55 GMT) Organization: UUNET-NL (http://www.nl.uu.net) X-MSMail-Priority: Normal NNTP-Posting-Date: 1 May 2000 08:32:55 GMT Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.thirdparty-tools,comp.lang.pascal.delphi.components.misc