Results 1 to 4 of 4

Thread: request with spaces

  1. #1
    Join Date
    Apr 2003
    Posts
    23

    request with spaces

    I get my SQL request in the query string :

    ?Affectation='%me%20HEBER%'

    for : anyField LIKE '%me HERBER%'

    sometimes I get the right values sometimes not

    do you know why ?

  2. #2
    Join Date
    Sep 2002
    Location
    Fantasy
    Posts
    4,254
    because URL cannot accept blank spaces.

    you have to use replace() function to remove %20

  3. #3
    Join Date
    Apr 2003
    Posts
    23

    yes but

    I of course I have think to it , but in that case : why does it works in 90% of the cases ?

    thank you for helping

  4. #4
    Join Date
    Apr 2003
    Posts
    23

    acces

    I have tested directly in Access and a few request with spaces return nothing

    Model LIKE '*AS nt*'

    sometimes it works with spaces sometimes not ....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •