michaeljryan78
Registered User.
- Local time
- Today, 02:00
- Joined
- Feb 2, 2011
- Messages
- 165
Okay, I am a noob and I setup my table wrong and now I am trying to get the structure and data normalized. Here is the problem:
I have a table [counsel originating] that has 4 fileds: ID (PK), First, last, and Office(Lookup to [OfficeLookup] table. I have another table [counseldetails] that uses a query to lookup the full name based upon the offce defined and then selects the full name. What I want is to have the relationship directly tied from [cousel originating] to[counseldetails] and eliminate the query. the problem is when I try to create the lookup, it is marking the field as a number and I will lose the data becuase now it is set to text.
My solution is trying to find a loop code that will change the value of [counseldetails].[requestername] to the numeric value that is in the [counsel originating] table based upon the ID and the text value stored in the table. I can use 150 update queries to do so, but I am trying to find a bit more automated process to speed it up.
Thanks!
I just want everything Normal!!!
I have a table [counsel originating] that has 4 fileds: ID (PK), First, last, and Office(Lookup to [OfficeLookup] table. I have another table [counseldetails] that uses a query to lookup the full name based upon the offce defined and then selects the full name. What I want is to have the relationship directly tied from [cousel originating] to[counseldetails] and eliminate the query. the problem is when I try to create the lookup, it is marking the field as a number and I will lose the data becuase now it is set to text.
My solution is trying to find a loop code that will change the value of [counseldetails].[requestername] to the numeric value that is in the [counsel originating] table based upon the ID and the text value stored in the table. I can use 150 update queries to do so, but I am trying to find a bit more automated process to speed it up.
Thanks!

Last edited: