Results 1 to 3 of 3
  1. #1
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How to Query For Records With Quotes? (a2k (9.0.6926) SP-3 Jet 4.0 SP-8)

    I

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: How to Query For Records With Quotes? (a2k (9.0.6926) SP-3 Jet 4.0 SP-

    To include a quote in a quoted string, double it:
    <code>
    Like "*"""))
    </code>
    or concatenate with Chr(34):
    <code>
    Like "*" & Chr(34)))
    </code>
    You can't put Chr(34) inside the quotes. Also see <post#=230,516>post 230,516</post#>.

  3. #3
    Silver Lounger
    Join Date
    Jun 2001
    Location
    Niagara Falls, New York, USA
    Posts
    1,878
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: How to Query For Records With Quotes? (a2k (9.0.6926) SP-3 Jet 4.0 SP-

    Perfect

    Thanks, John

Posting Permissions

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