D
Dan M
It would appear that using an IIF statement as part of the
SELECT statement no longer works and is no longer a
recognized function. Is there a workaround?
In Access 97, I relied on IIF in many list boxes, to
display the contents of a Yes/No field in a more
meaningful way. My column would be selected as...
SELECT IIF([tblEmployee].[Terminated] = -1, "X", "") AS
Terminated
It displayed a column titled Terminated and displayed an X
for every employee whose Terminated field was set to true,
and displayed nothing otherwise. Migrating to XP, using
an ADP with SQL Server back end, this function seems to be
illegal. Oh please, tell me there's a way to manufacture
columns on the fly in a SQL statement.
SELECT statement no longer works and is no longer a
recognized function. Is there a workaround?
In Access 97, I relied on IIF in many list boxes, to
display the contents of a Yes/No field in a more
meaningful way. My column would be selected as...
SELECT IIF([tblEmployee].[Terminated] = -1, "X", "") AS
Terminated
It displayed a column titled Terminated and displayed an X
for every employee whose Terminated field was set to true,
and displayed nothing otherwise. Migrating to XP, using
an ADP with SQL Server back end, this function seems to be
illegal. Oh please, tell me there's a way to manufacture
columns on the fly in a SQL statement.