Steven.Ashby82
Registered User.
- Local time
- Today, 02:38
- Joined
- Jan 14, 2013
- Messages
- 63
I'm really sorry if this has already been discussed but I can't find the whole answer.
I currently have some code in my db form where I can create time/date stamped comments (I found the code else where)
Private Sub IndirectDataInput_Click()
If IndirectDataInput.Caption = "Click to Add New Comment" Then
TempDataBox.Visible = True
TempDataBox.SetFocus
IndirectDataInput.Caption = "Submit Comment"
Else
IndirectDataInput.Caption = "Add New Comment"
If IsNull(Me.CommentsField) Then
If Len(Me.TempDataBox) > 0 Then
Me.CommentsField = Now() & " " & Me.TempDataBox
Me.TempDataBox = ""
TempDataBox.Visible = True
Else
TempDataBox.Visible = True
End If
Else
If Len(Me.TempDataBox) > 0 Then
Me.CommentsField = Me.CommentsField & vbNewLine & Now() & " " & Me.TempDataBox
Me.TempDataBox = ""
TempDataBox.Visible = True
Else
TempDataBox.Visible = True
End If
End If
End If
End Sub
I'm trying to find out if I can also add a dropdown list (cbo) to stamp a user to the other details as well.
Thank you in advance
I currently have some code in my db form where I can create time/date stamped comments (I found the code else where)
Private Sub IndirectDataInput_Click()
If IndirectDataInput.Caption = "Click to Add New Comment" Then
TempDataBox.Visible = True
TempDataBox.SetFocus
IndirectDataInput.Caption = "Submit Comment"
Else
IndirectDataInput.Caption = "Add New Comment"
If IsNull(Me.CommentsField) Then
If Len(Me.TempDataBox) > 0 Then
Me.CommentsField = Now() & " " & Me.TempDataBox
Me.TempDataBox = ""
TempDataBox.Visible = True
Else
TempDataBox.Visible = True
End If
Else
If Len(Me.TempDataBox) > 0 Then
Me.CommentsField = Me.CommentsField & vbNewLine & Now() & " " & Me.TempDataBox
Me.TempDataBox = ""
TempDataBox.Visible = True
Else
TempDataBox.Visible = True
End If
End If
End If
End Sub
I'm trying to find out if I can also add a dropdown list (cbo) to stamp a user to the other details as well.
Thank you in advance