Results 1 to 4 of 4
  1. #1
    spd54 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    3

    report auto fill

    Hi, Hope someone can help as I can't get my head round this problem. I have a report that fills in a name from one field but if this field is empty I would like to fill from another field so that it is not left blank. Field names are clown name and real name

    Thanks



    Steve

  2. #2
    NTC is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    Nov 2009
    Posts
    2,392
    I would implement this at the record source of the report, not the report itself.
    Have a query as the record source if you now only are using a table.
    Presuming you have a query - then create a calculated field. So you have your ClownName field then RealName field and then new (calculated) FinalName field with this type syntax:
    FinalName: iif(isnull([ClownName]),[RealName],[ClownName])

    The IIF method is an if/than using commas so to translate that is: If Clown Name is null then use Real Name otherwise use Clown Name

  3. #3
    spd54 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    3
    Thanks will give that a try as I'm using a query to fetch only current members so just need to add that in.

  4. #4
    spd54 is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    3
    worked a treat thanks again.

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

Similar Threads

  1. Auto Fill
    By Phoenyxsgirl in forum Forms
    Replies: 28
    Last Post: 10-12-2011, 05:48 PM
  2. Auto-fill
    By sidewayzalex in forum Database Design
    Replies: 49
    Last Post: 09-14-2011, 11:12 AM
  3. can't auto fill
    By chrisrach3 in forum Access
    Replies: 7
    Last Post: 09-12-2011, 04:41 AM
  4. Auto Fill
    By Kerrydunk in forum Forms
    Replies: 16
    Last Post: 04-26-2011, 12:15 AM
  5. Auto-Fill
    By sophiecormier in forum Programming
    Replies: 3
    Last Post: 10-02-2010, 08:29 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