Results 1 to 2 of 2
  1. #1
    D347HxD is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Oct 2013
    Posts
    6

    Add data into table/query from text box and button

    Hello, I have been working on a database and so far it's going well. I have 14 text boxes that are hooked up to a button that searched a query (which is attached to a table) for what you searched. It works perfectly... though I'd like to add one more feature to this database; and that is an add button. Where if you enter information into those same text boxes, and click the add button instead of the search button it'll add a field with all that information you entered into the table, which lets the query see it and you can search for it at later times.

    To see exactly what I mean in front of you, to get a better understanding of what is going on and such, the download is below to my database.
    PCResale.zip

    Please ignore CustomersT as it was me fooling around with tables and is 100% not needed.

    Table name: OrderT
    Query Name: SearchQ
    Form: SearchF
    Textbox Names:
    - BusinessName
    - DateOfPurchase
    - CutplanDueDate
    - HardwareSpecs
    - PurchaseOrder
    - OrderName
    - EngineerDueDate
    - MaterialSpecs


    - HardwareDueDate
    - PurchaseSupplier
    - OrderDesc
    - ProjectComplete
    - CutplanCode
    - HardwareComplete
    FieldNames:
    All same as above text box names.
    Button Name: Command344

    Windows 7
    Windows Access 2013

    If you need more information, please ask.

  2. #2
    hrenee is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Sep 2013
    Posts
    41
    I highly suggest you stop. Read this http://www.accessmvp.com/Strive4Peace/Index.htm and this http://www.rogersaccesslibrary.com/f..._topic436.html before going any further. Your data is not normalized, there should be many more tables with relationships than what you have.

    Good luck and have fun reading.

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

Similar Threads

  1. Replies: 5
    Last Post: 02-21-2012, 07:33 AM
  2. Using table data as button captions
    By jecanne in forum Access
    Replies: 7
    Last Post: 11-13-2011, 04:56 PM
  3. Replies: 11
    Last Post: 06-02-2011, 10:21 AM
  4. Getting text box data into a query/table
    By kman42 in forum Access
    Replies: 1
    Last Post: 04-01-2011, 01:09 PM
  5. Replies: 1
    Last Post: 05-17-2010, 12:21 PM

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