I am trying to generate calculated fields in a Microsoft access 2007 database Query. The main part of the query are two fields: [Account Number] and [Type]. The [Type] field has values ether "Call Outbound" or "Web Profiling". I need to generate two new fields called "Call Outbound" and "Web Profiling" that will have the list the values from the [Type] field based on the [Account Number].
This is what I want the Query results to look like below. The calculated fields are italic:
Account Number Month QTR Type Call Outbound Web Profiling STRAT-00078 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00180 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00236 5/5/2012 Q2 Call Outbound Call Outbound STRAT-00324 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00406 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00459 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00469 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00492 5/5/2012 Q2 Call Outbound Call Outbound STRAT-00636 5/5/2012 Q2 Call Outbound Call Outbound STRAT-00637 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00768 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00812 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00871 5/5/2012 Q2 Call Outbound Call Outbound STRAT-00968 5/5/2012 Q2 Web Profiling Web Profiling STRAT-00987 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01013 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01028 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01029 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01074 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01155 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01164 5/5/2012 Q2 Web Profiling Web Profiling STRAT-01293 5/5/2012 Q2 Call Outbound Call Outbound STRAT-01313 5/5/2012 Q2 Web Profiling Web Profiling
Please help!