One Table - Multiple Views
Posted: 2017-06-02 04:39
Good Evening!!
I have been racking my brain trying to figure out how to have 2 views attached to one table. I created my first table and named it, then I copied that table using the copy and paste function. So now I have 1 table named sendemail_arcrequest and sendemail_arcrequest_1. I went into the sendemail_arcrequest_1 and pointed the database on table sendemail_arcrequest (sendemail_arcrequest_1_view.php) and changed most of the other values to sendemail_arcrequest except the permissions line and the template lines. My problem is the two forms have different permissions, because two different groups of people are viewing the forms. I got the table to view in the main table for sendemail_arcrequest_1 , however when I click on the table view it opens to an empty page with the exception of the Header for the detail view. It will now populate the page in the detail view, nor the child table view at the bottom of the page. I have tried everything I can think of, but can't get the permissions to work properly. Do any of you have any ideas what I need to do, or is there already a post that I haven't seen, that you know of. Your help would be greatly appreciated. If you need any other details to help me, please let me know!
Many Thanks
Michael
I have been racking my brain trying to figure out how to have 2 views attached to one table. I created my first table and named it, then I copied that table using the copy and paste function. So now I have 1 table named sendemail_arcrequest and sendemail_arcrequest_1. I went into the sendemail_arcrequest_1 and pointed the database on table sendemail_arcrequest (sendemail_arcrequest_1_view.php) and changed most of the other values to sendemail_arcrequest except the permissions line and the template lines. My problem is the two forms have different permissions, because two different groups of people are viewing the forms. I got the table to view in the main table for sendemail_arcrequest_1 , however when I click on the table view it opens to an empty page with the exception of the Header for the detail view. It will now populate the page in the detail view, nor the child table view at the bottom of the page. I have tried everything I can think of, but can't get the permissions to work properly. Do any of you have any ideas what I need to do, or is there already a post that I haven't seen, that you know of. Your help would be greatly appreciated. If you need any other details to help me, please let me know!
Many Thanks
Michael