I have a field that automatically has the time and user name entered into it when the user makes an entry in this field ( its a memo field, so the time and user stamp keeps the memos from being a long stream of data with no "when was this added?" )
I am doing this:
-onGetfocus
[new_memo] = vbCrLf & vbCrLf & Now() & vbCrLf & CurrentUser() & vbCrLf
-onLostFocus
[notes]= [notes] & " " & [new_memo]
[new_memo] = " "
problem is that the time and user is placed OK, but the 'cursor' is above this info. I would like the place where the info gets typed to be after the time and user, without the person having to scroll down below it each time.
is this a use for selstart? would I just make the position in selstart some number bigger than I expect the time and use to be?
thanks for any ideas.
I am doing this:
-onGetfocus
[new_memo] = vbCrLf & vbCrLf & Now() & vbCrLf & CurrentUser() & vbCrLf
-onLostFocus
[notes]= [notes] & " " & [new_memo]
[new_memo] = " "
problem is that the time and user is placed OK, but the 'cursor' is above this info. I would like the place where the info gets typed to be after the time and user, without the person having to scroll down below it each time.
is this a use for selstart? would I just make the position in selstart some number bigger than I expect the time and use to be?
thanks for any ideas.