Results 1 to 3 of 3
  1. #1
    catluvr is offline Advanced Beginner
    Windows 10 Office 365
    Join Date
    Mar 2018
    Location
    Kansas
    Posts
    87

    Should concatenation take place in query or report? What about formatting?

    Hello All!

    I wasn't sure if this was a query question or a report question.

    I'm helping out my daughter. She has several number fields that ultimately need a unit of measure (UOM) added to them. She also has a few fields will be ultimately be shown as percentages.

    Where should that take place? I must admit, I never thought about it. I have some that concatenate the UOM in a query and others that do it in the report.

    She says she is having some rounding issues ... I can't show it to you because it always works fine for me.

    So, if the steps to the report are:

    Master Table
    Query 1 - data from master table
    Query 2 - query 1 + a few other tables
    Query 3 - query 2 + another query
    Report - based on query 3

    Where is the best place to add "/ft" or make a decimal show as a percent?

    Or does it really matter?

    Thanks!




    Susie
    Kansas

  2. #2
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,445
    Where is the best place to add "/ft" or make a decimal show as a percent?
    leave all formatting and presentation to the final view, i.e. the form or report. queries are for managing/processing data, not presentation.

    Edit: Happy to argue you could use query3 as your 'final' view, it is my personal preference to do so in the form/report because they are about presentation.

    Do not forget the format property of a control - you can use that without changing the underlying value

  3. #3
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,527
    do all you can in the query. then in the report, just pick the field.

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

Similar Threads

  1. Replies: 4
    Last Post: 07-27-2017, 06:00 AM
  2. Replies: 11
    Last Post: 09-12-2013, 04:56 AM
  3. Query and Concatenation
    By Try2Live4God in forum Programming
    Replies: 2
    Last Post: 05-25-2010, 03:45 PM
  4. Concatenation and IIF statements in report
    By bjsbrown in forum Reports
    Replies: 20
    Last Post: 10-19-2009, 10:00 AM
  5. Replies: 1
    Last Post: 05-21-2009, 08:13 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