Forum Discussion

AndrewFry's avatar
AndrewFry
Qrew Assistant Captain
6 years ago

Add Child record not working

Ok, I feel like I am going button crazy here. My last few posts have all been about buttons. I think they are the bane of my app for the moment.

I have a form that has several Add Child Record buttons.

The typical behavior of those buttons from my experience is that when clicked, they save the parent record (generating the record if not previously generated), and then proceed to open the child record form.

That is the case for all of my different forms, except this one for some reason.

I have not changed the default code of the buttons.

I click them, they save the parent record, and then instead of going to the child record form, it keeps me on the parent record in edit mode. If I click it a second time, then it takes me to the child record form.

I have compared the code of these buttons on this form to those of other forms' buttons, and nothing is different, except the DBID, the reference fid, and the field reference.

Everything else is the same.

I do remember changing one thing in this table that I didn't do in the others. In the properties, I checked the "Show save & keep working choice" check-box. But that shouldn't have anything to do with the "add child record" button .... should it?

I am at a loss of ideas at this moment.

------------------------------
Andrew
andrew.fry25@gmail.com
------------------------------
  • AndrewFry's avatar
    AndrewFry
    Qrew Assistant Captain
    I got this resolved.

    I noticed that the URL would not change in the address bar of the browser (Chrome, ver. 77).

    I closed all tabs, closed chrome, opened IE, logged in, and gave it a try.

    No issues.

    I re-opened chrome, opened a new tab, logged in, tested it, and BOOM!!! It works now.

    I don't know what the issue was, but I tested various scenarios and they are all working now as expected.

    ------------------------------
    Andrew
    andrew.fry25@gmail.com
    ------------------------------
    • LauraThacker's avatar
      LauraThacker
      Qrew Captain
      Andrew - I am so glad someone else has had this problem.  I have an app I use for my own purposes and regularly (but not 100% of the time) it does this.  It is the only app I have found this behavior on; and like you; it is a standard Quick Base Add-Button.

      I have learned to watch and make sure I land in the right place; and go back to the Home Page when it fails because I know the record is there but the redirect doesn't always work.

      If you have had this happen; you may have it happen again.... but I have never been able to give Quick Base Support something they can replicate to troubleshoot.

      ------------------------------
      Laura Thacker (IDS)
      laura@intelligentdbs.com
      (626) 771 0454
      ------------------------------
      • AndrewFry's avatar
        AndrewFry
        Qrew Assistant Captain
        Oh good, I am not alone!!

        I honestly thought I had screwed it up and was frantically trying to figure out where I went wrong, even though I know I hadn't changed any settings or coding that should have affected it.

        I was able to replicate it every time, until I logged out, closed my browser, restarted my machine, gave it a try in IE, and then again in Chrome (the culprit). After that, I cannot get it to replicate.

        If it happens again, I will screen capture my results and give it to quickbase support via a care case.

        Thanks for reaching out Laura to let me know I was not going crazy, lol.

        Take care.

        ------------------------------
        Andrew
        andrew.fry25@gmail.com
        ------------------------------