Hello,
we're transferring our Access Database to an ADP-Project,
thus were not using the queries in Access but views in SQL-Server.
The problem is that the function "iif" is not working in views / stored procedures.
I need a column where either 'NULL' or text is saved to give back 'Yes' or 'No'. In Access-SQL it worked like this:
Iif([fieldname] Is Null, "No","Yes"
Can I perhaps write a function to give this special column back and use it in a view or is there any other way to "convert" one column basing on the source-column ?
TIA,
Jens K.
we're transferring our Access Database to an ADP-Project,
thus were not using the queries in Access but views in SQL-Server.
The problem is that the function "iif" is not working in views / stored procedures.
I need a column where either 'NULL' or text is saved to give back 'Yes' or 'No'. In Access-SQL it worked like this:
Iif([fieldname] Is Null, "No","Yes"
Can I perhaps write a function to give this special column back and use it in a view or is there any other way to "convert" one column basing on the source-column ?
TIA,
Jens K.