Question

Right now I have in my 2007 Access DB query:

Expr1: Switch([Medicaid]=-1,"Yes",[Medicaid]=0,"No")

yet the column name is showing "Expr1" on result....how do I change that to "Medicaid"?

Thank you!

Was it helpful?

Solution

You cannot change the name of a query column to the name of a table column, but you can change it to something similar:

 Medic aid: Switch([Medicaid]=-1,"Yes",[Medicaid]=0,"No")

You would probably be better off using Format:

 Medic aid: Format[Medicaid],"Yes/No")
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top