Results 1 to 3 of 3
  1. #1
    keith2511 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2017
    Location
    UK
    Posts
    45

    Transforming data


    Grateful for suggestions on how best to tackle two issues when importing data from Excel.

    I want to change the contents of a field containing location names. Up to now, I've created a lookup table with name-in and name-out fields. Once the data is imported, I then run an append query to another table which uses a relationship to the lookup table to add the name-out value to each record. Can this type of transformation be accomplished in the table that initially receives the imported data without having to run the append part of the process?

    The data includes invoice dates and I want to be able to report on data by month and year. What is the best way change dates into just month and year?

    Thanks

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you dont need to change the date to month/year, just view it via :format([dateFld],"yyyymm")

    you can run the lookup via an append query at import,
    or
    you can run an update query anytime to modify that field

  3. #3
    keith2511 is offline Advanced Beginner
    Windows 7 32bit Access 2010 32bit
    Join Date
    Oct 2017
    Location
    UK
    Posts
    45
    OK thanks for replying.

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

Similar Threads

  1. Replies: 4
    Last Post: 06-14-2018, 10:27 AM
  2. Replies: 8
    Last Post: 03-15-2018, 12:23 PM
  3. Transforming a spreadsheet - queries?
    By CP611 in forum Access
    Replies: 7
    Last Post: 11-08-2017, 06:22 AM
  4. Transforming Rows into Columns
    By tonygg in forum Queries
    Replies: 12
    Last Post: 01-08-2017, 06:07 PM
  5. transforming text to number
    By eladz949 in forum Import/Export Data
    Replies: 5
    Last Post: 01-05-2011, 04:06 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