Button Edit record on another table

  • 0
  • 1
  • Question
  • Updated 3 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 3 years ago

  • 0
  • 1
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!
Everything is simple the 2nd time.  It's the 1st time that is tricky.