Ask a Question related to ASP Database, Design and Development.
-
Dave Navarro #1
ADOX reference
Can anyone point me to an online reference for ADOX?
I am trying to get deep into the datatypes in a table from within my ASP
page.
Thanks!
--Dave
Dave Navarro Guest
-
adox asp ms access delete a column from a table
Hi folx - Here is the code I'm trying (but it errors out with "Item cannot be found in the collection corresponding to the requested name or... -
ADOX - how do I select a table by name in order to read which fields it has?
Hi - I'm finding tons of examples out there on how to create a table or enumerate thru tables and same with fields but what if I just want to... -
How to get the lenght of an Access database using ADOX
I want to administer a remote Access database using ASP. I use the ADOX setup. I am able to list the tables, the fields in each table, the field... -
using Access queries using ADOX
Hello, I have the following code in an asp 3.0 page: Dim dbConn As adodb.Connection Dim cat As ADOX.Catalog Dim view As ADOX.view Set dbConn... -
ADOX catalog problem
I am trying to display column information and I'm running into a problem. I can display column.properties("Autoincrement").name... -
Aaron Bertrand [MVP] #2
Re: ADOX reference
> Can anyone point me to an online reference for ADOX?
[url]http://msdn.microsoft.com/library/en-us/ado270/htm/adoddlo1.asp[/url]
[url]http://www.aspfaq.com/2177[/url]> I am trying to get deep into the datatypes in a table
Aaron Bertrand [MVP] Guest
-
Dave Navarro #3
Re: ADOX reference
In article <OkHwdNTYDHA.536@TK2MSFTNGP10.phx.gbl>, [email]aaron@TRASHaspfaq.com[/email]
says...I started with your code, thanks!>> > I am trying to get deep into the datatypes in a table
> [url]http://www.aspfaq.com/2177[/url]
Here's an updated function to return text for a data type:
Function GetDataType(ByVal dt)
Select Case dt
Case 0: GetDataType = "Empty"
Case 2: GetDataType = "SmallInt"
Case 3: GetDataType = "Integer"
Case 4: GetDataType = "Real"
Case 5: GetDataType = "Double"
Case 6: GetDataType = "Currency"
Case 7: GetDataType = "Date"
Case 8: GetDataType = "BSTR"
Case 9: GetDataType = "IDispatch"
Case 10: GetDataType = "Error Code"
Case 11: GetDataType = "Boolean"
Case 12: GetDataType = "Variant"
Case 13: GetDataType = "IUknown"
Case 14: GetDataType = "Decimal"
Case 16: GetDataType = "TinyInt"
Case 17: GetDataType = "Unsigned TinyInt (BYTE)"
Case 18: GetDataType = "Unsigned Small Int (WORD)"
Case 19: GetDataType = "Unsigned Int (DWORD)"
Case 20: GetDataType = "Big Int"
Case 21: GetDataType = "Unsigned Big Int"
Case 64: GetDataType = "FileTime"
Case 72: GetDataType = "Unique Identifier (GUID)"
Case 128: GetDataType = "Binary"
Case 129: GetDataType = "Char"
Case 130: GetDataType = "nChar"
Case 131: GetDataType = "Numeric"
Case 132: GetDataType = "User Defined (UDT)"
Case 133: GetDataType = "DBDate"
Case 133: GetDataType = "DBTime"
Case 135: GetDataType = "Small DateTime"
Case 136: GetDataType = "Chapter"
Case 138: GetDataType = "Automation (PropVariant)"
Case 139: GetDataType = "VarNumeric"
Case 200: GetDataType = "VarChar"
Case 201: GetDataType = "Text"
Case 202: GetDataType = "nVarChar"
Case 203: GetDataType = "nText"
Case 203: GetDataType = "VarBinary"
Case 205: GetDataType = "Image"
Case Else: GetDataType = dt
End Select
End Function
Dave Navarro Guest



Reply With Quote

