Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL if statement

Status
Not open for further replies.

03Explorer

Technical User
Sep 13, 2005
304
US
I do not want to change values or add a field to a table, but I do want to change the sort order for a report but the order will be custom. I was thinking I can create a field for the sql code to generate on the fly to read a field and using a nested if statement populate the field with a number 1 - n. That way the number is not stored in the table and it can be adjusted if the order changes again.

Stumped.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top