Button Edit record on another table

  • 0
  • 1
  • Question
  • Updated 2 years ago
  • Answered
I have tried copying various examples from other questions but I'm just a bit confused on the last part as I am not using recordid as the key field.

I am trying to edit the record with the [componentid] which matches the [componentid] on the parent table.  Currently it tries to go to the recordid which doesnt exist.

URLRoot() & "db/" & [_DBID_CPATTRIBUTES] & "?a=er&rid="&[ComponentId]


Any help appreciated.

 :)
Photo of Michael Graham | Insight Global UK

Posted 2 years ago

  • 0
  • 1
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,280 Points 50k badge 2x thumb
If the Key field is [ComponentId], then all you need to do is this



URLRoot() & "db/" & [_DBID_CPATTRIBUTES] & "?a=er&key="&[ComponentId]
jeez thanks again.  that was simple enough LOL!
Photo of QuickBaseCoach App Dev./Training

QuickBaseCoach App Dev./Training, Champion

  • 65,280 Points 50k badge 2x thumb
Everything is simple the 2nd time.  It's the 1st time that is tricky.