Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Attributes constants

Status
Not open for further replies.

nkiefer

Programmer
May 21, 2001
86
US
I have the following code where I am enumerating the fileds in each table in my database:

' Enumerate TableDefs collection.
For Each tdfLoop In .TableDefs
Debug.Print tdfLoop.Name
For i = 0 To tdfLoop.Fields.Count - 1
Debug.Print tdfLoop.Fields(i).Attributes
Next i
Next tdfLoop

I am doing this to try and find which fields are autonumber. The code above lists the attributes as constants. Is there a file showing what each of these constants mean?
 

dbByte: dataType = "Byte"
dbInteger: dataType = "Integer"
dbSingle: dataType = "Single"
dbDouble: dataType = "Double"
dbDate: dataType = "DateTime"
dbLongBinary: dataType = "OLE"
dbMemo: dataType = "Memo"
dbCurrency: dataType = "Currency"
dbLong: datatype="Long"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top