質問

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