Oracle Apex - adding master - details relation on existing data - apex

I have master-detail report in Oracle Apex.
I can simply insert details for selected master by clicking 'Add row', but I have some rows in details without link to the master table.
I would like to create this relationship by clicking on my desired master, and now - for example - change behaviour of the 'Add row' button in details region - mayby some pop up windows with rows to select?
Is there any simple way to achieve this effect?

From what you are describing you have a master detail report that has an interactive grid as detail (there are a couple of different layouts). There is no "out of the box" solution for this, but you can easily create your own. Here is one option:
Create a second detail region where you allow the user to query the orphaned rows (maybe in an interactive report) with a link in each row that would fire a dynamic action which sets the master id for that clicked row.
It's possible to put the detail regions in tabs (using display selector or tab container region)

Related

Tableau - keeping a sheet static in dashboard

I have 4 sheets that are put up in the tableau dashboard.
Sheet 1: Total no. Of user IDs (population). Text
Sheet 2: total user ids based on selection in sheet 3 and sheet 4.
Sheet 3 & 4: Bar graph of user ids based on company and vendor. Both the sheets are "use as filter"
Sheet 1 has to be static in the dashboard whether we select any filter or when we select any bar on sheet 3 and 4.
Now the issue is when I select any bar on the sheet 3 and 4 both sheet 1 and 2 shows same count.
I have removed all filters from population sheet.
I tried to even ignore action in sheet1, it's still not working
What I want now is what ever the selection is , sheet 1 in the dashboard should be static. Please help.
Regards, Sajan
Try this;
Check the filters on all the sheets to see if they are set to filter the Data Source, set them, to your preferences.
If you can (watch out for sensitive data) upload your sheet to Tableau public, it'll be easier to find your bottleneck.
What's happening is called an automatically generated action. When you click "use as filter" on a sheet on your dashboard, you're creating an action that affects all other items on that dashboard. Go to the Dashboard, then click on the dashboard menu at the top of the screen, then click "Actions..."
You should see the filter that you created there. Select the action, then click "edit".
You should now see something similar to the below picture. What you need to do for each action (you should have two, one from each sheet that is being used as a filter) is uncheck the static sheet on the list of Target Sheets on the bottom half of the Edit Filter Action dialogue box.
This will prevent anything happening to the static sheet (in this case, "Count of Employee Transactions") when you click on the sheets being used as filters.

Tableau Action Filters

I have three sheets in Tableau. Sheet1 is a master sheet on which I want to make filtering. My idea is that if user will click on the value there, data with additional info for corresponding account will show up.
I have created two Action filters - one connecting Sheet1 to Sheet2 and the second one to connect Sheet1 to Sheet3. This approach works - when I click on the value in my master sheet, Tableau jumps to Sheet2 where I see the data for this account, also, when I manually go to Sheet3 data there is correctly filtered as well.
The problem starts when I create a Dashboard consisting of those three sheets. I want users to be able to click on the value in master sheet and see additional info from other two sheets in one view. For some reason, when add all three sheets into the Dash, only Sheet2 responds to clicks from Sheet1. Sheet3 remains unchanged.
Do you know what could be the reason that this stops working when all sheets are in the same Dashboard and works otherwise?
Thank you!
Are you using the same fields to filter across the views? If yes, you can add one dashboard action to filter from Sheet 1 to Sheet 2 & Sheet 3.
FYI...dashboard actions are different that worksheet actions. Make sure you add the actions on the dashboard using: Dashboard -> Actions.

How do I create a subform that shows query results of a search on the parent form?

I'm quite new to MS Access but understand basic dvl concepts. I have a form (SalesOrder) where I can create sales order info. Creating a new sales order populates more than one table.
I'd like to have a two search buttons on the bottom of the form that will display the results of a query (search by customer name or order id). The results of the query need to be displayed in a subform, and once I click on the selected row, it should populate the master form fields with read-only data (i'll have an edit button to change to writable).
Do I simply link a query to the subform? If so, how do I do that? and how do get the event in the main form (the search button click event) to trigger action in the subform?
thanks in advance.
jeff

Jasper reports Parameter Form

Im pretty new to JasperReport Server. I have had success using JasperReport Sever 4.7(Community edition) and calling jasper reports (using jasperviewer)from within a java application.
My problem is:
1. To create my own parameter form which pops up when a user clicks a button linking to a jasper report.
User to be able to enters the desired parameters (preferably selectable from a list) then when the user presses enter or ok on this page, it passes the values to the jasper report accordingly.
Any assistance would be highly appreciated.
For the first, when you create your report and save in your Jasper repository -
Just right-clik the report folder (the one containing your Main.jrxml) and click on Properties. A dialog box appears.
Go to Other tab. Next to Controls Layout label there will be a drop-down box. Select Pop-up Screen on that. Your job is done.
For the second, you can definitely have a select list. There are two ways to generate values for the list - by using a query or entering manually. The steps are:
In your report folder in the repository, under your main.jrxml file there will be an Input Controls folder. Right click on it and click on Create a local input control. A dialog box will appear.
On the General tab give the ID and name for the input control (ID must match to your respective parameter name).
Go to Input Control Details tab. Select type as "Single Select Query" or "Single Select List of Values" as per your requirements. Enter the query or values and your job is done.

Restore "Continuous" form behavior in MS Access after subform is added

I created an Organization form in Access 2007 that could be used to display any record in the Organization table by clicking the navigation buttons that appear at the bottom of the form when it is in "Form View". Next, I created a subform within the Organization form to display records from another table that have a foreign key from the Organization table.
Now the "Default View" property of the Organization form has been automatically set to "Single Form" and when I try to set it to "Continuous Forms" I get the following message:
You can't view a form as a continuous form if it contains a subform, an ActiveX control, or a bound chart.
Set the DefaultView property of the form to Single Form, Datasheet,
PivotTable, or PivotChart.
Furthermore, I am unable to use the form to view any records other than the first record in the Organization table. How can display other records from the Organization table in my form using record IDs?
While investigating this problem, I discovered that Microsoft's own Northwind Traders Sample Database contains at least one form with subforms that exhibited the behavior I wanted, even in the "Single Form" view. This suggested that the subform was not the cause of the problem.
In trying to reproduce the affect accomplished in the sample database, I recreated my form and re-added elements too it one-by-one, testing the navigation at each step. I was able to view different records via the "Form View" navigation button until I added controls from a table other than Organization that weren't contained within a subform.
So there you have it; switching between a form's source records via the navigation controls in "Form View" does not work when the master form contains records from more than one table.