If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Forms: based on query vs. based on table
I have a main form with 2 subforms to be used for data entry & they are all
based on tables. I recently read here that forms should almost always be based on queries. Can anyone explain why that's better? Also, if I change the forms to query-based is it possible to change the source without having to recreate the form (e.g. putz around with placing the controls, etc.). Thanks, Patti |
#2
|
|||
|
|||
Forms: based on query vs. based on table
well, if you base the form on a query, you can include only the fields you
need in the query, rather than all the table fields. if you need to show any calculated values, you can probably also do that at the query level (depending on what the calculations are, of course) rather than at the form level. you may be able to sort records at the query level rather than at the form level (though, personally, i've had problems with a query sort "sticking" at the form level). as for recreating the form: no, you should not need to do that. if your query is based on the same table that you had used as the form's RecordSource, and if you include in the query all the table fields that are already bound to controls in the form, then the field references are intact and it should work fine. hth wrote in message ... I have a main form with 2 subforms to be used for data entry & they are all based on tables. I recently read here that forms should almost always be based on queries. Can anyone explain why that's better? Also, if I change the forms to query-based is it possible to change the source without having to recreate the form (e.g. putz around with placing the controls, etc.). Thanks, Patti |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Help with a Query and Table | Lisa | Running & Setting Up Queries | 2 | August 4th, 2004 10:40 PM |
Force Blank Lines | jnew | Setting Up & Running Reports | 8 | July 21st, 2004 09:45 PM |
Report Based Upon Parameter Query with Form References | Vincent DeLuca | Setting Up & Running Reports | 4 | July 19th, 2004 01:55 AM |
Update another table with a Max record query | Ngan | Running & Setting Up Queries | 2 | June 22nd, 2004 05:01 PM |
Transfer Query Info. To Table | Delano | General Discussion | 1 | June 18th, 2004 11:52 PM |