I need to create a decimal field in MsAccess 2003 through DAO. How do I do that? Other fields I can create using following codesnippet, but not decimal.
How do I set type, precision and scale?
NOTE : a decimals datatype = 20, but setting a datatype to 20 results in invalid data type
Dim db As DAO.Database
Dim tbl As TableDef
Dim fld As Field
Set db = CurrentDb
tbl = database.CreateTableDef("Test")
fld = tbl.CreateField( .... )