Article View: comp.lang.pascal.delphi.databases
Article #196Exchanging Advantage And BDE Tables during run-time
From: Nick Ring
Date: Mon, 01 May 2000 00:00
Date: Mon, 01 May 2000 00:00
16 lines
1394 bytes
1394 bytes
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:
<390cccae.6779618@postoffice>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: ffff5,d54235570ec33841,start X-Google-Attributes: gidffff5,public X-Google-Thread: f8256,d54235570ec33841,start X-Google-Attributes: gidf8256,public X-Google-Thread: 109d99,d54235570ec33841,start X-Google-Attributes: gid109d99,public From: nring@NOSPAM.smf.com.au (Nick Ring) Subject: Exchanging Advantage And BDE Tables during run-time Date: 2000/05/01 Message-ID: <390cccae.6779618@postoffice> X-Deja-AN: 617668967 Distribution: world X-Trace: ozemail.com.au 957141139 203.61.54.56 (Mon, 01 May 2000 10:32:19 EST) Organization: OzEmail Ltd, Australia NNTP-Posting-Date: Mon, 01 May 2000 10:32:19 EST Newsgroups: comp.lang.pascal.delphi.databases,borland.public.delphi.thirdparty-tools,comp.lang.pascal.delphi.components.misc