Search results

  1. M

    SQL Update - New user

    Thanks Paul for your help!
  2. M

    SQL Update - New user

    Hi Paul: I am using a button to do the field update. this is its content: Private Sub CopyStudentAddress_Click() Me.Refresh CurrentDb.Execute ("UPDATE Guardians SET Guardians.Address = Address_Students WHERE Guardians.ID = " & Me.ID) Me.Refresh End Sub the id field is autonumber. Thanks...
  3. M

    SQL Update - New user

    Thanks for helping, Paul. Here is the line: CurrentDb.Execute ("UPDATE Guardians SET Guardians.Address = Address_Students WHERE Guardians.ID = " & Me.ID) Mary
  4. M

    SQL Update - New user

    Thanks for replying, Paul. it worked well when i use runsql, but when i tried with currentdb.execute, it shows the following error "runtime error 3061, too few paramenters. expected 1". Thanks very much your help. It is appreciated. :) Mary
  5. M

    SQL Update - New user

    Hi: My name is Maricruz, i am new programming with vba and have issues understanding the syntax of DoCmd.RunSQL Update. This is the line DoCmd.RunSQL ("UPDATE Guardians SET Guardians.Address = Address_Students WHERE Guardians.ID = Id;") :confused: id is a field in the form. When I...
Back
Top Bottom