Results 1 to 4 of 4
  1. #1
    Khalil Handal is offline Competent Performer
    Windows 10 Access 2003
    Join Date
    Jun 2016
    Posts
    310

    Record source of a form

    I have a table and I created a query , both of them have the same fields.
    I created a form to enter data based on the table (record source of the form is the table).
    Is there a difference if the record source was the query?

    Khalil

  2. #2
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    No - providing query is based on just one table, you should see no difference.

  3. #3
    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
    Many experienced developers make a practice of always basing Forms on single-table Queries, feeling that this adds an extra level of 'protection' to the data, much in the way that never entering data directly into a Table does. Whether this actually does add a layer of protection is open to debate, of course, not being something that can really be measured, but it can't hurt...and it only takes an extra thirty seconds to run up such a Query, using the wizard.

    A second reason for using a Query is that you can readily create calculated Fields in them, and simply bind Controls in the Form to them. You can, of course, do this, in Form Design View, using an Unbound Control's Control Source Property, so, once again, it's a matter of preference.

    Linq ;0)>

  4. #4
    CJ_London is offline VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,932
    Good comments linq. I would add that using a query can also reduce the load on the network and therefore performance, both in terms of 'width' (number of fields) and 'depth' (number of records). Not too apparent when dealing with low volume tables, but will become apparent when a form is based on a high volume of records

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

Similar Threads

  1. Form with mutliple record source (s0
    By Lou_Reed in forum Access
    Replies: 6
    Last Post: 05-12-2015, 03:13 PM
  2. Replies: 5
    Last Post: 09-18-2013, 09:15 PM
  3. Record source in form not updating
    By sephiroth2906 in forum Forms
    Replies: 3
    Last Post: 01-27-2012, 03:16 PM
  4. Resetting Record Source on Form
    By Cheshire101 in forum Programming
    Replies: 5
    Last Post: 05-05-2011, 08:52 AM
  5. Changing the record source in a form
    By lmichaud in forum Forms
    Replies: 1
    Last Post: 07-09-2006, 09:20 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