G
Guest
Hi, I'm trying to add a "ctrl+enter" to a text field, but not manually, I
take the text in the DETAIL_DESC field, and add it to the DETAIL_HIST field.
Each time I add a new DETAIL_DESC.value to DETAIL_HIST, I want a new row. Can
you help me?
Private Sub DETAIL_DESC_Exit(Cancel As Integer)
Dim TEXT1 As String
Dim TEXT2 As String
Dim MODIF As String
Dim SUBMIT As String
TEXT2 = DETAIL_HIST.Value
TEXT1 = DETAIL_DESC.Value
MODIF = Now()
SUBMIT = SUBMITTER.Value
DETAIL_HIST.Value = (TEXT2 + "CTRL+ENTER" + MODIF + SUBMIT + TEXT1)
DETAIL_DESC.Value = ""
End Sub
take the text in the DETAIL_DESC field, and add it to the DETAIL_HIST field.
Each time I add a new DETAIL_DESC.value to DETAIL_HIST, I want a new row. Can
you help me?
Private Sub DETAIL_DESC_Exit(Cancel As Integer)
Dim TEXT1 As String
Dim TEXT2 As String
Dim MODIF As String
Dim SUBMIT As String
TEXT2 = DETAIL_HIST.Value
TEXT1 = DETAIL_DESC.Value
MODIF = Now()
SUBMIT = SUBMITTER.Value
DETAIL_HIST.Value = (TEXT2 + "CTRL+ENTER" + MODIF + SUBMIT + TEXT1)
DETAIL_DESC.Value = ""
End Sub