Results 1 to 4 of 4
  1. #1
    inan25 is offline Novice
    Windows XP Access 2007
    Join Date
    May 2009
    Posts
    2

    New Field Name on Newly created query

    I am fairly new in access and I wanted to make a query with a new field name based on the newly created query. Can anybody help me accomplish this? Thanks!

    Original Data

    Data
    1
    2
    3


    4
    1
    2
    3
    4
    2
    3
    1
    4
    3


    Sorted Query

    Data
    1
    1
    1
    2
    2
    2
    3
    3
    3
    3
    4
    4
    4


    Wanted Result (Note: the dots are just to separate the two fields)

    NewFieldName Data
    One..................1
    One..................1
    One..................1
    Two..................2
    Two..................2
    Two..................2
    Three................3
    Three................3
    Three................3
    Three................3
    Four..................4
    Four..................4
    Four..................4
    Last edited by inan25; 05-13-2009 at 07:12 PM. Reason: wrong formatting/spacing

  2. #2
    tinytree is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2009
    Posts
    28
    You want to translate it to english (new line), I have give u an advice ,you creat a new talbe include two fields. on in num and the other is eng. contents list down:
    num eng
    1 one
    2 two
    3 three
    4 four
    and so on.......
    now you can join the table to get the result that you wanted

  3. #3
    inan25 is offline Novice
    Windows XP Access 2007
    Join Date
    May 2009
    Posts
    2

    Entries in new field with reference to data

    Thanks for the reply! But I do not want it to be translated to english. I just want the data to have a new entry in a separate field with reference to the original data.

    Original Data

    Data
    1
    2
    3
    4
    1
    2
    3
    4
    2
    3
    1
    4
    3


    Sorted Query

    Data
    1
    1
    1
    2
    2
    2
    3
    3
    3
    3
    4
    4
    4


    Wanted Result (Note: the dots are just to separate the two fields)

    NewFieldName Data
    Apples..................1
    Apples..................1
    Apples..................1
    Grapes..................2
    Grapes..................2
    Grapes..................2
    Bananas................3
    Bananas................3
    Bananas................3
    Bananas................3
    Oranges................4
    Oranges................4
    Oranges................4

  4. #4
    tinytree is offline Novice
    Windows XP Access 2003
    Join Date
    Apr 2009
    Posts
    28
    Try it :
    select "c"& data as newfieldname,data from yourtable ordery by data .
    Is this it? I am not sure beacause my english is very poor.

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

Similar Threads

  1. Calculated Query Field used in different Query
    By cakdhooper in forum Queries
    Replies: 0
    Last Post: 11-21-2008, 03:07 PM
  2. Email created from Access is in the wrong format
    By Stick in forum Programming
    Replies: 0
    Last Post: 09-25-2006, 12:48 PM
  3. Best Way to Return a Newly Created Index?
    By Jerimiah33 in forum Programming
    Replies: 5
    Last Post: 09-06-2006, 12:22 PM
  4. Security icon created on desktop !!!
    By wasim_sono in forum Security
    Replies: 1
    Last Post: 02-07-2006, 09:42 AM
  5. Importing a table created in word to Access
    By anthony_f_justin in forum Access
    Replies: 4
    Last Post: 01-04-2006, 09:06 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