Results 1 to 5 of 5
  1. #1
    coolpal9 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2012
    Posts
    40

    Data in forms to Tables

    Hi,

    I have a database with 6 forms all interconnected with buttons.



    I want that when the forms are filled up, the same data should be duplicated simultaneously in the tables also.

    How can I go about it?

    Pl help..!

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,943
    You should bind the forms to tables and bind data controls (textboxes, comboboxes, listboxes) to fields. This means setting the form's RecordSource property and control's ControlSource property. This is basic Access functionality and guidelines for building bound forms are available in Access Help. With bound forms and controls, entries to controls are entered directly to fields of the bound table. The data is committed to table when the form closes, move to another record, or by code saving record.

    Saving data to table from unbound form requires a lot of VBA code.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    coolpal9 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2012
    Posts
    40
    Bind as in? Do what?

  4. #4
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Typically in access, you will build your tables first. Then you will create your forms using the tables as a record source. When you start to build your form you will link (or in Access terms Bind) the form and controls (text boxes on your form) to a table. If this is not what you have done, then you will need to update your tables via VBA as June has indicated. Much more complicated but it can be accomplished. Here is a tutorial on how to do that.

    http://www.datapigtechnologies.com/f...rdsnocode.html

    Alan

  5. #5
    June7's Avatar
    June7 is online now VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,943
    Bind means set form RecordSource property to a table or query and set control ControlSource property to field. Search the Access Help on topic: create form
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Replies: 10
    Last Post: 07-12-2011, 11:09 PM
  2. Entering data in forms with lookup tables
    By gretsch in forum Forms
    Replies: 1
    Last Post: 11-16-2010, 11:44 AM
  3. forms and tables
    By Roberta in forum Access
    Replies: 2
    Last Post: 09-02-2010, 02:48 AM
  4. Forms and tables
    By phoenix in forum Access
    Replies: 1
    Last Post: 03-03-2010, 04:52 PM
  5. Forms and Tables
    By Nixx1401 in forum Access
    Replies: 7
    Last Post: 03-02-2010, 11:51 AM

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