Hello,
How can I save an unbound text field directly to a specific record in a table?
I can specify the right record via recordID and questionID. The field I want to save to is called "Note".
Right now I am moving the content of the unbound text field [located on the parent form] to a hidden text field on a continuous subform that is based on the table that is to store the information [which is not the table the parent form is based on], so it is saved that way.
The problem with that approach is that the right record has to be the current record on the continuous subform for the text to be saved in the correct place. If somebody were to edit only the text field later, the information will end up in the wrong place.
I can read the record into my text field
Any suggestions?
Thank you.
How can I save an unbound text field directly to a specific record in a table?
I can specify the right record via recordID and questionID. The field I want to save to is called "Note".
Right now I am moving the content of the unbound text field [located on the parent form] to a hidden text field on a continuous subform that is based on the table that is to store the information [which is not the table the parent form is based on], so it is saved that way.
The problem with that approach is that the right record has to be the current record on the continuous subform for the text to be saved in the correct place. If somebody were to edit only the text field later, the information will end up in the wrong place.
I can read the record into my text field
but don't know how to write to it.Me.Parent.NoteText = DLookup("[Note]", "tblActivityAnswers", "[ActivityID] = " & Me.Parent.[ActivityID] & " AND [QuestionID] = 12")
Any suggestions?
Thank you.