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 Record Source



 
 
Thread Tools Display Modes
  #1  
Old February 28th, 2008, 02:14 PM posted to microsoft.public.access.forms
Harvard
external usenet poster
 
Posts: 14
Default Forms Record Source

Is it better to build a form based on the actual table or to build it on a
query instead?
  #2  
Old February 28th, 2008, 02:22 PM posted to microsoft.public.access.forms
Allen Browne
external usenet poster
 
Posts: 11,706
Default Forms Record Source

No difference.

If you need all the fields from the table, sorted by primary key value, just
bind the form to your table.

If you need only some records, or need them sorted in another way, either
create a query, or use a SQL statement in the form's RecordSource. Either
way, it will end up as a (hidden) saved query behind the scenes.

--
Allen Browne - Microsoft MVP. Perth, Western Australia
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Harvard" wrote in message
...
Is it better to build a form based on the actual table or to build it on a
query instead?


  #3  
Old February 28th, 2008, 02:28 PM posted to microsoft.public.access.forms
Linq Adams via AccessMonster.com
external usenet poster
 
Posts: 1,474
Default Forms Record Source

All forms, even ones based on a single table, should be based on a query
based on the table! The query allows you to manipulate the data, from things
as simple as sorting data to creating calculated fields. The only thing you
need to remember is if you add a field to your underlying table, in order for
it to be available to forms and reports, you need to go into Design View for
the query and add the field to the query.

--
There's ALWAYS more than one way to skin a cat!

Answers/posts based on Access 2000/2003

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...forms/200802/1

 




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


All times are GMT +1. The time now is 12:27 AM.


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