Hi Guys,
I'm trying to write a query that looks at a value of a record and returns a value based on the name of the field. Basicly I have a language table that contains the days of the week in a number of diffrent languages, which has field names like DAY1 DAY2 ... DAY7 and another table that has a day field with the value like 1,2...7. What I want to achieve is to look at the name of the field and return its value.
Does anyone know of a way to do this?
Many Thanks


but I've found the SQL keyword COLUMNS that sounds like it does what I want.

