Convert an ID # name, address, etc.

I'm working on a page of output that displays the orders. My calls to query on a field called ID # which is the primary key for a table called dealers.

Here's my dilemma, I want to convert the ID to the real name, address, etc. of the donor to display on my page of output. I know how to run a query to do this, but my question is how to do this in a cfoutput to a different query. My page displays a query of exit grouped the two tables, or which is the table of merchants. How to insert has identification number converted within this output? You can activate a query output and off the Ford Center?

That's because Orders_ID does not exist in your database

schema.  It's an alias in your select clause and you

not to use an alias in the Group By clause, you have

to use the real table.fieldName, you want to order by.

Another reason to use MS SQL, MySQL, etc.  They let you ORDER BY alias

Tags: ColdFusion

Similar Questions

Maybe you are looking for