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 John Tel 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: mthompo
  • Content: Threads
  • Order by date
  1. mthompo

    center prob...

    have the following css to put a top bar menu on the page but cant get the menu to center in the page it uses 140px in this line padding:5px 5px 0 140px; ...to start the menu 140pixels from left - but i want the menu to center in the page - have tried float:center all over the place but doesnt...
  2. mthompo

    rs.eof prob...

    Hi, have the following code which makes two lists a list for holtypeid =1 and a list for holtypeid =2. i dont want two rs, so i goto the first record for the second list using rs.movefirst so the loop starts again - which is fine as long as there are records for holtypeid =1 or 2 , else i get...
  3. mthompo

    asp date > mysql date format

    ok have written some script that changes standard UK date format dd/mm/yyyy to mysql query format yyyymmdd whenstart =date() motdaynumsql = day(whenstart) motmonthsql = month(whenstart) motyearsql = year(whenstart) 'sql start daysql = motdaynumsql if daysql < 10 then daysql = "0" & daysql...
  4. mthompo

    are nested tables the answer?

    hi, am having trouble getting my asp page to display correctly. i am also new to nested tables in sql so need your help. if i use this query SQL ="SELECT cus.lname, CC.reg, CB.bookst, CB.bookend, CC.carid, CB.courtcarbookid, tran.trandesc, CC.model "_ & "FROM courtcar AS CC "_ & "LEFT...
  5. mthompo

    another delete confirm q

    have an onclick event for my image onclick= "if (ew_confirm('Are You Sure?')) {this.form.action='custaddcourtcars.asp';this.form.submit();this.form.a.value='D'};" function ew_confirm(msg) { var agree=confirm(msg); if (agree) return true ; else { return false ; } } can someone tell...
  6. mthompo

    wifi ip scan

    at home there is an unsecure wifi network in range i want to find the ip range that the network uses how would i do this?
  7. mthompo

    xp where are they now!

    hi, a user has deleted a file from a shared folder on a client comuter. the shared folder had full permission the file is not in either the host or client recycle bin - where, if anywhere, do files go? or is it lost for good
  8. mthompo

    tick box onchange calculation

    hi, on my page is a list of items a user can choose by way of tick boxes. when someone ticks a box i would like the number of hours available to them to deacrease by the hours next to the tick box item. am new to javascript - do i need to put values in hidden form elements to send to the...
  9. mthompo

    refresh prob

    hi i use the following in the head of my page to refresh the page frequently <meta http-equiv="refresh" content="10" URL="mfit3.asp";> however when the page is refreshed it loses the date the page was on - so i need to adjust the url to include the date querystring have tried <meta...
  10. mthompo

    write cus name if between dates

    have a loop that lists days of week and writes cutomers name if the day equals booking start date or booking end date this is done using case statement however i want the days between the start and end date to be filled with the customers name but am stuck courtdate = dd/mm/yyyy books/end =...
  11. mthompo

    sql sum prob

    hi have the following sql which works ok i need to sum stdtime to give a total for each group that is a sum for mot.bayid = 1 AND mot.baytypeid =1 and a sum for mot.bayid = 2 AND mot.baytypeid =1 etc... i also need a total sum for the above sums? motsql1 = "SELECT mot.mott, car.carid...
  12. mthompo

    loop total

    hi - this is more a logic issue than a programing one it follows from my post yesterday thread333-1260817 whereby a link is written to the page if a value is higher than 0. now this link is in a recordset loop and the total is worked out after the loop is completed so i am stuck. i dont now...
  13. mthompo

    ahref and asp link prob

    hi, have the following link to a page <a href=<%Response.Write "custaddmot.asp?motdate=" & Server.URLEncode(motdate) & "&motid=" & Server.URLEncode(x_motid)%> target="_blank" onClick=" window.open(this.href, this.target, 'height=500,width=480,status=no,resizable=no,scrollbars=no'); return...
  14. mthompo

    available booking time query

    hi need help with this query, have a list of times for a booking system i want a query that lists times that are available for a certain date. It needs to look at the bookings table and not display times that have a booking related to them tables: times timeid time 1 9:00 2 10:00...

Part and Inventory Search

Back
Top