Try
Dim Db as Database
Dim Tdf as Tabledef
Dim fld as Fileds
'
Set Db = CurrentDb()
Set tdf = db.Tabledefs("TAbleName"
Set fld = tdf.Fields("fieldname"
now you need to experiment with properties of fld, (maybe .format) Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now -
Dim db As Database
Dim tdf As TableDef
Dim fld As DAO.Field
Dim i As Integer
Set db = CurrentDb()
Set tdf = db.TableDefs("tblName"
Set fld = tdf.Fields(1)
For i = 0 To fld.Properties.Count - 1
Debug.Print fld.Properties("Format"
Next i Regards
Ken Reay
Freelance Solutions Developer
Boldon Information Systems Ltd
Website needs upgrading, but for now -
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.