Results 1 to 4 of 4
  1. #1
    Mihael is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    2

    Question =IIf QUESTION

    Hello. I am kind of newbie in Access and there is problem that i cannot solve alone.
    I am using a template of issues system and it has an email function. When the report is written and the user clicks the E-mail button it automatically writes fills the email in Outlook. Everything is clear, but i cannot add another form in the "Message text"

    The text now is =IIf([Form].[Description].[TextFormat]=1;PlainText([Description]);[Description])



    I want to add the information from field called "AWB", not just "Description" field. I need them both.

    Can you tell me what should i write?

    Thanks in advance!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    You can concatenate form references and literal text together with &:

    =IIf(...) & " whatever " & Forms!FormName.TextboxName
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    Mihael is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Jul 2013
    Posts
    2
    Thank a lot.

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,641
    No problem, and welcome to the site by the way!
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

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

Similar Threads

  1. Replies: 4
    Last Post: 08-25-2012, 07:19 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