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 » Database Design
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Query Design



 
 
Thread Tools Display Modes
  #1  
Old November 28th, 2005, 02:25 AM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default Query Design

When creating a query of out of two tables with a one to many relationship,
should you include both linked fields in the query? Can you use a query when
adding records to the many side or do you recommend binding the form to a
table?
  #2  
Old November 28th, 2005, 03:12 AM posted to microsoft.public.access.tablesdbdesign
external usenet poster
 
Posts: n/a
Default Query Design

On Sun, 27 Nov 2005 18:25:05 -0800, "Steve"
wrote:

When creating a query of out of two tables with a one to many relationship,
should you include both linked fields in the query?


You can do so; you must indeed do so if you want to be able to update
both tables.

Can you use a query when
adding records to the many side or do you recommend binding the form to a
table?


You can use a joined query if you wish, but it's usually simpler to
use a Form for the "one" side table and a Subform for the "many". You
can (and often will) use a single-table query rather than the table
directly; this lets you set the sort order, select which fields you
want to see, include calculated fields etc. Use some sort of Form in
any case - table and query datasheets are of limited utility and
should not be used for data entry or editing.


John W. Vinson[MVP]
 




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
adding column for numbers in query design Giz Running & Setting Up Queries 2 February 7th, 2005 06:11 PM
Moving from xBase/Clipper [email protected] New Users 1 February 3rd, 2005 07:25 PM
Here's a shocker Mike Labosh General Discussion 2 October 26th, 2004 05:04 PM
Union Query Not Returning A Value Jeff G Running & Setting Up Queries 2 October 19th, 2004 05:47 PM
EXISTS reserved word in FROM clause Stephanie Doherty Running & Setting Up Queries 6 July 21st, 2004 01:15 AM


All times are GMT +1. The time now is 10:26 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.