Results 1 to 5 of 5
  1. #1
    harry1987 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    5

    New to Access Forms

    I am new to Access forms,but created a form from scratch.Now I need how to save data from this form onto tables.Please help.

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Simplest method is to bind the form to table or query - set the form RecordSource property. Then bind data controls to fields - set their ControlSource property.

    This is basic Access functionality. Might want to review http://www.rogersaccesslibrary.com/ or some other tutorials. Any introductory book should cover this.
    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
    harry1987 is offline Novice
    Windows 7 64bit Access 2013
    Join Date
    Mar 2015
    Posts
    5
    My question was wrong, the problem is I dont want tables to control the form,instead the data filled into the form should be stored in a blank table.Since I created form first and then the tables,I am finding it difficult to insert this data into tables.Right now the form and table are not connected.

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Don't see how that changes my advice.

    Move to New Record row to enter data to a new record in table.

    If you don't bind the form and controls, will need LOTS of VBA code to save data.
    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.

  5. #5
    Missinglinq's Avatar
    Missinglinq is offline VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    Quote Originally Posted by June7 View Post

    If you don't bind the form and controls, will need LOTS of VBA code to save data.
    And LOTS of VBA code to do just about everything thing else that needs to be done! Access is designed to provide rapid development through the user of Bound Forms, and using this type of Form means that the vast percentage of tasks are handled pretty much automatically.

    Several developers I know, experienced in Visual Basic database development and Access development, estimate that development, using Unbound Forms, by highly experienced developers, takes two to three times as long, using Unbound Forms, as it does when using Access and Bound Forms. That's because with Bound Forms, Access takes care of the 'heavy lifting,' but with Unbound Forms, the developer has to write code to take care of just about everything.

    If you insist on using Unbound Forms, you'd be far better off using a straight VB or C++ front end with a SQL Server or Oracle back end.

    • You can create an EXE file which gives total protection to your code/design
    • You can distribute the db to PCs without a copy of Access being on board
    • Your data security is far, far better than anything you can do in Access


    Linq ;0)>

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

Similar Threads

  1. Replies: 3
    Last Post: 09-20-2014, 04:10 AM
  2. Replies: 1
    Last Post: 04-02-2014, 06:46 AM
  3. Replies: 3
    Last Post: 10-31-2013, 02:36 PM
  4. Replies: 3
    Last Post: 10-23-2013, 08:11 AM
  5. Replies: 2
    Last Post: 11-21-2012, 09:57 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