Forum Discussion
ckattookaran
4 years agoVIP
I was not able to figure that one out. It is there in the FXRate tables. However, there is no name and Id relation anywhere.
You could get the datatable and edit the Cons column and use the following to get the name.
Currency.GetItem(62).Name (this gives GBP)
Loop through the data table items, edit the row and set it to the name. One thing to keep in mind is either cast consid to varchar or add a blank varchar column in your SQL so that you can add the name there in it.
Johnny
4 years agoNew Contributor II
Thank you for the reply, ckattookaran. Your tip for casting the ID as an varchar was helpful. I was getting incompatible field type issues from the case statement when having the ELSE return the ID.
Related Content
- 4 years ago
- 6 months ago
- 3 years ago
- 2 years ago