Results 1 to 4 of 4
  1. #1
    t_dot is offline Novice
    Windows XP Access 97
    Join Date
    Aug 2010
    Posts
    17

    Data from Form to Table

    Hi, I am quite new to using access and I have a database set up with date, title and event. I have a table with 2000 entries and have created a form to add new entries to the table -- where lies my problem. I have created an append query with each column of the table that references the table and each references the correct combobox/textfield on the form. I have a "submit" button on the form that runs the query with the data entered on the form. After I click submit, a confirmation message comes up and I click yes to run the query. Then a second window comes up that says "You are about to append 0 row(s)" -- which is not my intention.

    It's probably a small thing, but I have never used this append function before and am not totally sure how it runs. What do I need to do to make it append the data that it is passed?

    Someone also told me that you can eliminate the query and take the data straight from the form and append it to the table... does anyone know how I might go about doing this instead? Or even how to start? I'm at a loss.


    Thanks

  2. #2
    NTC is offline VIP
    Windows Vista Access 2007
    Join Date
    Nov 2009
    Posts
    2,392
    A form always has a record source. If the record source is a table - then one adds records just like one does entering directly into the table itself. There is always a new blank record available to start. One doesn't need to complication of an append query.

  3. #3
    t_dot is offline Novice
    Windows XP Access 97
    Join Date
    Aug 2010
    Posts
    17
    Okay, I have eliminated the query and set the record source. When I use the form to enter data into the table, it overwrites the first entry in my table. How can I stop this and make it add it to the end each time?

  4. #4
    t_dot is offline Novice
    Windows XP Access 97
    Join Date
    Aug 2010
    Posts
    17
    Nevermind, I changed the form property "Data Entry" to yes and it solved this -- thanks for your help!

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

Similar Threads

  1. Replies: 1
    Last Post: 06-01-2010, 12:19 PM
  2. Updating data within a form/table.....
    By softspoken in forum Forms
    Replies: 3
    Last Post: 04-15-2010, 06:33 PM
  3. Replies: 9
    Last Post: 02-19-2010, 12:07 PM
  4. form data will not populate in table
    By bobsakamato in forum Access
    Replies: 1
    Last Post: 09-06-2009, 07:25 AM
  5. Form data not populating in table
    By sabrown in forum Forms
    Replies: 0
    Last Post: 08-27-2009, 08:19 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