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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: tjock
  • Order by date
  1. tjock

    How do you group joined records on output?

    I'm trying to change the logic the ASP applies to each row. For example, the ASP output now is: while not EOF... 3 rows joined on ID 1 4 rows joined on ID 2 3 rows joined on ID 3 5 rows joined on ID 4 .. and son on.. I just want to display the first row for each unique ID.
  2. tjock

    How do you group joined records on output?

    I want to output a standard joined table recordset and group rows on a unique id field (specified 1st in Order By). Just like a query for a forum thread with responses would return multple rows. (SELECT TOP or DISTINCT doesn't work). I'm new to ASP, but in CF it's as simple as: <cfoutput...
  3. tjock

    Order by date - now DESC

    Thanks. I do want to show future dates, but time is not important. So I use the standard order by date to get the output shown below, but I have empty/null value fields, so it looks like this FIELD NAME | | | | | | | | | | |11/16/2004|...
  4. tjock

    Order by date - now DESC

    I was able to convert the field to datetime, but the order by duedate brings future dates to the top - is there a way to alter the clause so that it brings dates closest to now() to the top? I now this may be tricky this there are past and furture date records.
  5. tjock

    Order by date - now DESC

    the date date field is nvarchar. Should it be something else, and if so what would be my order by clause?
  6. tjock

    Order by date - now DESC

    I need resulkts to Order by date, now() DESC. Just like if you sorted by date in a windows explorer GUI. Simply Order by date doesn't do this - anyone know how? Thanks
  7. tjock

    Compare current vs. other dynamically generated fields?

    I have dynamically created courses and their schedule on a form page which I verified submit fine to an action page. My only problem is I can't get the action page to detect a time match (schedule conflict). Any ideas? <!---form page---> <INPUT TYPE=&quot;Checkbox&quot...
  8. tjock

    create multiple (2) auto Increment fields in a table

    Thanks - the reason I want to do create the additional auto-incremeted field to generate random integer or varchar fields which will serve as passwords. This may sound somewhat clugy, but seems to be the quickest/easiest way to assign simple passwords to 100+ records. So I can't really use the...
  9. tjock

    create multiple (2) auto Increment fields in a table

    How do you create multiple (2) auto Increment fields in a table? SQL defaults to only want 1, and assumes it's the identity seed.

Part and Inventory Search

Back
Top