|
-
Jun 19th, 2001, 11:13 AM
#1
Thread Starter
Lively Member
Find out data types maybe?
OK, so I'm using this OpenSchema thing that I just found out about and love but now I'm trying to find out how I can determine the data type of a specific field.
Can you do this through OpenSchema?
-
Jun 19th, 2001, 07:44 PM
#2
-
Jun 21st, 2001, 05:15 AM
#3
Re: Find out data types maybe?
Originally posted by Criki
OK, so I'm using this OpenSchema thing that I just found out about and love but now I'm trying to find out how I can determine the data type of a specific field.
Can you do this through OpenSchema?
You can do it in DAO, maybe in ADO, too. Since I don't have any ADO knowledge, I can't give opinion on that, but DAO has a property, Type, for the field object which can tell the data type of the field.
.
-
Jun 21st, 2001, 10:44 AM
#4
Thread Starter
Lively Member
Unfortunately, I have no knowledge of DAO.
Example of OpenSchema...
Set rs = cn.OpenSchema(adSchemaTables, Array(Empty, Empty, Empty, "TABLE"))
Returns all the Table Names in the database.
-
Jun 21st, 2001, 04:41 PM
#5
Well there you go, didn't know that Thanks Criki
Honeybee is right though, In DAO you can extract all details from a recordset. We have this running on ourt major product, cause it hooks databases up to a data mining thing, and hence doesn't know what is in a table.
I didn't write the code, just suggested that this would be a great function, but could get some one to send me the module or whatever that does it. Apparently is not too complicated, but is a bit undocumented by MS.
-
Jun 21st, 2001, 05:08 PM
#6
Thread Starter
Lively Member
It was really just an extra bell to add in.
Not to worry.
But thank you both.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|