On Tue, 21 Oct 2003 08:46:54 -0700, "Jeffrey Reed"
<(E-Mail Removed)> wrote:
>I have a two tables; users_table and orders_table.
>
>users_table has the following colums: userid, username.
>
>orders_table has the following colums: orderid, userid,
>username.
Why?
Storing the username redundantly in the Orders table wastes space and
gives you major headaches if a person changes their name. You'ld need
to track down every order they've made and update the name field.
Just store the UserID in the Orders table. If you need to see the
name, use a combo box bound to the UserID with the Name as the first
visible field (you don't usually need to see the ID on your forms at
all).
John W. Vinson[MVP]
Come for live chats every Tuesday and Thursday
http://go.compuserve.com/msdevapps?loc=us&access=public