Forum Discussion
Can you post the error message?
Is [Related Asset-mission] the correct field for the Related Parent Inventory Tracking? Is that the correct reference field for that relationship? It's a bit suspicious that you were using the same field to identify the record to be edited in both the inventory tracking table and the Maintenance report table.
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------
- BaileyDesormeau10 months agoQrew Member
This is the error:
my logic on using the same field could be wrong because I am new to these buttons! What I thought was happening in the formula is im editing the current form i am on, then i go to the inventory tracking table from the maintenance report table, and in order to get to the correct record i need to use the reference field from the child table (maintenance report table). Meaning the inventory tracking table has many maintenance reports, the reference field in maintenance reports is "Related Asset-Mission". Then in order to get back to the maintenance table, from the inventory tracking table I have to give that reference field again? I guess that doesn't seem right now that I write it out. Would i use the key field from the table im leaving? Sorry I am a bit confused about how the formula gets to each page and how it uses the record id and how you know which record id to use.
------------------------------
Bailey Desormeaux
------------------------------- BaileyDesormeau10 months agoQrew Member
Ok, i just realized the second part is working but i had the action as 1 not 0, i wanted the box to be unchecked. So the final part that is not working is simply getting back to the default report of the maintenance report table.
------------------------------
Bailey Desormeaux
------------------------------- MarkShnier__You10 months agoQrew Legend
Can you post your current formula. I gather then you want the last redirect to go to the table home page for the Maintenance Table.
so ...
var text URLTHREE = URLRoot() & "db/" & [_DBID_MAINTENANCE_REPORT] & "?a=td";
------------------------------
Mark Shnier (Your Quickbase Coach)
mark.shnier@gmail.com
------------------------------