S
Student Databaser
I have a field [PRACTICE AREA] which is formated as field type - number , but
it is a combo box where the value list is like this
1;"PHY";2;"CHW";3;"PHL";4;"DENTIST";5;"SW";6;"EBP";7;"VET";8;"EH";9;"HIS";10;"EPID";11;"LS";12;"HA";13;"MHSA";14;"HEP";15;"NUT";16;"PHN";17;"OTHER";18;"PHP"
So when i run queries it returns the results in numbers. I want to run a
crosstab query in effort to create a report - therefore the numbers are not
very useful i need the text instead.
How do i do this without updating the table or changing the format of this
field?
I thought i could do a SWITCH query but i don't really understand how the
SQL should look for that. This is a work in progress but here is what i am
playing around with. I know i am missing a lot of things.
SELECT DEMOGRAPHIC.[PRACTICE AREA]
FROM DEMOGRAPHIC
SWITCH (1,"PH EDUC",[2,PH ADMIN]);
it is a combo box where the value list is like this
1;"PHY";2;"CHW";3;"PHL";4;"DENTIST";5;"SW";6;"EBP";7;"VET";8;"EH";9;"HIS";10;"EPID";11;"LS";12;"HA";13;"MHSA";14;"HEP";15;"NUT";16;"PHN";17;"OTHER";18;"PHP"
So when i run queries it returns the results in numbers. I want to run a
crosstab query in effort to create a report - therefore the numbers are not
very useful i need the text instead.
How do i do this without updating the table or changing the format of this
field?
I thought i could do a SWITCH query but i don't really understand how the
SQL should look for that. This is a work in progress but here is what i am
playing around with. I know i am missing a lot of things.
SELECT DEMOGRAPHIC.[PRACTICE AREA]
FROM DEMOGRAPHIC
SWITCH (1,"PH EDUC",[2,PH ADMIN]);