Search results

  1. W

    Command button to input data in a table

    Nothing happens when I click the button. This line is marked yellow in the code: DoCmd.GoToRecord acDataForm, "Table2", acNewRec
  2. W

    Command button to input data in a table

    Am I totaly wrong if I write it like this?: Private Sub Kommando21_Click() If Me.NewRecord = False Then DoCmd.GoToRecord acDataForm, "Table1", acNewRec Me.Field1 = 1 Me.Field2 = 0 Me.Field3 = 0 Me.Field4 = 0 End If End Sub I get this message when I click it: "Compile error: Invalid...
  3. W

    Command button to input data in a table

    I'm a rookie in access programming, so I need some basic help. I need a command button to input data into certain fields in a table. Example: I have a table (Table1) with four fields: Field1, Field2, Field3 and Field4. A form (Form1) is linked to Table1. In the form I have two buttons...
Top Bottom