Forum Discussion

PaulStreit's avatar
PaulStreit
Qrew Member
5 years ago

Exceeding formula-URL URL character length

I have an application that calculates quarterly financial values for each contract record in a Contracts table. Each quarterly financial value is stored in a hard-coded field in the contract record (like "2020 Q1 Cash Out").

The goal is to generate chart and tabular reports on this quarterly financial data. To do this, data stored in fields had to be mapped into records in a scratchpad table the reports are based on, one quarterly field to each scratchpad record.  

I coded a formula URL button on the contract record that clears the scratchpad table, adds a new record to the scratchpad table, and copies values from the appropriate contract quarterly fields into corresponding fields in the scratchpad record. The code and the reports work great, with one exception.  

Because of the number of quarterly fields, it appears I exceeded the maximum URL length, because I'm now getting an error 404,  "page unrecognized" error. When I remove the last field from the code, it works fine with no errors.

A possible workaround is to use quarterly data for perhaps 3 years and then annual data further out to limit the number of fields and therefore the URL length, but i was wondering if there's a better way. Any ideas how to resolve this?

For example, can this be split into multiple URLs in one formula-URL field? Or can multiple formula-URL fields be concatenated in some way, where the end of one formula-URL field triggers execution of another? Or should I be using an automation and if so, how? 

Thank you.

------------------------------
Paul Streit
------------------------------
  • Ou of curiosity how long is the URL.  you can remove the label to see the text and then paste it into word to get a character count.  have you tried using Chrome to see if this is a browser limitation or a Quick Base limitation.

    Yes, you can likely do some or part of the URL as an Automation.  You can cause a date time field to be updated with the current time to trigger an Automation and it can copy from one table to another.  "Copy" is one type of action that an Automaton can do.

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------
    • PaulStreit's avatar
      PaulStreit
      Qrew Member
      Mark,

      Thanks for the quick response. I'm using Chrome Version 84.0.4147.125 64 bit. The character count is 8,041, including characters embedded by the URLEncode function.

      I'll look at the automation approach to see if that can work and will report back.

      Paul


      ------------------------------
      Paul Streit
      ------------------------------
      • MarkShnier__You's avatar
        MarkShnier__You
        Icon for Qrew Legend rankQrew Legend
        I guess that tells us that the Quick Base limit must be 8,000 characters.

        ------------------------------
        Mark Shnier (YQC)
        Quick Base Solution Provider
        Your Quick Base Coach
        http://QuickBaseCoach.com
        mark.shnier@gmail.com
        ------------------------------