![]() |
| |||||||
![]() | « Previous Thread | Next Thread » |
| | 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: Sanity: Minds are like parachutes. Just because you've lost yours doesn't mean you can borrow mine. Questions to Ponder: Why is the third hand on the watch called the second hand? iif([sarcasm]=true,iif([you have to ask]=true,"didn't work","ha ha ha"),"not sarcasm") copyright © 2008 sbenj69 Last edited by mehere; May 2nd, 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. Web Directory & SEO Services dirroot web directory |