Skip to main content
Solved

WHAT HAPPENS AFTER A RECORD IS SAVED

  • April 25, 2024
  • 0 replies
  • 237 views

Forum|alt.badge.img+2

Where can I update where someone is directed to after a record is saved?

 

Here’s my scenario.

 

I have a table called Recipes. I have another table called Comments. They are connected in the app with a table to table relationship where Recipes is the Parent Table.

 

In the form for the recipes, I have a button to “Add Comment”. If a user goes to a recipe record, then clicks the button to add comment.  Then they fill out the Comment form and save, they get this:

 

 

 

How do I update settings someone to tell QB to redirect them back to the home page?

Best answer by MonicaBridges

I figured it out!

The Add Comment URL field that had been created when I set up the table to table relationship had somehow been deleted. Once I went into the T2T relationship, I had a button available that said Create "Add Comment". Once I did that and I deleted the old button field and replaced it on my form, all worked well. 

Strange!

This topic has been closed for replies.

Forum|alt.badge.img+20
  • Registered
  • April 25, 2024

Can you post your current code? That will help troubleshoot. Based off the error message, your code is trying to redirect, but some part of the URL redirect is wrong. Typically the Record ID is wrong, but sometimes it is as simple as a small typo in the URL.