If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Set focus to end of data
Hi I have a memo field which some time has a fair few note in it.
I use the following to date stamp it Me.Comments4 = Comments4 & " " & Now() & " " Me.Comments4.SetFocus how do I get the cursor to be at the end of all the data entered into the field ready to start typing? At the moment it highlights all the data. Thanks Bob |
#2
|
|||
|
|||
Set focus to end of data
On Wed, 23 Apr 2008 16:59:55 +0100, dbl wrote:
Hi I have a memo field which some time has a fair few note in it. I use the following to date stamp it Me.Comments4 = Comments4 & " " & Now() & " " Me.Comments4.SetFocus how do I get the cursor to be at the end of all the data entered into the field ready to start typing? At the moment it highlights all the data. Thanks Bob Me.Comments4.Selstart = Len(Me.Comments4) -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
#3
|
|||
|
|||
Set focus to end of data
Thanks sorted.
Bob "fredg" wrote in message ... On Wed, 23 Apr 2008 16:59:55 +0100, dbl wrote: Hi I have a memo field which some time has a fair few note in it. I use the following to date stamp it Me.Comments4 = Comments4 & " " & Now() & " " Me.Comments4.SetFocus how do I get the cursor to be at the end of all the data entered into the field ready to start typing? At the moment it highlights all the data. Thanks Bob Me.Comments4.Selstart = Len(Me.Comments4) -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
#4
|
|||
|
|||
Set focus to end of data
That works fine thanks
Bob "fredg" wrote in message ... On Wed, 23 Apr 2008 16:59:55 +0100, dbl wrote: Hi I have a memo field which some time has a fair few note in it. I use the following to date stamp it Me.Comments4 = Comments4 & " " & Now() & " " Me.Comments4.SetFocus how do I get the cursor to be at the end of all the data entered into the field ready to start typing? At the moment it highlights all the data. Thanks Bob Me.Comments4.Selstart = Len(Me.Comments4) -- Fred Please respond only to this newsgroup. I do not reply to personal e-mail |
Thread Tools | |
Display Modes | |
|
|