Results 1 to 4 of 4
  1. #1
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168

    Forms Based on tables or Queries

    My db, which started as a learning project, has reached a size and age where I can no longer remember why I did some things the way I did them.




    I have frm_HouseList which is based on, or directly dependent on tbl_Houses (and related tables like house type etc)


    the I also have frm_transactionsList which is based on, or directly dependent on qry_transactions Which is based on, or directly related to tbl_Transactions (and related tables like transaction type etc


    I am trying to figure out if there is a reason I set these up differently, Is having a form based directly on a table just bad design and this was a learning error? or would there be a reason to set something up this way?


    Thanks for your thoughts

  2. #2
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 10 Access 2016
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,540
    As good as some of our members are, I'm not sure that any of them will have enough psychic power to know why you did something the way that you did.
    If you post a copy of your db then at least some other members, without any psychic powers may be able to make some guesses
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

  3. #3
    Micron is offline Virtually Inert Person
    Windows 10 Access 2016
    Join Date
    Jun 2014
    Location
    Ontario, Canada
    Posts
    12,791
    I advocate basing forms on queries because
    - I can test the query before wasting my time on a form that won't work
    - I can easily filter the query rather than using form properties to filter. I have never been able to find out if a form filter a) reprocesses the recordset or b) pulls in the entire set but only shows you what the filter allows. Either way, I see those options as being less efficient than loading a form with a query whose records have already been filtered.
    - I can easily sort the query
    - I can include more than one table (mostly for when the form isn't for editing). There is a widespread notion of 1 form per table/query.

    Why you did one or the other isn't that important, but could have been due to your own development if the query one came later.
    The more we hear silence, the more we begin to think about our value in this universe.
    Paraphrase of Professor Brian Cox.

  4. #4
    Tuckejam is offline Competent Performer
    Windows 10 Access 2010 64bit
    Join Date
    Jan 2020
    Posts
    168
    Sorry Bob, I should have phrased that differently. (and unfortunately the time I can devote to this stuff is usually between 3am and 6am, I am not always fully caffeinated and sharp)

    I wasn't asking anyone why I set it up that way.

    I was just recognizing that I Had set it up two different ways, and wondering what the difference was between the two different ways

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

Similar Threads

  1. Replies: 2
    Last Post: 03-13-2018, 12:32 PM
  2. Replies: 2
    Last Post: 12-12-2016, 04:33 AM
  3. Queries, tables, forms problem
    By urosm993 in forum Access
    Replies: 3
    Last Post: 11-20-2015, 06:23 PM
  4. Replies: 6
    Last Post: 10-16-2014, 12:55 PM
  5. From queries and tables to forms?
    By Fidycent in forum Forms
    Replies: 4
    Last Post: 12-16-2011, 01:54 PM

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