Results 1 to 3 of 3
  1. #1
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why does the following macro action retrieve the first 3 digit of Zipcode?
    Why 255?

    Action: SetValue
    Item: [Forms]![WeddingList]!
    Expression: [Zip].[SelStart] 255

    Thanks in advance.

    Armstrong

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts
    The macro doesn't retrieve anything. It positions the insertion point at the end of the Zip control; 255 being a value larger than the length of the Zip field.

  3. #3
    3 Star Lounger
    Join Date
    Mar 2009
    Location
    Hong Kong
    Posts
    359
    Thanks
    0
    Thanked 0 Times in 0 Posts
    [quote name='HansV' post='780973' date='22-Jun-2009 19:14']The macro doesn't retrieve anything. It positions the insertion point at the end of the Zip control; 255 being a value larger than the length of the Zip field.[/quote]
    Now I understand SelStart property is used to position the insertion point. Thanks for your help.
    Armstrong

Posting Permissions

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