Frage

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!

War es hilfreich?

Lösung

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")
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top