Z
zamdrist
I am trying to create and append a property for a table's datasheet row
height (not a form datasheet view), but not having any luck. I have
also tried using code that assumes the existence of the property, as it
seems as it does, and that doesn't work either.
Dim pProperty As DAO.Property
Dim tdf As DAO.TableDefs
Set tdf = CurrentDb.TableDefs("tblWorkflow_New")
Set pProperty = tdf.CreateProperty("RowHeight", dbInteger, 35)
tdf.Properties.Append pProperty
'Or Just...
CurrentDB.TableDefs("tblWorkflow_New").Properties("RowHeight").Value =
35
Neither appears to work, have tried several variations. No error is
returned at all...just quietly executes the code...but no
results...thought, ideas?
Thanks
height (not a form datasheet view), but not having any luck. I have
also tried using code that assumes the existence of the property, as it
seems as it does, and that doesn't work either.
Dim pProperty As DAO.Property
Dim tdf As DAO.TableDefs
Set tdf = CurrentDb.TableDefs("tblWorkflow_New")
Set pProperty = tdf.CreateProperty("RowHeight", dbInteger, 35)
tdf.Properties.Append pProperty
'Or Just...
CurrentDB.TableDefs("tblWorkflow_New").Properties("RowHeight").Value =
35
Neither appears to work, have tried several variations. No error is
returned at all...just quietly executes the code...but no
results...thought, ideas?
Thanks