+ Reply to Thread
Results 1 to 3 of 3

Adding an input field to a query

  1. #1
    Registered User
    Join Date
    06-19-2015
    Location
    Oslo
    MS-Off Ver
    2016
    Posts
    21

    Adding an input field to a query

    I have a table A and a table B, both with index columns and text columns.

    #A NameA
    1 A1
    2 A2

    #B NameB
    1 B1
    2 B2
    3 B3

    Now I use the Select Query to get the product of these tables:

    NameA NameB
    A1 B1
    A1 B2
    A1 B3
    A2 B1
    A2 B2
    A2 B3

    What I want in this table is a third column where I could type in new data, such as 0 or 1, or any other data. How can I accomplish this and still keep the table dynamically updating if I add new records to the table A or B?

    Thanks in advance!

  2. #2
    Valued Forum Contributor ranman256's Avatar
    Join Date
    07-29-2012
    Location
    Kentucky
    MS-Off Ver
    Excel 2003
    Posts
    1,192

    Re: Adding an input field to a query

    turn your query into a make table, and add an empty field: MYFIELD:0
    then you can set your settings

  3. #3
    Registered User
    Join Date
    06-19-2015
    Location
    Oslo
    MS-Off Ver
    2016
    Posts
    21

    Re: Adding an input field to a query

    Thanks for your reply!

    If I make a table with an extra "empty" field, and then fill in the input values in the new field, the typed inputs would be erased if I want to update the tables A and B. Or, I would create a new table each time I update the records in tables A and B. But that seems a bit cumbersome.

    Perhaps it would be possible to make a form that creates a many-to-many table?

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] access query design help - adding field while keeping all records
    By darpodo in forum Access Tables & Databases
    Replies: 9
    Last Post: 05-11-2016, 08:37 AM
  2. Replies: 2
    Last Post: 05-06-2015, 09:24 AM
  3. [SOLVED] Macro to manually input which field (column) to autofilter on using an input prompt
    By rin in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-21-2012, 09:35 AM
  4. [SOLVED] Adding A Field To A Query
    By keithfender in forum Access Tables & Databases
    Replies: 5
    Last Post: 05-14-2012, 02:34 PM
  5. Input multiple data into one input field (VBA)
    By Gaz_m2k5 in forum Excel General
    Replies: 3
    Last Post: 03-06-2012, 02:42 PM
  6. Replies: 3
    Last Post: 03-03-2012, 12:16 PM
  7. How to Reference a Web Query's Address Field to an external field?
    By Nivled in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-21-2005, 07:10 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1