Results 1 to 3 of 3
  1. #1
    ybg1 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    23

    SelStart problem


    Hi there,
    I'm trying to open the form when the cursor sits at the end of the text
    that previously was typed, after todays date was inserted on the next line.
    It does all that but at first you see only the date, and to be able to see the
    previous text you need to scroll with the top arrow otherwise it is invisable.
    Code:
    Private Sub Form_Current()
    Me.Remarks.SetFocus 
    Me
    .Remarks Me.Remarks vbNewLine Date 
      Me
    .Remarks.SelStart Len(MeRemarks
    End Sub 
    I've tried: Me.Remarks.SelStart = 0 and I can see the previous text but
    of course the cursor sits in the begining of the page.
    what I can do to have it sits after the inserted date and still see the previous text
    thanks

  2. #2
    ajetrumpet is offline VIP
    Windows Vista Access 2007
    Join Date
    Mar 2010
    Location
    N/A
    Posts
    2,694
    best to wait for the answer on awf: http://www.access-programmers.co.uk/...d.php?t=201507

  3. #3
    ybg1 is offline Novice
    Windows XP Access 2003
    Join Date
    Nov 2010
    Posts
    23

    SelStart

    Thank you for your help
    I've solved the problem by using DoCmd.Maximize

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 06-14-2010, 03:25 PM
  2. query problem i have a problem wi
    By maxx3 in forum Queries
    Replies: 0
    Last Post: 06-29-2009, 02:29 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums