Good Aft,
Trying to use the code below to make a table in vb, but i can't figure out how to set the scale, which needs to be one in this scenario.
TIA for any clues
Dan
Trying to use the code below to make a table in vb, but i can't figure out how to set the scale, which needs to be one in this scenario.
Code:
Dim tdef As TableDef
Set tdef = CurrentDb.CreateTableDef("tblReports")
With tdef
.Fields.Append .CreateField("StaffID", dbInteger)
CurrentDb.TableDefs.Append tdef
End With
Dan
Comment