HI all
I am using the following code to create a table:
I want to change the SLA field to format as percent. How can I do this?
Thanks
Tim
I am using the following code to create a table:
Code:
Set dbs = CurrentDb
Set tdf = dbs.CreateTableDef(tabname)
Set fld = tdf.CreateField("system", dbText, 30)
tdf.Fields.Append fld
Set fld = tdf.CreateField("Potential_Availability", dbText, 30)
tdf.Fields.Append fld
Set fld = tdf.CreateField("Actual_Availability", dbText, 30)
tdf.Fields.Append fld
Set fld = tdf.CreateField("SLA", dbDouble, 30)
tdf.Fields.Append fld
dbs.TableDefs.Append tdf
Set dbs = Nothing
I want to change the SLA field to format as percent. How can I do this?
Thanks
Tim