Skip to main content
Question

Is there a way to update the previous record in same table?

  • December 15, 2018
  • 0 replies
  • 72 views

Hi everyone,

Is there a way to modify the previous record in the same table?

I want to modify some fields of the previous record whenever we create a new record.

Any idea?

Thanks,
Gaurav

Run an Automation triggered on new record creation that applies to max (max [rid]) -1 ?

  • Registered
  • December 19, 2018
Is max[rid] a valid function?  I'm trying to use it in a formula url field and it's not working.  Does it only work in Automations?

You will need to set up a dummy table called like Max Record ID of the XYZ table with one and only 1 record in it.  It will be Record 1.

Then make a relationship to your details table and make the reference field on the right side be a formula field which calculates to 1. The formula will be, well , 1.

Then do a summary maximum of the [Record ID#] field and look that up down to the details table.

  • Registered
  • December 20, 2018
Whew!  Thank you again!

  • Registered
  • December 20, 2018
So, that'll tell you how many records are in the table, but it won't give you the actual highest Record ID#, will it?  If records have been deleted along the way those two numbers won't line up.  Is that right?

:) when you do a summary field, you can select a field to Summarize and so you will select [Record ID#]  and then choose a type of summary of  "Maximum

  • Registered
  • December 20, 2018
Bingo!  Thank you!