I have a make table query that creates a new table everyday.
I have tried-
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Dim db As DAO.Database
Set db = CurrentDb
Set tdf = db.TableDefs("MyTableName")
Set fld = tdf.Fields("MtFieldName")
fld.Properties("Format") = "Short Time"
but it errors out on the last line with a Run Time error 3270 Property not found.
I have DAO 3.6 reference Library checked.
Thanks
I have tried-
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Dim db As DAO.Database
Set db = CurrentDb
Set tdf = db.TableDefs("MyTableName")
Set fld = tdf.Fields("MtFieldName")
fld.Properties("Format") = "Short Time"
but it errors out on the last line with a Run Time error 3270 Property not found.
I have DAO 3.6 reference Library checked.
Thanks