Hi there,
I am looking to create data warehouse type setup on the following data
we have a list of customers and each customer can have some user definable fields stored against it
they are stored in a separate look up table
so there is a one to many relation between customers and several extra fields, the extra fields are stored as follows
NameofField FieldValue CustomerCode
Field1 Value1 CustomerA
Field2 Value6 CustomerA
Field1 ValueX CustomerB
Field1 ValueY CustomerC
So not all customers have all the field stored against them
I have another table which is where the actual fields are defined, the above is the table where the values are stored for any customers which may have a value
so i also have a table that lists the fields
FieldName StoredAgainst
Field1 Customers
Field2 Customers
Field3 Customers
Field4 Suppliers
I need to create a single row for each customers
which will list the fields currently stored as rows as columns, and just having a blank field for where a value does not exist
CustomerName Field1 Field2 Field3
How could i achive this?
I also have access to crystal reports and crystal sql designer if they are any use
Aswell as vs.net and office xp
I am looking to create data warehouse type setup on the following data
we have a list of customers and each customer can have some user definable fields stored against it
they are stored in a separate look up table
so there is a one to many relation between customers and several extra fields, the extra fields are stored as follows
NameofField FieldValue CustomerCode
Field1 Value1 CustomerA
Field2 Value6 CustomerA
Field1 ValueX CustomerB
Field1 ValueY CustomerC
So not all customers have all the field stored against them
I have another table which is where the actual fields are defined, the above is the table where the values are stored for any customers which may have a value
so i also have a table that lists the fields
FieldName StoredAgainst
Field1 Customers
Field2 Customers
Field3 Customers
Field4 Suppliers
I need to create a single row for each customers
which will list the fields currently stored as rows as columns, and just having a blank field for where a value does not exist
CustomerName Field1 Field2 Field3
How could i achive this?
I also have access to crystal reports and crystal sql designer if they are any use
Aswell as vs.net and office xp