Results 1 to 4 of 4
  1. #1
    devcon is offline Novice
    Windows 7 Access 2007
    Join Date
    Jan 2010
    Posts
    24

    Label in Report

    I have a report and at the end of the report I want to include a label (bank details).
    If currency Euro to use label euro, if currency US$ to use label US and if currency Singapore Dollars to use SGD.
    Any suggestion please?

    Thanks in advance.

    See attached:


    http://www.mediafire.com/file/hyyz2tmykhz/Report.pdf

  2. #2
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    assuming that currency is a field on the report.

    place a label in the Report:

    e.g. name of the label is label17

    this code attached in the OnOpen Event.

    Select Case Me.Currency
    Case is = "$"
    Me.Label17.Caption="Dollars"
    Case is = "#"
    Me.Label17.Caption="Pounds"
    End Select

  3. #3
    devcon is offline Novice
    Windows 7 Access 2007
    Join Date
    Jan 2010
    Posts
    24
    Quote Originally Posted by maximus View Post
    assuming that currency is a field on the report.

    place a label in the Report:

    e.g. name of the label is label17

    this code attached in the OnOpen Event.

    Select Case Me.Currency
    Case is = "$"
    Me.Label17.Caption="Dollars"
    Case is = "#"
    Me.Label17.Caption="Pounds"
    End Select
    Thank you.
    Have a nice weekend.

    Devcon

  4. #4
    maximus's Avatar
    maximus is offline Expert
    Windows 7 Access 2010 (version 14.0)
    Join Date
    Aug 2009
    Location
    India
    Posts
    931
    Please mark the thread solved if this solves your problem. this will help others with the same problem.

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

Similar Threads

  1. Problem with label in Access 2007
    By Madraykin in forum Forms
    Replies: 4
    Last Post: 02-04-2010, 10:41 AM
  2. Title Label In Subforms
    By vCallNSPF in forum Reports
    Replies: 4
    Last Post: 12-08-2009, 06:20 PM
  3. Replies: 0
    Last Post: 11-24-2009, 03:23 PM
  4. A Label in a Switchboard
    By Hawkx1 in forum Forms
    Replies: 1
    Last Post: 07-09-2008, 12:37 PM
  5. Change of label size
    By Zoroxeus in forum Programming
    Replies: 0
    Last Post: 06-11-2007, 08:18 AM

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