G
Guest
Is it possible to use a parameter as the field name, not just a
criteria?
Snippet of my SQL:
SELECT Eval("[Forms]![frm__Setup]![lbo_CurrentFields].[Column](0)") AS
TestField, [TestField] AS [Current Value] from qry_main
The parameter [TestField] will hold the name of the field. In the first
column, I want to show the name of the field for all records. In the
second column, I want to show the actual value of this field for the
current record:
STR_STUDENTID 999999
STR_STUDENTID 999982
STR_STUDENTID 999945
I hope this makes sense. I know that this is probably so simple I'm
looking right at it, but I can't seem to figure this out.
I've already tried this in a newsgroup, but the answer there was "no".
criteria?
Snippet of my SQL:
SELECT Eval("[Forms]![frm__Setup]![lbo_CurrentFields].[Column](0)") AS
TestField, [TestField] AS [Current Value] from qry_main
The parameter [TestField] will hold the name of the field. In the first
column, I want to show the name of the field for all records. In the
second column, I want to show the actual value of this field for the
current record:
STR_STUDENTID 999999
STR_STUDENTID 999982
STR_STUDENTID 999945
I hope this makes sense. I know that this is probably so simple I'm
looking right at it, but I can't seem to figure this out.
I've already tried this in a newsgroup, but the answer there was "no".