Hi everyone,
I'm having a tough time wrapping my head around this. I have a table that, among other things, consists of account numbers and campaign dates. I have a blank field that needs to be updated with which iteration of the campaign each campaign date refers to for each account number. For example, My final table should look like:
Account, CampaignDate, Iteration
123, 1/1/2011, CampaignType & 1
123, 1/2/2011, CampaignType & 2
123, 1/3/2011, CampaignType & 3
124, 1/3/2011, CampaignType & 1
124. 1/4/2011, CampaignType & 2
125, 1/1/2011, CampaignType & 1
125, 1/2/2011, CampaignType & 2
125, 1/3/2011, CampaignType & 3
125, 1/4/2011, CampaignType & 4
The Iteration field is what will need to be updated (currently blank). The CampaignType in this case will remain constant as I have a table for each campaign (excel imports, not part of a db) The reason for this is that I will join all the campaign tables together and then be creating a crosstab that will provide the campaignType&Iteration (column) and campaign date (values) for each account number (row).
Any help is appreciated.