A
Ac
I have a program that calculates values for each field in a table. After the
calculation, the results will be added into the table. Now I would like to
write code to clean up the current table which holds the data from last
calculation. Below is the code, but it does not clean up the fields. Could
someone help me? Thanks.
Dim db As DAO.Database
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Set db = CurrentDb()
Set tdf = db.TableDefs("Results")
Set fld = Nothing
Set tdf = Nothing
Set db = Nothing
calculation, the results will be added into the table. Now I would like to
write code to clean up the current table which holds the data from last
calculation. Below is the code, but it does not clean up the fields. Could
someone help me? Thanks.
Dim db As DAO.Database
Dim tdf As DAO.TableDef
Dim fld As DAO.Field
Set db = CurrentDb()
Set tdf = db.TableDefs("Results")
Set fld = Nothing
Set tdf = Nothing
Set db = Nothing