Results 1 to 3 of 3
  1. #1
    Marcelo Rojas O. is offline Novice
    Windows 7 64bit Access 2010 64bit
    Join Date
    Mar 2014
    Posts
    2

    Lightbulb Reports with a little work...

    Hi everyone...



    I have the database working, but i have to make a print report (okidata 321) with this apparience:

    Client....|............ State ..........| other data
    ..............1.......2.......3.......4...|....... ........
    --------------------------------------------
    client 1 | 12/03......................| blablabla
    client 2 | ...............15/03.......| (idem)
    client 3 | .......15/03...............| (idem)
    client 4 | ......................10/03| (idem)
    client 5 | 14/03......................| (idem)

    and so on for another clients...

    It's easy to make this:

    Client....| State | other data
    ---------------------------
    client 1 | 1........| blablabla
    client 2 | 3........| (idem)
    client 3 | 2........| (idem)
    client 4 | 4........| (idem)
    client 5 | 1........| (idem)

    But i have to explain the report more graphically..

    The State field asume four possible state: 1, 2, 3, 4.
    The "10/03" is indicating the actual client's state (the date when arrive to the state)).

    Can i put a "If.. then" in place of state on the report? as this
    Client....|....................................... ................. State .................................................. ..............................| other data
    ...........|..............1....................... .......2................................3......... .......................4.......................... .....|
    client1...|.(If 1 then view)............(If 1 then hide).............(If 1 then hide)............(If 1 then hide)........................|
    client2...|.(If 3 then hide).............(If 3 then hide).............(If 3 then view)...........(If 3 then hide)........................|
    client3...|.(If 2 then hide).............(If 2 then view).............(If 2 then hide)............(If 2 then hide)........................|
    client4...|.(If 4 then hide).............(If 4 then hide).............(If 4 then hide)............(If 4 then view)........................|
    client5...|.(If 1 then view)............(If 1 then hide).............(If 1 then hide)............(If 1 then hide)........................|

    How to make it? any ideas?

    Thanks... Please, ask me for more details if you need more... can i to write a link with this entire work?

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    I don't know if I completely understand yet but you can certainly post your db. Just Compact and Repair and then zip it up first.

  3. #3
    Xipooo's Avatar
    Xipooo is offline Sr. Database Developer
    Windows 8 Access 2013
    Join Date
    Jan 2014
    Location
    Arizona
    Posts
    332
    Use an IIF() function in the control source to either display the value or display a blank space:
    Code:
    =IIF(<FieldName>=1, <FieldName>, "")
    or if you don't want the value to show when it is equal to 1.
    Code:
    =IIF(<FieldName><>1, <FieldName>, "")

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

Similar Threads

  1. Convert Client Reports to Web Reports
    By need_help12 in forum Reports
    Replies: 0
    Last Post: 05-08-2012, 08:22 AM
  2. can't we just work together?
    By ldodge in forum Queries
    Replies: 4
    Last Post: 10-15-2011, 06:42 AM
  3. how does mdw work?
    By raffie77 in forum Security
    Replies: 2
    Last Post: 08-17-2011, 12:43 PM
  4. Reports w/ sub-reports very slow to open
    By vaikz in forum Reports
    Replies: 2
    Last Post: 02-27-2011, 08:41 AM
  5. Access Reports drop sub-reports
    By Kevin Ellis in forum Reports
    Replies: 0
    Last Post: 11-19-2010, 03:28 PM

Tags for this Thread

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