How to pass "&" through an api call

  • 0
  • 1
  • Question
  • Updated 1 year ago
  • Answered
  • (Edited)
I'm using a button to create a record table to table. Everything is passing over correctly except this part

& "&_fid_22=" & "Case Analysis & Strategy"
Its only going over as "Case Analysis". I thought the solution was to put it as:

& "&_fid_22=" & "Case Analysis \& Strategy"

But that didn't seem to do the trick. How do I need to format it to carry over the whole string?
Photo of Jordan

Jordan

  • 1,574 Points 1k badge 2x thumb

Posted 1 year ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 51,166 Points 50k badge 2x thumb
& "&_fid_22=" & URLEncode("Case Analysis & Strategy")

The internet "rules" are that URLs may not have spaces in them or special characters, so you need to URLEncode