edit record in new form

mohamedmatter

Registered User.
Local time
Today, 02:15
Joined
Oct 25, 2015
Messages
122
I want when click any record in search form edit this record in enterdata form to modify or delete
i attach data base to helps
many thanks
 

Attachments

If you allow data edits in the properties of the sub form you can edit them without problem.
 
Help with what? You haven't shown your code or what error you get.
 

Attachments

  • 2018-10-30_19h18_27.jpg
    2018-10-30_19h18_27.jpg
    85 KB · Views: 92
  • 2018-10-30_19h19_01.jpg
    2018-10-30_19h19_01.jpg
    91.8 KB · Views: 97
Did you see in the link the different syntax requirements for text vs numeric data types?

DoCmd.OpenForm "EnterData", , , "ID = " & Me.ID
 
Did you see in the link the different syntax requirements for text vs numeric data types?

DoCmd.OpenForm "EnterData", , , "ID = " & Me.ID
thank you
last question
how
How do I alert a user to click the id not any filed in the record or
how i opening enterdata when user click any filed in record as id filed in this exmple
end many thanks
 
You can put a label in the header that says "Double click on ID to edit" or something similar. You can put the same code behind all of the textboxes to have it work from any of the fields.
 

Users who are viewing this thread

Back
Top Bottom