Article View: comp.lang.pascal.delphi.databases
Article #197Re: Exchanging Advantage And BDE Tables during run-time
From: Paul Ferrara
Date: Mon, 01 May 2000 00:00
Date: Mon, 01 May 2000 00:00
26 lines
1709 bytes
1709 bytes
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:
<8ej96l02qr0@news2.newsguy.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<390cccae.6779618@postoffice>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: f8256,d54235570ec33841 X-Google-Attributes: gidf8256,public X-Google-Thread: 109d99,d54235570ec33841 X-Google-Attributes: gid109d99,public From: "Paul Ferrara" <paul@nospam.columbusoft.com> Subject: Re: Exchanging Advantage And BDE Tables during run-time Date: 2000/05/01 Message-ID: <8ej96l02qr0@news2.newsguy.com> X-Deja-AN: 617763881 References: <390cccae.6779618@postoffice> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300 Organization: http://extra.newsguy.com X-MSMail-Priority: Normal Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.thirdparty-tools,comp.lang.pascal.delphi.components.misc