Skip to main content
Question

Not redirecting back after creating child records

  • May 22, 2017
  • 0 replies
  • 47 views

Hi there,

I want to create multiple timecards on basis of a date range and have successfully achieved this with the help of Dan's Hylo Technique.

Now, I am facing a problem the button does not redirect back after creating the child records and giving me an error "It has probably been deleted" like this because it is a connected table and key field is RecordID#2.

It works find if I use a simple table.

[iol] & "moduleParents.js" & [/iol]
&
"<a class='QBU_SansDialog Vibrant Success' " &
"  data-rid='" & [Record ID#] & "'" &
"  data-basedate='" & [Base Date] & "'" &
"  data-frequency='" & [Frequency] & "'" &
"  data-number='" & [Number] & "'" &
">Sans Dialog</a>" &
"&nbsp;&nbsp;&nbsp;" &
"<a class='QBU_WithDialog Vibrant Success' " &
"  data-rid='" & [Record ID#] & "'" &
">With Dialog</a>"


I have replaced that [Record ID#] with [Record ID#]2 and it does not redirect back but it successfull creates the timecards.

Thank you in advance.

Gaurav

  • Author
  • Quickbase Alumni
  • May 23, 2017
Hi Dan,

I know you are busy at Empower 2017. But, if you can take a look at this issue that will be much appreciated.

Thanks,

Gaurav

  • Author
  • Quickbase Alumni
  • June 6, 2017
Can anyone help me on this?

Thanks,
Gaurav

  • Quickbase Alumni
  • June 6, 2017
I would have to see the code in moduleParents.js to offer an opinion. If you post code please run it through jsBeautifier using two space indentation and use a code pasting service such as PasteBin:

jsBeautifier
http://jsbeautifier.org/

PasteBin 
https://pastebin.com/

If you ever post code (including formulas) directly in the forum please format it using the pre icon in the toolbar.



This makes is much easier for our robot to scrape formulas and automatically enter them into our Formula Corpus.