Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Function Append_Field_EXT_db__DAO(strDataBasePathName As String, strTblName As String, strFldName As String)
Dim db As DAO.Database, tdf As DAO.TableDef, fld As DAO.Field
Set db = DBEngine.Workspaces(0).OpenDatabase(strDataBasePathName)
Set tdf = db.TableDefs(strTblName)
tdf.Fields.Append tdf.CreateField(strFldName, dbInteger)
Set fld = Nothing: Set tdf = Nothing: Set db = Nothing
End Function
Function Append_Field_EXT_db__DDL(strDataBasePathName As String, strTblName As String, strFldName As String)
Dim db As DAO.Database, strSQL As String
strSQL = "ALTER TABLE " & strTblName & " IN '" & strDataBasePathName & "' ADD COLUMN " & strFldName & " INTEGER;"
Set db = CurrentDb()
db.Execute strSQL, dbFailOnError
Set db = Nothing[s][/s]
End Function