Not sure if this is possible to do with SQL or not...any help is appreciated!
Let's say I have a table that has 5 fields.
Patient_ID
Patient_Name
Pat_Height
Pat_Weight
Pat_WaistCirc
A select query on this table displays results as:
Patient_ID, Patient_Name, Pat_Height, Pat_Weight, Pat_WaistCirc
What I need is it to display like this:
Patient_ID,Patient_Name, ValueField, DataLabel
Patient_ID, Patient_Name, Pat_Height, "Height"
Patient_ID, Patient_Name, Pat_Weight, "Weight"
Patient_ID, Patient_Name, Pat_WaistCirc, "WaistCirc"
So one row of data becomes 3 rows of data, the like data repeats itself, unlike data forces a new row for each data element, and that data label is kept with the data value.
I hope someone can help with this !
Thanks in Advance!!
Let's say I have a table that has 5 fields.
Patient_ID
Patient_Name
Pat_Height
Pat_Weight
Pat_WaistCirc
A select query on this table displays results as:
Patient_ID, Patient_Name, Pat_Height, Pat_Weight, Pat_WaistCirc
What I need is it to display like this:
Patient_ID,Patient_Name, ValueField, DataLabel
Patient_ID, Patient_Name, Pat_Height, "Height"
Patient_ID, Patient_Name, Pat_Weight, "Weight"
Patient_ID, Patient_Name, Pat_WaistCirc, "WaistCirc"
So one row of data becomes 3 rows of data, the like data repeats itself, unlike data forces a new row for each data element, and that data label is kept with the data value.
I hope someone can help with this !
Thanks in Advance!!