Results 1 to 3 of 3
  1. #1
    fishhead is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2015
    Posts
    167

    formatting issue?

    HI there,


    i have a continuous form that has totals in both CDN and USD

    In the form footer I have two txt boxes that sum each type

    For some reason the format of the Control Source doesn't seem to work any longer.

    here's what I'm using:

    =Sum(-[SumOfOutstanding]*([CURRENCY]="CDN"))

    where [sumofoutstanding] = the field that has the separate line items in either CDN or USD

    Can anyone tell me how I might change the expression to sum these two items separately?

    thanks in advance...

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    you cannot sum words like "CDN"

    You can use it as criteria:
    =Dsum([field],[tbl/qry], "[currency]='CDN'")

  3. #3
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    Is currency displayed on your form as a column called currency with text values?

    Not sure what you mean by ‘format doesn’t seem to work’. Provide some examples to illustrate what you mean

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

Similar Threads

  1. Issue with Formatting for Printing
    By Chad Access in forum Reports
    Replies: 3
    Last Post: 05-01-2020, 02:16 PM
  2. formatting issue
    By aamer in forum Access
    Replies: 5
    Last Post: 12-14-2018, 10:22 PM
  3. Form Formatting Issue
    By Allienne in forum Forms
    Replies: 3
    Last Post: 12-13-2018, 11:17 AM
  4. Formatting Issue
    By JohnnyDarkside in forum Access
    Replies: 2
    Last Post: 08-01-2017, 11:37 AM
  5. Formatting Issue
    By mkc80 in forum Access
    Replies: 1
    Last Post: 08-26-2012, 11:45 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