Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 2003
    Manchester, NH

    Unanswered: Enter a field on a form past first character

    I have a telephone number field that when someone tab's into the field, I want it to go to the 4th character of that field or maybe highlight the last 7 characters. Here is an example:

    telephone number field
    (603) 000-0000

    It is a number field with an input mask for phone number. I want the cursor to go right to the 4th character i.e. the 1st "0" in the field, or highlight the last 7 digits of the phone number so they can just type in the last 7 and leave 603 as it is always the first 3 digits. Any ideas?

    Thank you.


  2. #2
    Join Date
    Aug 2003
    Delft, The Netherlands (EU)

    Re: Enter a field on a form past first character

    Look for the SelStart and SelLength properties of a text box.
    Make everything as simple as possible, but not simpler! - A. Einstein
    DB Problems? DB Explorer, BTrieve Re-engineering, DB Conversions & ETL? Conversion Tool

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts