PC Review


Reply
 
 
David S. Zuza
Guest
Posts: n/a
 
      12th Feb 2006
Hey all,

This might be stupid but here it goes.

I have 2 tables. 1 with Personnel Information and 1 with Company information
ie

Table 1: Personnel
Fname: Text
Lname: Text
Store_From_Number
Store_From_Address
Store_From_City
Store_From_State
Store_From_Zip

Table 2: Store_Info
Store_Number
Store_Address
Store_City
Store_State
Store_Zip

What I am trying to do is type in the store number and and have all of the
store information be added to the personnel record. I would like to have a
drop down that I can slect the store number and after selection it add it to
the current personnel record. Can I do this without code or do I need to go
there. And if so How?


Dave


 
Reply With Quote
 
 
 
 
Amy Blankenship
Guest
Posts: n/a
 
      12th Feb 2006
What you want is not to add all the store info to the personnel table, but
to use a foreign key from the Store_info table in the Personnel table to
refer to all the data that exists (only ONCE) in the store_info table.

You should read up on data normalization.

HTH;

Amy

"David S. Zuza" <(E-Mail Removed)> wrote in message
news:%23Q%(E-Mail Removed)...
> Hey all,
>
> This might be stupid but here it goes.
>
> I have 2 tables. 1 with Personnel Information and 1 with Company
> information ie
>
> Table 1: Personnel
> Fname: Text
> Lname: Text
> Store_From_Number
> Store_From_Address
> Store_From_City
> Store_From_State
> Store_From_Zip
>
> Table 2: Store_Info
> Store_Number
> Store_Address
> Store_City
> Store_State
> Store_Zip
>
> What I am trying to do is type in the store number and and have all of the
> store information be added to the personnel record. I would like to have a
> drop down that I can slect the store number and after selection it add it
> to the current personnel record. Can I do this without code or do I need
> to go there. And if so How?
>
>
> Dave
>



 
Reply With Quote
 
David S. Zuza
Guest
Posts: n/a
 
      12th Feb 2006
Yeah,
I thought about that but the guy I am writting this for wants it the
other way. I gotta be honest I over simplified my requirements Because I
will have two seperate groups of Store information in the Personnel Table,
there will be a From_Store_Address... and a To_Store_Address data in the
personnel table and the information will be pulled from the same store
information Table.

I think I explained that well..if not let me know and I will try to do a
better job.

thanx for any help
Dave

"Amy Blankenship" <(E-Mail Removed)> wrote in message
news:eAIF%(E-Mail Removed)...
> What you want is not to add all the store info to the personnel table, but
> to use a foreign key from the Store_info table in the Personnel table to
> refer to all the data that exists (only ONCE) in the store_info table.
>
> You should read up on data normalization.
>
> HTH;
>
> Amy
>
> "David S. Zuza" <(E-Mail Removed)> wrote in message
> news:%23Q%(E-Mail Removed)...
>> Hey all,
>>
>> This might be stupid but here it goes.
>>
>> I have 2 tables. 1 with Personnel Information and 1 with Company
>> information ie
>>
>> Table 1: Personnel
>> Fname: Text
>> Lname: Text
>> Store_From_Number
>> Store_From_Address
>> Store_From_City
>> Store_From_State
>> Store_From_Zip
>>
>> Table 2: Store_Info
>> Store_Number
>> Store_Address
>> Store_City
>> Store_State
>> Store_Zip
>>
>> What I am trying to do is type in the store number and and have all of
>> the store information be added to the personnel record. I would like to
>> have a drop down that I can slect the store number and after selection it
>> add it to the current personnel record. Can I do this without code or do
>> I need to go there. And if so How?
>>
>>
>> Dave
>>

>
>



 
Reply With Quote
 
Amy Blankenship
Guest
Posts: n/a
 
      12th Feb 2006
Your customer should not care about the table structure itself if you create
forms, reports, and queries that do what are needed. The end user should
never even see the tables. It's very easy to just insert the from and to
foreign keys into the personnel table.

However, it sounds like you're probably better off with a PersonnelStore
table and then have a "Type" field which for now would be either to or from
but ultimately might have other values.

I'm not going to give you advice that will lead to an unmaintainable
database. That would not be serving you or your client well. If you're
insistent, you may want to try reposting your question. Bear in mind that
it's likely you'll get the same advice from others.

Good luck!

-Amy

"David S. Zuza" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Yeah,
> I thought about that but the guy I am writting this for wants it the
> other way. I gotta be honest I over simplified my requirements Because I
> will have two seperate groups of Store information in the Personnel Table,
> there will be a From_Store_Address... and a To_Store_Address data in the
> personnel table and the information will be pulled from the same store
> information Table.
>
> I think I explained that well..if not let me know and I will try to do a
> better job.
>
> thanx for any help
> Dave
>
> "Amy Blankenship" <(E-Mail Removed)> wrote in message
> news:eAIF%(E-Mail Removed)...
>> What you want is not to add all the store info to the personnel table,
>> but to use a foreign key from the Store_info table in the Personnel table
>> to refer to all the data that exists (only ONCE) in the store_info table.
>>
>> You should read up on data normalization.
>>
>> HTH;
>>
>> Amy
>>
>> "David S. Zuza" <(E-Mail Removed)> wrote in message
>> news:%23Q%(E-Mail Removed)...
>>> Hey all,
>>>
>>> This might be stupid but here it goes.
>>>
>>> I have 2 tables. 1 with Personnel Information and 1 with Company
>>> information ie
>>>
>>> Table 1: Personnel
>>> Fname: Text
>>> Lname: Text
>>> Store_From_Number
>>> Store_From_Address
>>> Store_From_City
>>> Store_From_State
>>> Store_From_Zip
>>>
>>> Table 2: Store_Info
>>> Store_Number
>>> Store_Address
>>> Store_City
>>> Store_State
>>> Store_Zip
>>>
>>> What I am trying to do is type in the store number and and have all of
>>> the store information be added to the personnel record. I would like to
>>> have a drop down that I can slect the store number and after selection
>>> it add it to the current personnel record. Can I do this without code or
>>> do I need to go there. And if so How?
>>>
>>>
>>> Dave
>>>

>>
>>

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
auto text, auto correct, auto complete Linda4343 Microsoft Word Document Management 2 28th Jan 2009 10:13 PM
Auto Shipping Auto Shipping Scheduling:car moving auto transport linkswanted Microsoft ASP .NET 0 16th Feb 2008 02:40 AM
Auto-populate, Auto-copy or Auto-fill? =?Utf-8?B?SmF5IFMu?= Microsoft Excel Worksheet Functions 4 10th Aug 2007 09:04 PM
Auto resize, auto realign, auto ANYTHING driving me crazy spasmous@yahoo.com Microsoft Powerpoint 2 30th Apr 2005 02:14 AM
Auto-Fill / Auto-Suggest / Auto-Complete =?Utf-8?B?VGlubGV5UGFya0lMR2Fs?= Microsoft Outlook Contacts 2 5th Jan 2005 07:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:51 PM.