INSERT INTO TBL_Address ( voter)
SELECT [forms]![Main Form]![password] AS Expr1;
Dim strSQL As String
strSQL = "INSERT INTO TBL_Address ( voter) " & _
"SELECT " & [forms]![Main Form]![password] & " AS Expr1;"
DoCmd.RunSQL strSQL
Private Sub f2_AfterUpdate()
Dim strSQL As String
strSQL = "INSERT INTO TBL_address (f2) VALUES ('" & [Forms]![Main Form]![password] & "');"
DoCmd.RunSQL strSQL
End Sub
Sorry to say this.. I would love to help, but I am not planning on register just to download the file.. Follow this link that will explain how to upload your DB here.. http://www.access-programmers.co.uk/forums/showthread.php?t=212125