Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

trying to merge 2 tables

Status
Not open for further replies.

xkimbal

Technical User
Jun 27, 2002
1
US
I have one table that gets imported from a text file. This file has productID, type of sale, and count of sale. It's structured with 3 columns like this:

PSK DISP COUNT
xxxxx xx xx

Now this file does not contain any types of sale that have a count of zero. So the number of records does not match (text file with 654 and I'm supposed to have 1184)! Now I have another table (a template) that has the proper amount of records but no count and is set up like this:

PSK2 DISP2 COUNT2
xxxxx xx (blank)

I need the PSK's and the DISP's from both tables to match and populate the COUNT2 with COUNT's values where they do.

Please help me... Thanx
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top