Results 1 to 3 of 3
  1. #1
    Join Date
    Apr 2014
    Posts
    8

    Can I use a query to store data?

    Example;


    there are some tables, they're:
    Item table, Vendor table, Employee table, Purchase table, and PurchaseDetail table.
    Then, I want to make a new table that contains some fields from tables above (Invoice number, employee id, vendor id, address, phone number, item code, price, unit, total using formula).
    I want to input data through form, I make a form from query, so data will be stored in the new table, purchase and purchase detail table will be empty.


    Is this possiible?
    is it allowed in database?


    Another question is:
    When I read books about Access, why the next step after making tables is making query, why not making forms then query?


    I'd be grateful if anyone could help, thanks in advanced

  2. #2
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Basic run down as I am unsure if you know:

    Table stores the data

    Query represents the table/s

    The form has a record source, it can be direct to the table or for efficiency and table relationships it can be a query. Having a query will mean if the tables are related you can pull in fields from two tables and have them show on the form.

    So when you make a query you:

    pick a table
    pick what fields you want (always include the ID field if possible).
    Last edited by June7; 06-01-2014 at 11:09 AM. Reason: fix typos

  3. #3
    Ruegen's Avatar
    Ruegen is offline VIP
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2013
    Location
    Australia
    Posts
    1,496
    Quote Originally Posted by wannabesmart View Post
    Example;
    there are some tables, they're:
    Item table, Vendor table, Employee table, Purchase table, and PurchaseDetail table.
    Then, I want to make a new table that contains some fields from tables above (Invoice number, employee id, vendor id, address, phone number, item code, price, unit, total using formula).
    I want to input data through form, I make a form from query, so data will be stored in the new table, purchase and purchase detail table will be empty.


    Is this possiible?
    is it allowed in database?


    Another question is:
    When I read books about Access, why the next step after making tables is making query, why not making forms then query?


    I'd be grateful if anyone could help, thanks in advanced

    If you make and save a query yes you can use it to store the data in the corresponding tables however it's not a great way of viewing the data and not recommended - forms are what I would suggest. You can make a form off a query.

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

Similar Threads

  1. Replies: 9
    Last Post: 04-01-2014, 05:06 PM
  2. Replies: 3
    Last Post: 11-29-2012, 11:00 AM
  3. How to store ID on list box but show related data
    By Clarionchanger in forum Access
    Replies: 3
    Last Post: 10-11-2012, 03:31 PM
  4. How to store data many row in one table
    By dododo in forum Access
    Replies: 4
    Last Post: 06-25-2011, 12:42 AM
  5. Store data in Excel automatically is that possible
    By drumaster in forum Import/Export Data
    Replies: 2
    Last Post: 04-27-2011, 03:28 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