Skip to content
Advertisement

Concatenating variables into a string for a query url

I am trying to program a dynamic url that changes as the day changes. I can get the query to run if I hardcode the date into the string but it will not run when “todaysDate” is used at the end of the url. I looked in the locals window and the variable url returns the correct string needed to download the csv file that the query calls for. ”’

for example, I know that this code works:

Advertisement

Answer

You had a typo in your query definition

I also refactored some of the code

Code:

Let me know if it works

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement