I have a form called "Problem Records Details" which contains a Text Box called "txtNotes".
The Record Source for the "Problem Records Details" form is a linked table called "dbo_proble ms". However all Notes are stored in a linked table called "dbo_tblNot es". The "ID" field in the "dbo_tblNot es" table references the "ProblemID" field in the "dbo_proble ms" table. I want the the user to be able to enter notes in the using the "txtNotes" text box on "Problem Records Details" form. If notes are entered in the form and save is clicked then any notes entered need to be inserted into the "dbo_tblNot es" table with the correct "ID" referencing the same "ProblemID" of the record displayed in the "Problem Records Details" form.
Any help, insight, or suggestions are greatly appreciated. Thank you in advance.
Regards,
Catalyst
PS. Would something like the following work:
The Record Source for the "Problem Records Details" form is a linked table called "dbo_proble ms". However all Notes are stored in a linked table called "dbo_tblNot es". The "ID" field in the "dbo_tblNot es" table references the "ProblemID" field in the "dbo_proble ms" table. I want the the user to be able to enter notes in the using the "txtNotes" text box on "Problem Records Details" form. If notes are entered in the form and save is clicked then any notes entered need to be inserted into the "dbo_tblNot es" table with the correct "ID" referencing the same "ProblemID" of the record displayed in the "Problem Records Details" form.
Any help, insight, or suggestions are greatly appreciated. Thank you in advance.
Regards,
Catalyst
PS. Would something like the following work:
Code:
currentdb.execute ("INSERT INTO dbo_tblNotes (id, note, addDate, uid, private) VALUES ('" & me.ID & "','" & me.txtNotes & "','" & Now() & "','" & me.Username & "','" & me.txtpriority & "') ;"
Comment