Forum Discussion

TomZ's avatar
TomZ
Qrew Cadet
9 years ago

Is there anyway to prevent grid edit report entries on a form in view mode but allow them in add and edit?

I have a parent form (projects) in which I have embedded a child report (requirements).  I want the child report to be a grid edit report us that users can quickly create and edit requirements directly in the parent form.  However, I do not want to allow grid editing of the child report when the parent form is in view mode as the added records are then orphaned and not associated to the parent.  I've tried a number of workarounds including required fields and not checking "Editable" in the field properties when the form is used for view but neither have produced a suitable solution.

Is there a way to display the appropriate records from the child report as read only or as an image in the field when in view mode? 

Any input is appreciated.

15 Replies

  • TomZ's avatar
    TomZ
    Qrew Cadet
    I initially went down the required field path but it was very cumbersome.  The solution with the dummy form and one editable field might be the best one available.
  • MCFNeil's avatar
    MCFNeil
    Qrew Captain
    Is your "report link" field from the relationship, or did you make it on your own?  Myabe check the target of that report link.  Or include the proxy field for the [related parent] in the embedded reports.
  • EricMohlman's avatar
    EricMohlman
    Quickbase Staff
    I apologize for not being clear in my explanation yesterday. To demonstrate, I put together an example application and made the Everyone on the Internet group an admin in this app so you can access the settings.

    If you view the parent record here: https://team.quickbase.com/db/bmk3z37je?a=dr&r=b you'll see an embedded report on the view form where the "Grid Edit" link is removed. To accomplish this, you need at least two forms on the child table: https://team.quickbase.com/db/bmk3z37jf?a=DFormList for the "Override role settings by report" option to appear. Expanding that section, you'll see that I selected "<Disable>" for the Embedded for Parents report. This specifically disallows that single report from utilizing Grid Edit, but any other table report has it as an option.
  • TomZ's avatar
    TomZ
    Qrew Cadet
    I was able to replicate this and as far as I can tell it's working as desired.  This has been extremely helpful.  Thanks again!