The column derived from the database value essentially is based on the following pseudocode
If Issued_Quantity > 0, field value = Complete ("C")
Else, field value = Incomplete ("I")
Is there a way to incorporate this into the datagrid while still pulling two columns directly from the database?
My current code is as follows:
|
Where the SQL statement is
|
The desired end result would look something like this:
Requisition Number | Location | Status
1230957389 | Bay 2 | I
4357892346 | Bay 6 | C
The values in the database for status would be '0' for the first record and a number like '25' for the second.
Thank you in advance for your help!
Laura RitcheyPosted Aug 26, 2010, 1:52 PM