Forum Replies Created

Viewing 15 posts - 1 through 15 (of 15 total)

  • RE: Using "Like" or Wildcard

    Thank you. I'll give this a try...

  • RE: Using "Like" or Wildcard

    Yes that is what I want. In my world:

    A list of all active courses in department 10 only.

    There are 10 departments which have courses listed in the database. ...

  • RE: Using "Like" or Wildcard

    Since I've been away for awhile, I need a refresher. This is what I currently have [neither of which not work]:

    In my "dir.asp" file:

     
    
    <%...
  • RE: Using "Like" or Wildcard

    I don't want ALL active courses. Courses are stored by departments. I want all active courses in department 10 only. Department 10 also has inactive courses.

    I don't...

  • RE: Using "Like" or Wildcard

    for one of my files, I have the following code. Where would the "WHERE" part of this code fit in.

     
    
    <% Set r = createobject...
  • RE: Using "Like" or Wildcard

    Im' new at this and have actually taken over someone else's code so I'm not familiar with the Query analyser. I have two files that is a part of...

  • RE: Using "Like" or Wildcard

    Thanks all...I'll give it a try and report back.

  • RE: Using "Like" or Wildcard

    I gave an example of what's in the LEDef_Cd field in my post of 6/6/03 at 12:06. The LEDef_ActiveInd field has either a 1 (for true) or a 0...

  • RE: Using "Like" or Wildcard

    That's correct. I want ALL active courses AND ALL active courses that starts with the number 10. Using AND does not generate any errors, it just doesn't return...

  • RE: Using "Like" or Wildcard

    I want to do both not either or...

  • RE: Using "Like" or Wildcard

    In addition to pulling all courses that are active, I would also like to pull all courses from the LEDef_Cd field that begins with the number 10.

  • RE: Using "Like" or Wildcard

    I did some Response.Writes and got the following:

    Trim(Request('qu')): customer
    


    ===================================================================

    Request.QueryString: qu=customer&Search.x=27&Search.y=10

    replace %A0 strRQS: qu=customer&Search.x=27&Search.y=10

    qu=customer&Search.x=27&Search.y=10

    replace %26nbsp%3B strRQS: qu=customer&Search.x=27&Search.y=10

    strL: qu=

    strR: customer&Search.x=27&Search.y=10

    strL & @all+ & strR: qu=@all+customer&Search.x=27&Search.y=10

  • RE: Using "Like" or Wildcard

    Which string do you want me to do a Response.Write on?

  • RE: Using "Like" or Wildcard

    I'm not getting an error message, it's just not returning the correct results. This is the code from my search page:

    
    
    <%

    'FOLLOWING SESSION VARIABLES OBTAINED FROM...
  • RE: Using "Like" or Wildcard

    I've already tried this but I tried it again and it didn't work:

    r.open "SELECT LEDef_PK FROM LEDef WHERE LEDef_ActiveInd = 1 AND LEDef_Cd LIKE '10-%'"

Viewing 15 posts - 1 through 15 (of 15 total)