Hi,
Trying to add a custom format when I add a field to the table with vba. It is a number field that I want to force to two digits. Instead of 6 show 06, etc. I know how to add the field but not the format, I get errors with with this:
Set fld = tbl.CreateField("MYMYMYRevOR", dbLong, "00")
tbl.Fields.Append fld
fld.Properties("Format").Value = "00"
Is there a way to add a custom format to a number field? I would also like to be able to make the date fields 'ShortDate' but that does not work either.
Thanks
Lisa
Trying to add a custom format when I add a field to the table with vba. It is a number field that I want to force to two digits. Instead of 6 show 06, etc. I know how to add the field but not the format, I get errors with with this:
Set fld = tbl.CreateField("MYMYMYRevOR", dbLong, "00")
tbl.Fields.Append fld
fld.Properties("Format").Value = "00"
Is there a way to add a custom format to a number field? I would also like to be able to make the date fields 'ShortDate' but that does not work either.
Thanks
Lisa