add record from a form to a table

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • dee230783
    New Member
    • Jun 2010
    • 4

    add record from a form to a table

    Hi all
    i use access 2007 to make form..But my problem is if i add a new record from the form..its not connected with the table...it means that data that i add in form didnt insert in form automatically.. ...How to make data that i add in form also add to table too????????
  • copleyuk
    New Member
    • May 2010
    • 39

    #2
    The easiest way with 2007 is to select the table that you want to create a form for on the navigation panel then select "create" from the options at the top of access window and then click on "form".

    This will automatically generate a form based on the content of that table and allow you to add data to the table through that form.

    If you want to continue using your form then you need to make sure that each text box etc is bound to the correct item within you table.

    When you look at the form in design view are the text boxes on your form called unbound or are they named after the columns of your table?

    Comment

    • dee230783
      New Member
      • Jun 2010
      • 4

      #3
      Originally posted by copleyuk
      The easiest way with 2007 is to select the table that you want to create a form for on the navigation panel then select "create" from the options at the top of access window and then click on "form".

      This will automatically generate a form based on the content of that table and allow you to add data to the table through that form.

      If you want to continue using your form then you need to make sure that each text box etc is bound to the correct item within you table.

      When you look at the form in design view are the text boxes on your form called unbound or are they named after the columns of your table?
      yeah i make form by clicking create form button n the text box is bound to the table...but when i fill a new record in the form...n i save. My table dont make any progress, it still contain the same record like before i fill new record in the form.....
      Help me plzzz

      Comment

      • copleyuk
        New Member
        • May 2010
        • 39

        #4
        Originally posted by dee230783
        yeah i make form by clicking create form button n the text box is bound to the table...but when i fill a new record in the form...n i save. My table dont make any progress, it still contain the same record like before i fill new record in the form.....
        Help me plzzz
        You said "when I save" are you using a save button which has been added by you?

        Can you upload a copy of the form and or table?

        Comment

        • dee230783
          New Member
          • Jun 2010
          • 4

          #5
          Originally posted by copleyuk
          You said "when I save" are you using a save button which has been added by you?

          Can you upload a copy of the form and or table?
          i do with the button add record but it doesnt work..n i do with save form it doesnt work too
          link:

          4shared is a perfect place to store your pictures, documents, videos and files, so you can share them with friends, family, and the world. Claim your free 15GB now!


          u can see that in form their 9 records but in table still 6 records

          Comment

          • copleyuk
            New Member
            • May 2010
            • 39

            #6
            Originally posted by dee230783
            i do with the button add record but it doesnt work..n i do with save form it doesnt work too
            link:

            4shared is a perfect place to store your pictures, documents, videos and files, so you can share them with friends, family, and the world. Claim your free 15GB now!


            u can see that in form their 9 records but in table still 6 records
            If you select refresh all with the table open does this show the other 3 records??

            Comment

            • Jerry Maiapu
              Contributor
              • Feb 2010
              • 259

              #7
              This is strange. If the form or its objects are bound to a table that I do not see why the data entered on the bound form object do not get into the table.

              Ok there's something wrong somewhere. Let me ask you this.

              Does the record source (table) share a relationship with another table? if so then what kind?

              Tables sharing 1:1 relationship poses similar problems.

              Also try resetting the control source of the form.
              Having a one to one relaionship sometimes causes this.

              Comment

              • dee230783
                New Member
                • Jun 2010
                • 4

                #8
                Originally posted by Jerry Maiapu
                This is strange. If the form or its objects are bound to a table that I do not see why the data entered on the bound form object do not get into the table.

                Ok there's something wrong somewhere. Let me ask you this.

                Does the record source (table) share a relationship with another table? if so then what kind?

                Tables sharing 1:1 relationship poses similar problems.

                Also try resetting the control source of the form.
                Having a one to one relaionship sometimes causes this.
                thats only one table so it dont relate with another table..So i guess its not necessary to do relationship..
                Yah its weird condition n make me got headache.
                If i do refesh...the table don't change tooo..........
                Pleaseeeeeeeeee e help me

                Comment

                • Jerry Maiapu
                  Contributor
                  • Feb 2010
                  • 259

                  #9
                  Ok, I am sorry about this but We'll try and use VBA to insert the data on the form straight into table and see if it is working. Give all the names of the txt boxes on the form and the corresponding fields in the table and the table name.

                  Comment

                  Working...