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!

有帮助吗?

解决方案

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")
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top