A
Altemir
I have a stored procedure where I want to evaluate values in a table
column using an expression in a second column.
For example, if the source table data contains:
MyOBJECT
--------
A
B
C
D
I want to write a stored procedure (or view ... I don't really
understand the difference) that will evaluate MyOBJECT and populate a
MyEXPRESSION local variable to produce the following recordset:
MyOBJECT MyEXPRESSION
---------- ----------------
A
B
C This is a C
D
In Access, I would use "=Iif(MyOBJECT='C','This is a C',NULL)" as an
expression in the second column of a query. How do you do it in ADP?
column using an expression in a second column.
For example, if the source table data contains:
MyOBJECT
--------
A
B
C
D
I want to write a stored procedure (or view ... I don't really
understand the difference) that will evaluate MyOBJECT and populate a
MyEXPRESSION local variable to produce the following recordset:
MyOBJECT MyEXPRESSION
---------- ----------------
A
B
C This is a C
D
In Access, I would use "=Iif(MyOBJECT='C','This is a C',NULL)" as an
expression in the second column of a query. How do you do it in ADP?