 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Vlad Gonchar Guest
|
Posted: Thu May 06, 2004 2:48 pm Post subject: Re: How to retreive a column type by using TADOConnection.Op |
|
|
It gives me types values as numbers. How I can convert them to real (ADO or
Delphi) types ?
"Brian Bushay TeamB" <BBushay (AT) Nmpls (DOT) com> wrote
| Quote: |
ADOConnection1.OpenSchema(siColumns
,VarArrayOf([Null,Null,'YourTablenamehere',null]),EmptyParam,ADODataSet1)
--
Brian Bushay (TeamB)
[email]Bbushay (AT) NMPLS (DOT) com[/email]
|
|
|
| Back to top |
|
 |
Viatcheslav V. Vassiliev Guest
|
Posted: Thu May 06, 2004 4:01 pm Post subject: Re: How to retreive a column type by using TADOConnection.Op |
|
|
Data types are ADO data types - look DataTypeEnum in ADOInt unit or
ADOTypeToFieldType function in ADODB unit (it is only in implementation
section but you can copy it into another unit).
//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)
"Vlad Gonchar" <VladG at frogware dot com> сообщил/сообщила в новостях
следующее: news:409a50ac$1 (AT) newsgroups (DOT) borland.com...
| Quote: | It gives me types values as numbers. How I can convert them to real (ADO
or
Delphi) types ?
"Brian Bushay TeamB" <BBushay (AT) Nmpls (DOT) com> wrote in message
news:lrvl8058m3kilem32pbd0cvg9b19fvi2ul (AT) 4ax (DOT) com...
ADOConnection1.OpenSchema(siColumns
,VarArrayOf([Null,Null,'YourTablenamehere',null]),EmptyParam,ADODataSet1)
--
Brian Bushay (TeamB)
[email]Bbushay (AT) NMPLS (DOT) com[/email]
|
|
|
| Back to top |
|
 |
Vlad Gonchar Guest
|
Posted: Thu May 06, 2004 7:28 pm Post subject: Re: How to retreive a column type by using TADOConnection.Op |
|
|
| Quote: | ADOConnection1.OpenSchema(siColumns
,VarArrayOf([Null,Null,'YourTablenamehere',null]),EmptyParam,ADODataSet1)
|
Please, give more details on the VarArrayOf parameters.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|