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 derfloh 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: *

  1. pupadu

    Logout Issue

    Thanks to you as well, Sheco. Now I know that I'm a novice at ASP. I have a session check script at the top of the page the user is taken to after they have logged in. I don't have it on any other pages. Based on this knowledge, I see where I'm truly going wrong with this. Like I've said...
  2. pupadu

    Logout Issue

    Thanks vbkris for the quick response. The page did continue to work. I'm a bit of a novice with a growing knowledge of ASP. Could guide me in the right direction as to how I can find the error in my session checking? Again, any and all suggestions and advice is greatly appreciated.
  3. pupadu

    Logout Issue

    Hello everyone. I have an application (ASP and SQL Server) that requires a user to login and logout. When the user logs out, it takes them to the appropriate page. However, if they were to click the "Back" button on their browser, they still have access to the last page they had visited. Is...
  4. pupadu

    Using Array Content for Comparison in If...Then

    GuitarDave78, that last loop that you gave me did the trick! I used the following: for each item in varChoseTime sTime = sTime & "," & item next If var0630am = "Yes" and instr(sTime,"06:30:00") <=0 Then Response.Write "<tr><td align=right>6:30 AM</td>" & "<td><input type=radio name=appttime...
  5. pupadu

    Using Array Content for Comparison in If...Then

    Also, GuitarDave78, I tried your join...instr suggestions and I received this error. Microsoft VBScript runtime error '800a000d' Type mismatch: 'join' /appttime.asp, line 183 Again, any suggestions and advice is greatly appreciated.
  6. pupadu

    Using Array Content for Comparison in If...Then

    TsDragon, I also tried your if not flag then suggestion. I received the following error Microsoft VBScript runtime error '800a0009' Subscript out of range /appttime.asp, line 190 I know now that this means that the code is trying to get an array element that doesn't exist. Any other...
  7. pupadu

    Using Array Content for Comparison in If...Then

    Okay, GuitarDave78, I tried the response.write ubound(varChoseTime) and received 0. My question is how is that I can receive a list items in the array if I do this: for each item in varChoseTime Response.Write item & "<br>" next but not when I use the response.write ubound(varChoseTime)...
  8. pupadu

    Using Array Content for Comparison in If...Then

    Thanks to you also, TsDragon. However, I'm not sure I follow what you're saying. If I set my logic to true, it's not suppose to do anything. However, if it's false I want it to response.write my html code. From what I can see the if...then statements work aside from the fact that it only...
  9. pupadu

    Using Array Content for Comparison in If...Then

    Thanks again for appreciated help, GuitarDave78! However, I'm getting an error: Microsoft VBScript runtime error '800a0009' Subscript out of range /appttime.asp, line 189 Any other suggestions?
  10. pupadu

    Using Array Content for Comparison in If...Then

    GuitarDave78, thanks for the quick response! I'm a novice at ASP, so could you elaborate a little more. Preferably by examples. Thanks much! :)
  11. pupadu

    Using Array Content for Comparison in If...Then

    Hello all. I'll do my best to explain this. I've been having a bit of trouble figuring this one out. I have this application that queries the database (SQL Server) based on personnel and appointment date. I then perform GETROWS on the recordset for one field only (appttime) and this data is...
  12. pupadu

    Using If-Then Within a Loop

    WOW! You saved me again! I am truly learning a great deal from you. Can you recommend any great books and/or tutorials. I NEVER would have came up with this solution. You are awesome! Thanks again so much!
  13. pupadu

    Using If-Then Within a Loop

    This is what I'm getting from the last set of code you offered: 9:00:00 AM--8:30:00 AM 9:00:00 AM--9:00:00 AM 9:00:00 AM--9:30:00 AM 9:00:00 AM--10:00:00 AM 9:00:00 AM--10:30:00 AM 9:00:00 AM--11:00:00 AM 9:00:00 AM--11:30:00 AM 9:00:00 AM--12:00:00 PM 9:00:00 AM--12:30:00 PM 9:00:00 AM--1:00:00 PM
  14. pupadu

    Using If-Then Within a Loop

    Hey Steven290! Thank you SO much for replying. I tried your code and it's not putting the "Selected" text in the Option code. The objRS("bhsunopen") does falls within the "addTime" results, but it's just not catching the SELECTED. Here's what it looks like when I view the source in HTML...
  15. pupadu

    Using If-Then Within a Loop

    Hello everyone and anyone. I'm a novice at ASP but am learning a great deal from this forum. I have a piece of looping code that I'm trying to manipulate to look at an if-then, but I'm not sure that it's possible. I'll do my best to explain this. The code creates a drop-box. It's contents...
  16. pupadu

    Time Format in ASP

    Steven290, you just earned yourself a star from me. :)
  17. pupadu

    Time Format in ASP

    Steven290, you are amazing! Thank you, thank you, thank you so much. I was thinking about splitting the time but I was way off by not thinking about the LEFT and MID functions. Again, thank you so much! I absolutely love this forum. I know it's corny but I just had to get that off my chest. :)
  18. pupadu

    Time Format in ASP

    Thanks so much steven290 for responding. I do appreciate your help. However, this didn't work. It's displaying as "5:00:00 PM". Any other ideas? I'm wide open to them, believe me. :)
  19. pupadu

    Time Format in ASP

    Hello everyone and anyone. I know that there is a real simple solution to this beginner's problem but for the life of me, I can't find the solution for this. I'm using ASP with an SQL database. I need to convert datetime data such as "17:00:00" into "5:00 PM". I've tried "vbshorttime" but I...
  20. pupadu

    How to Capture Loop Results

    TSUJI, you are amazing! I'm learning so much just from your help. Being a newbie, I never would have caught on to that solution. Again, thank you so much.

Part and Inventory Search

Back
Top