Forum Discussion
55 Replies
Sort By
- QuickBaseCoachDQrew CaptainThe problem is the the URLTWO
var text URLTWO = URLRoot() & "db/" & [_DBID_DAMAGE] & "?a=dr&rid=" & [Related Damage];
Stop and think about where is the user is when they push this button. They are sitting on a damage parts record. The record that you want to display is in the table above that which is called damage. The record ID that you want to display in the damage table is in fact the parent of the damage parts record. And that record ID is likely called [related damage]. - EvanFujikawaQrew CadetYes! That was the trick!!!
Now, instead of enabling the user to create multiple Grand Child Records (Root Cause) through the button, is there a way to disable the button from adding multiple records after an initial record has been created and possibly indicating on the button such as a color change to tell the user a record has been created? Essentially I just want the user to edit the original record through the button instead of creating new records.
Your help is greatly appreciated!! - QuickBaseCoachDQrew Captainno problem,
you can make a summary field of the [# of root causes] on he relationships between damage parts and root causes.
Then instead of where it says
$URLONE
& "&NextURL=" & URLEncode($URLTWO)
replace that with
IF([# Root Causes]=0,
$URLONE
& "&NextURL=" & URLEncode($URLTWO))
The button will be blank after the first one is added. - EvanFujikawaQrew CadetThis works great, but now the button disappears disabling any link to the created record. Is there a way to keep the link accessible in cases where the user needs to edit the record?
thanks!! - QuickBaseCoachDQrew CaptainI don't understand.
The purpose of the button was to add a new record, not to edit an existing record. If the user needs to edit the record they should just edit the record with the edit pencil icon. - EvanFujikawaQrew CadetI needed to create an add button because I want to limit the access to only a few tables. The user only has access to the "Root Cause" form through the parent form "Damage" which is accessible only through the add button.
- QuickBaseCoachDQrew CaptainWhy not have a child table of the root cause on the damage parts table?
- EvanFujikawaQrew CadetIf I create a child table (root cause) on the damage parts table, will this require me to show all the field criteria on the table or can I have a button that will link the user directly to the form for editing?
- QuickBaseCoachDQrew CaptainWhen you put th Report Link field type for the ROot Cases in the Damanage Parts form, you can specify that the child records ( just one record in your case) should appear directly on the form in a report. You may them create an unfiltered report to use to decide which columns (fields) of the rooot causes, you want to show to the users.
Users can then choose to either view the root because or edit it. - EvanFujikawaQrew CadetI do have several form rules setup on for my Root Cause form. Will these also work through a report link?