Results 1 to 3 of 3
  1. #1
    jimbeam690 is offline Novice
    Windows 10 Office 365
    Join Date
    Sep 2023
    Posts
    1

    Creating Descriptions from Fields

    Hi
    I am currently using Excel with many spreadsheets that are getting bigger and bigger and harder to maintain to make descriptions for our PIM system and Webstore.

    So in a sense we have a spreadsheet for arguments sake call it TV

    In this TV spreadsheet i have a Data Entry Tab where i fill in all my data about the TV (Attributes, eg size, color, resolution etc) when i enter in each attribute i have a dropdown list that i have in a second TAB that has the lookup values. Eg, there is a list that has Black, White, Silver etc i have 3 of these TABs one set for the output for PIM System and then another for the Short Description for the webstore and then another tab for the long description,

    So in the PIM tab we may have it as

    BLACK = BLK
    BLUE = BLU

    Because we need to save space in the description.

    The short Description tab will have it as
    BLACK = BLACK
    BLUE = BLUE

    i then have a TAB that has the same attributes as the input tab but it does a lookup, looks up the value in the input tab and then looks up in the PIM tab and displays the Abbreviated text in that field.

    We then have another TAB that will then "TEXTJOIN" all the attributes together and that makes our description.

    So i want to try and replicate that in a database.

    I have got it so that i have the table setup.
    All the attributes
    I then have all the attributes as a lookup drop down box in the table and that is all working fine.

    The issue i face is i want to now lookup that value in my lookup tables and then display the abbreviated attribute in a new table or form or query.
    I managed to get the abbreviated attributes into a query but im not sure how to do a calculated field to add all the attributes together to make the description.

    so what i want to do is to add together fields based off a lookup on a different table

    Brand = Sony
    Size = 21"
    RESOLUTION = 1080x2045
    COLOR = BLACK
    HEIGHT = 100mm
    WIDTH = 100mm
    DEPTH = 20mm

    Combine all together to show


    Sony 21" MONITOR 1080x2045 BLK 100Hx100Wx20D (MM)

    But if i can get one to work i will be able to replicate to the others that i need. Just need some assistance if possible to get me pointed in the right direction, even if you can point me to some online videos to show me that would be greatly appreciated

    Thanks heaps.

    Marcus

  2. #2
    Micron is online now Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,829
    I then have all the attributes as a lookup drop down box in the table and that is all working fine.
    I'd say therein lies your problem if I understand what you're saying. If you read this then post back and clarify it might help.
    http://access.mvps.org/access/lookupfields.htm

    I may not be understanding the exact issue because if those attributes are fields and not records you shouldn't need to "calculate" anything (I think you mean concatenate). However you may be saying that your query is returning numbers instead of text values because that's what lookup fields tend to do..
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  3. #3
    Join Date
    Jan 2017
    Location
    Swansea,South Wales,UK
    Posts
    5,024
    I am thinking you just need simple concatenation if you link all the tables correctly

    Code:
    Brand & " " & Size & " " & Type & " " & Resolution & " " & ColorPim & " " & Height & "Hx" & Width &"Wx" & Depth &"D" & " (mm)" AS Description
    Please use # icon on toolbar when posting code snippets.
    Cross Posting: https://www.excelguru.ca/content.php?184
    Debugging Access: https://www.youtube.com/results?sear...bug+access+vba

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

Similar Threads

  1. Replies: 0
    Last Post: 05-14-2019, 03:18 PM
  2. Old Field Descriptions showing on a Form
    By john_cross in forum Forms
    Replies: 5
    Last Post: 01-26-2016, 02:04 PM
  3. Query results to include descriptions
    By funkygoorilla in forum Queries
    Replies: 4
    Last Post: 02-07-2012, 11:07 AM
  4. Replies: 1
    Last Post: 11-07-2011, 11:42 AM
  5. Add descriptions for make table queries
    By HurrMark in forum Access
    Replies: 0
    Last Post: 12-30-2008, 08:29 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