Results 1 to 2 of 2
  1. #1
    sixth_brand is offline Novice
    Windows 10 Access 2013
    Join Date
    Jan 2016
    Posts
    2

    Add Category to Category Cell based on Criteria From Product Cell

    Hi everyone,

    Hopefully this is in the right place. I am using Access 2013 and have been wrecking my brain on this one. I thought all I needed was a simple update query. I have two tables. One is for Products and the other is the Category. These tables are linked via the category field to enforce referential integrity. Every month the data in the Product table will be updated and this can be done via an append query.

    Here is the problem. I need the category field within the Product table to update itself into the correct category based on criteria I set. Such as if the product starts with MFT: Make the category Mens Formal Trousers. The category field in the product table is null to start with.

    Am I being really silly? Is this possible or achievable perhaps by VBA?

  2. #2
    sixth_brand is offline Novice
    Windows 10 Access 2013
    Join Date
    Jan 2016
    Posts
    2
    Figured it out. My criteria was set wrong. I was setting it to look for criteria within a range Like "[MFT]*". I needed to change this to
    Like MFT*

    It now works beautifully.

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

Similar Threads

  1. Replies: 5
    Last Post: 05-10-2014, 09:24 AM
  2. Replies: 12
    Last Post: 01-15-2013, 02:35 PM
  3. Replies: 10
    Last Post: 12-24-2011, 03:37 PM
  4. Replies: 1
    Last Post: 10-06-2009, 02:00 AM
  5. Can we post Access cell data to Excel cell properties?
    By Zethro in forum Import/Export Data
    Replies: 1
    Last Post: 12-13-2005, 08:42 AM

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