Results 1 to 3 of 3
  1. #1
    pagi33 is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jan 2014
    Posts
    2

    Question Mulit Line Text Box Auto Populate Fileds

    HI,

    I am creating a search form where in customer name will be 3 controls 1 is search box second search button below that will be list of customer name.

    Now i have trying to replicate contactsweb template from access website where in NameList form has created same thing what i want i created same form but my auto populate text box third control is not showing multiline.

    Below is the link for template

    http://office.microsoft.com/en-in/te...101114814.aspx


    I need help for having multli line in text box.



    Thanks

    Pagi

  2. #2
    rpeare is offline VIP
    Windows XP Access 2003
    Join Date
    Jul 2011
    Posts
    5,441
    if you want a carriage return in your text box you have to populate it with the string vbcrlf so for instance if you wanted their name, address then phone number in the text box you'd do something like

    =[PersonName] & vbcrlf & [PersonAddress] & vbcrlf & [PersonPhone]

    as the control source of the text box. I'm not downloading the application so I'm guessing here but if the text box is an actual data field that people use for data entry you can move to the next row of a text box using CTRL-ENTER to force a hard return rather than a soft return when they reach the end of a row.

  3. #3
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,771
    If you want multi-line during data entry, textbox has a property Enter Key Behavior. Set it to 'New Line in Field' and pressing Enter key will force a new line and focus will remain on the textbox instead of moving to next control, unless this feature is not available in web db, otherwise try the CTRL-ENTER rpeare suggested.

    If you want to combine 3 fields for display in a single textbox, then use concatenation as rpeare shows.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Help For Text Box Auto Populate Fileds
    By pagi33 in forum Forms
    Replies: 1
    Last Post: 01-06-2014, 10:12 AM
  2. Auto Populate a text box in a continuous form
    By KevinCollins in forum Access
    Replies: 6
    Last Post: 10-28-2013, 08:04 AM
  3. Auto populate text from date
    By losingmymind in forum Access
    Replies: 4
    Last Post: 05-30-2013, 10:39 AM
  4. Populate fileds off the last record
    By BorisGomel in forum Access
    Replies: 3
    Last Post: 11-09-2011, 11:37 AM

Tags for this Thread

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