Results 1 to 2 of 2
  1. #1
    4 Star Lounger
    Join Date
    May 2003
    Location
    Manchester, Gtr Manchester, England
    Posts
    552
    Thanks
    0
    Thanked 0 Times in 0 Posts

    report labels (2000)

    I have three contact types for a field contact, say 1,2 3. Agents log those contacts and I have a query thats shows how many of each contact type each agent has. I need to put this detail in a report with meaningful labels, currenlty it just shows, 1,2,3 where 1 2 and 3 are taken from an option group. Could I put a text box on the report and use an if statement to say if 1 then "meaningul namer" etc. If so how do i word the if statemnet?

    Thanks Darren.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: report labels (2000)

    I'd create a table (if you don't have one already) with the types and descriptions:

    <table border=1><td align=center>Type</td><td align=center>Description</td><td align=center>1</td><td>Something</td><td align=center>2</td><td>Other</td><td align=center>3</td><td>Don't know</td></table>
    You can then use text boxes with a control source such as
    <code>
    =DLookup("Description", "NameOfTable", "[Type]=" & [Type])
    </code>
    Substitute the appropriate names.

Posting Permissions

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