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.
Private Sub Form_Load()
If Me!FirstName.DefaultValue = Empty Then
Me!FirstName.DefaultValue = "=" & Chr(34) & "John" & Chr(34)
End If
End Sub
Dim db As DAO.Database
Set db = OpenDatabase("F:\apps\databases\accts.mdb")
With db.TableDefs("TheTableName")
.Fields("NumericField").Properties("DefaultValue") = 1
.Fields("TextField").Properties("DefaultValue") = "=" & Chr(34) & "Whatever" & Chr(34)
End With
db.TableDefs.Refresh