We help IT Professionals succeed at work.
Get Started

Problem displaying data on results table

NCSO
NCSO asked
on
190 Views
Last Modified: 2010-04-25
I am having problems displaying the data on an ASP results table.

If I have a field in a table {Recordset1.TYPE_CODE} and it pulls data "code" from the DB, IE 02 which on the output needs to be MM rather than 02.  How can I get the form to display the output data I need rather than the code stored in the DB?

Below are the translations.

=IIf([PROCESS_TYPE]=01,"TM") & IIf([PROCESS_TYPE]=02,"MM") & IIf([PROCESS_TYPE]=03,"A / W") & =IIf([PROCESS_TYPE]=04,"JUV") & IIf([PROCESS_TYPE]=05,"FEL") & IIf([PROCESS_TYPE]=06,"CNTY") & IIf([PROCESS_TYPE]=07,"VOP") & IIf([PROCESS_TYPE]=08,"STATE") & IIf([PROCESS_TYPE]=09,"FELONY") & =IIf([PROCESS_TYPE]=10,"MISDM") & IIf([PROCESS_TYPE]=11,"OUT COUN") & IIf([PROCESS_TYPE]=12,"OUT STAT") & =IIf([PROCESS_TYPE]=13,"TT") & IIf([PROCESS_TYPE]=14,"JUV / A") & IIf([PROCESS_TYPE]=15,"COUNTY ORDINANCE") & =IIf([PROCESS_TYPE]=16,"MUNICIPLE ORDINANCE") & IIf([PROCESS_TYPE]=17,"COUNTY TRAFFIC") & IIf([PROCESS_TYPE]=18,"WRIT OF ATTACHMENT") & IIf([PROCESS_TYPE]=19,"BOND SURRENDER")

Your help is appreciated.
Comment
Watch Question
This problem has been solved!
Unlock 1 Answer and 31 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE