Results 1 to 4 of 4
  1. #1
    John Southern is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    31

    Query changing format

    I have a series of SELECT Queries culminating in a MAKETABLE query which is the data source for a report.
    The field [GOODS_AMOUNT] formatted as currency comes unscathed through the queries untll the last one.
    In this query it is used in a calculated fields as follows:-

    90Days: iif([Overdue]<=-3,[GOODS_AMOUNT,"")
    60Days: Iif([Overdue]<=-2,[GOODS_AMOUNT},"")


    etc

    The fields 90Days,60Days etc arrive formatted as text which means I am unable to sum them in the report.
    How do I make sure that they are currency fields, why do they change?

    John

  2. #2
    Join Date
    Jun 2010
    Location
    Belgium
    Posts
    1,044
    Hi John,

    try:
    90Days: iif([Overdue]<=-3,[GOODS_AMOUNT],0)
    60Days: Iif([Overdue]<=-2,[GOODS_AMOUNT],0)

    grNG

  3. #3
    John Southern is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    31
    NoellaG,
    Thanks for that I will try it.
    John

  4. #4
    John Southern is offline Advanced Beginner
    Windows XP Access 2007
    Join Date
    Mar 2010
    Posts
    31
    NoellaG
    That worked , thanks a lot. I also tried forcing a format which did strange things to negative numbers (credit notes). I will mark as solved.
    John

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

Similar Threads

  1. Replies: 2
    Last Post: 03-23-2012, 09:20 AM
  2. Changing Query on the Fly
    By pdouglas in forum Programming
    Replies: 0
    Last Post: 06-25-2009, 10:58 AM
  3. Replies: 1
    Last Post: 07-17-2006, 06:30 AM
  4. Conditional Format Query
    By Schwagr in forum Queries
    Replies: 3
    Last Post: 03-20-2006, 02:39 PM
  5. Replies: 2
    Last Post: 11-09-2005, 02:51 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