Results 1 to 2 of 2
  1. #1
    billybeer is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    Jun 2015
    Posts
    27

    Adding default letter to entry in textbox on form


    I have a textbox on a form that sets parameters on a query. I want there to be a letter automatically added to the beginning of the set of numbers that the user inputs. So the user should input 5 numbers and I want the letter "P" added to that number to be sent to the query. 45363 should become P45363. Thanks.

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,424
    just at the P in your query


    WHERE somefield="P" & [Forms]![Someform]![somefield]

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

Similar Threads

  1. Adding a letter after a date
    By Sturgis76 in forum Forms
    Replies: 1
    Last Post: 04-05-2017, 06:19 PM
  2. Replies: 3
    Last Post: 01-09-2017, 09:47 AM
  3. Replies: 14
    Last Post: 06-18-2015, 04:09 PM
  4. Replies: 2
    Last Post: 08-06-2011, 12:19 PM
  5. Replies: 4
    Last Post: 01-27-2010, 12:39 PM

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