Results 1 to 4 of 4
  1. #1
    Ozborn is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2017
    Posts
    2

    Changes in Text

    I started using Access about a week ago in hopes that I could simplify a report that I do.



    Basically, I receive data from a client that consists of names, addresses and phone numbers. My company contacts these individuals and the information is updated. The report that I do tracks any changes to the information.

    I currently complete this report in Excel by matching the ID number of each original record with the ID of the each contacted record.

    For example, column “H” would include the changed first name of the contact and column “I” would include the original first name. Column “J” would include either “YES” if a change has been made or nothing if the information is the same.

    Click image for larger version. 

Name:	Access.png 
Views:	11 
Size:	3.7 KB 
ID:	27533


    Click image for larger version. 

Name:	Excel.png 
Views:	11 
Size:	7.4 KB 
ID:	27534

    In Access, I have combined the two tables and created columns titled “Change” that I can export to Excel where I can add the formulas. This works but is it possible to include a formula or expression in the “Change” field that would save me this step?

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,652
    In a textbox:

    =IIf(Changed = Original, "", "Yes")
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    yes, pretty much the same

    SELECT ID, Changed, Original, iif(Changed=Original,"","Yes") AS Change
    FROM myTable

    But I would argue this is not the best way of doing things. It is the Excel way and Access works in a differently. For example, no need to combine tables into one. What is the best way really depends on what data you have, how it is stored etc

  4. #4
    Ozborn is offline Novice
    Windows 10 Access 2016
    Join Date
    Feb 2017
    Posts
    2
    Thanks,

    I’ve tried variations of =IIF and I must be doing something else wrong because I end up with nothing when I know there are changes.

    @Ajax
    I use a query to compare the clients original data with our contacted data (both .csv files). I send them back only the contacted records and indicate if there has been a change (again .csv).

    My client needs the original and the changed data so that they can see what it was before and after contact.
    I figured out how to do a couple of other things with Access and decided to try an simplify this report with it. What I did with Access was much faster than sorting through 100,000 records by color in Excel.

    I appreciate the help but this might be over my head right now. For the time being I’ll just continue to fumble around with this until I get a better grasp of what can be done with Access.

    Thanks again.

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

Similar Threads

  1. Replies: 1
    Last Post: 05-18-2016, 09:46 AM
  2. Replies: 2
    Last Post: 07-09-2014, 12:43 PM
  3. Replies: 9
    Last Post: 04-18-2014, 08:51 PM
  4. Replies: 3
    Last Post: 02-07-2013, 09:53 PM
  5. Replies: 1
    Last Post: 05-24-2012, 04:59 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