Link to home
Start Free TrialLog in
Avatar of musclejack
musclejack

asked on

Data Shaping in ASP

If I have a view that has 4 fields (customer, product, product type, date - all the fields are not unique and can be both parent or child) For example:

customer   product   product type   date
ABC          BEEF       FOOD             1/1/03
ABC          SHIRT     CLOTHES        2/6/03
BGH          APPLE     FOOD             7/7/02
BGH          BEEF       FOOD             7/7/02
CCC         SHIRT     CLOTHES        5/5/03

Can you show me how to use data shaping to select * the fields using 'product' as parent and select * the fields using 'product type' as child.
Avatar of YZlat
YZlat
Flag of United States of America image

select * from myViewOrTable
Order By product, product_type

I'm not sure what do you mean by select as parent and select as child
Avatar of NowaY
NowaY

musclejack,

I answered your last question be giving you an example of data shaping as requested.

Thanks,
Dominick
ASKER CERTIFIED SOLUTION
Avatar of NowaY
NowaY

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial