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

  1. sakilgor

    strInput LIKE strText ???? LIKE doesn't work

    Btw, if you ever do any VB programming, there IS a LIKE operator there that works like it does in SQL (except the "anything" wildcard character is an asterisk instead of a percent sign). The new ASP.NET, which is much more VB-like, has this!
  2. sakilgor

    Problem with CDONTS and Quotation Marks

    Are you sure the string is making it intact from the sending form? In other words, if you put in a response.write at the beginning of the receiving asp, Response.write Request.form("Message") do you do see the entire string there, not cut off? 'Cause if you do, and you strip out...
  3. sakilgor

    Stop the BackButton from being used?

    The browser guru in my areas says if the Back button is visible, there is no way to disable it, and no way to modify the history object that it uses. I had a similar problem recently. On the page that processess the form I set a cookie indicating the form had already been submitted. On the...
  4. sakilgor

    Problem with CDONTS and Quotation Marks

    OK, I didn't read your problem carefully, sorry. Ignore all my stuff about fixing on the client side! Your problem is when you are calling the cdo Send method. I think LINK9's suggestion was on the right track, but you need to replace the quotes with SOMETHING ELSE. Either strip them out...
  5. sakilgor

    Problem with CDONTS and Quotation Marks

    Have you tried replacing all the quotes to PAIRS of quotes. I may be mixing up vb and html, but I think html will recognize a pair of quotes as "embedded" within the outer quotes and won't terminate your string. You will have to do this on the CLIENT side, before submitting the form...
  6. sakilgor

    Trying to separate numbers with commas!

    Excellent! Much cleaner than mine. One minor correction to yours... In SqlServer at least, you cannot have the Count(*) in the Where clause. It would need to be this... SELECT Mem_Id FROM tblnm WHERE Categories in ('b','c','d') GROUP BY Mem_Id HAVING count(*)=3 Sorry Rexolio, we've gotten...
  7. sakilgor

    Trying to separate numbers with commas!

    SELECT * FROM members m WHERE EXISTS (SELECT 0 FROM mems_cats mc WHERE m.mem_id = mc.mem_id AND mc.category = 'b') AND EXISTS (SELECT 0 FROM mems_cats mc WHERE m.mem_id = mc.mem_id AND mc.category = 'c') AND EXISTS (SELECT 0 FROM mems_cats mc WHERE m.mem_id =...
  8. sakilgor

    Repeating substring in a string

    There is no built-in function that returns the number of occurrences of a given string ("LIKE") within another string (your SQL statement). What are you really trying to do, just determine whether or not "LIKE" occurs 2 or more times, or are you really doing more than that...
  9. sakilgor

    ASP Wait beofre Redirect

    Your web hosting company won't appreciate you using the timing loop, because it grabs 100% of the CPU while it is running. Try the code below instead. (The response.writes are just to prove the script is working; take these out of your final code): response.write "Start... " &...
  10. sakilgor

    Wait()

    Thanks Royred! Philosophy aside, you win the prize for simplicity. Your solution does not (1) hog the cpu, (2) require an external vbs script, or (3) require a database connection. I was concerned I might annoy my Server Support people with message boxes while they were logged on to the IIS...

Part and Inventory Search

Back
Top