A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Forms: based on query vs. based on table



 
 
Thread Tools Display Modes
  #1  
Old August 13th, 2004, 01:59 AM
external usenet poster
 
Posts: n/a
Default 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  
Old August 13th, 2004, 02:17 AM
tina
external usenet poster
 
Posts: n/a
Default 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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 10:46 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.