Re: renaming an mdb table from D7 using ADOX
From: adze (adze_at_no.mail.please)
Date: 12/29/03
- Previous message: Pascal Schmidt-Volkmar: "swapping two values in db"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 29 Dec 2003 18:19:42 +1100
>DRS wrote:
> http://codecentral.borland.com/codecentral/ccweb.exe/listing?id=15292
> It doesn't rename a table but it should be more than enough to get you going
> with ADOX. Add Variants to the uses clause for D6 and higher.
Thanks for that David. It worked a treat and I can now rename
tables using ADOX_TLB/ADODB_TLB. I have hit another snag though.
I was previously doing a table definition using SQL similar to:
DoSQL(Query,'CREATE TABLE ' +TableName +'('
+' ,fldBitmap OLEOBJECT '
+');');
But using your techniques, I can't find a suitable value in
DataTypeEnum for this column type (ie, adOleObject or similar).
Do you have any suggestions please?
regards, adze
- Previous message: Pascal Schmidt-Volkmar: "swapping two values in db"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|