![]() |
| |||||||
![]() |
| | LinkBack | Thread Tools | Display Modes |
| ||||
| show me what you have for that line. i edited my code and added a parenthesis because i was missing it when i first posted. I've tested this code in a quick sample page and i'm not getting any errors.
__________________ Quote of the Month: Strife: As long as we have each other, we'll never run out of problems. Questions to Ponder: I went to a bookstore and asked the saleswoman where the self-help section was and she said if she told me, it would defeat the purpose. iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright © 2008 sbenj69 Last edited by mehere; 05-02-2008 at 01:59 PM. |
| Sponsored Links |
| ||||
| Ok, after looking at this again, it looks like the data is a bit more complicated. Right now I do have it putting everything with ready first and then everything that contains repair. some of the data contains more alpha/numeric and hyphens like, XX-XX-XXX-READY XX-XX-XXX-REPAIR-XX## XX-XX-XXX-REPAIR i'm not going to worry about slipping in a group name "ready" or "repair" to separate. Thanks Mehere for all your help!!! ![]() |
| ||||
| you can add something else into your query to do this then ... add another column for the column that contains those values ... something like this Code: CASE WHEN CHARINDEX('READY',column_name) > 0 THEN 'READY' ELSE 'REPAIR' END AS type Code: ORDER BY Type, column_name |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| Sponsored Links |
| ASP.NET Resource Index a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer. Free Web Directory Including Chats and Forums Resources, Offer automatic, instant and free directory submissions. | URLZ Web Directory URLZ Web Directory Free Web Directory - Add Your Link The Little Web Directory | Free Web Directory Pegasus free web directory is a free directory organised by categories. |