This topic is locked
[SOLVED]

 Emailing FK values

1/18/2016 9:14:59 PM
ASPRunner.NET General questions
jadach authorDevClub member

Does anyone have an easy to email the text value of a FK field?
I have an email sending after record updated. One of the values I amending is a status. The status is an int field in the database, but is a drop down on the edit page. The email issending "1" opposed to "approved"
Thanks

Sergey Kornilov admin 1/20/2016

Jerry,
take a look at this:

http://xlinesoft.com/asprunnernet/docs/data_formatting.htm
Second code sample is what you looking for, in case of Lookup wizard it will use Display field instead of raw field value.

jadach authorDevClub member 1/20/2016

Awesome. I knew there would be an easy way. Thank you.