I have a bit of a dilemma with a task I have been set, and i'm not sure its even possible using SQL.
I have an MS Project table (MSP_TEXT_FIELDS) containing project attributes for many different projects. I can only describe it as 'vertical' in nature (i.e. each row contains one project attribute for a project, so there could be many rows for each project)
I have created an empty table that is a 'horizontal' version of the same table (more or less - i.e. one row for each project, with the attributes held in each column)
For the simple solution, I need to somehow run a script that reads all the information from the first table and puts it in the second.
This script would need running daily to make sure both tables are consistent.
This would be a big step towards solving the problem.
The second being that the attributes in the first table are only identified y a correspondin ID value in the same row.
each ID represents an attribute such as: Project Manager, Product etc.
my new table I have created has the actual attributes as column headings, so I have created a lookup table that has two columns - one containing the ID values and the other containing the corresponding attribute title.
so I need to tell the PC to go through each row of the first table, get the project number, ID and attribute value and then put the attribute value in the correct place in the second table (by using the lookup table that I created)
If anyone can help, or start suggesting ways to do this I would be very gratfeul.
I would be happy to email excel spreadsheets containing an exmple of the tables before and after!
thanks in advance,
Matt
I have an MS Project table (MSP_TEXT_FIELDS) containing project attributes for many different projects. I can only describe it as 'vertical' in nature (i.e. each row contains one project attribute for a project, so there could be many rows for each project)
I have created an empty table that is a 'horizontal' version of the same table (more or less - i.e. one row for each project, with the attributes held in each column)
For the simple solution, I need to somehow run a script that reads all the information from the first table and puts it in the second.
This script would need running daily to make sure both tables are consistent.
This would be a big step towards solving the problem.
The second being that the attributes in the first table are only identified y a correspondin ID value in the same row.
each ID represents an attribute such as: Project Manager, Product etc.
my new table I have created has the actual attributes as column headings, so I have created a lookup table that has two columns - one containing the ID values and the other containing the corresponding attribute title.
so I need to tell the PC to go through each row of the first table, get the project number, ID and attribute value and then put the attribute value in the correct place in the second table (by using the lookup table that I created)
If anyone can help, or start suggesting ways to do this I would be very gratfeul.
I would be happy to email excel spreadsheets containing an exmple of the tables before and after!
thanks in advance,
Matt