Oracle Apex 5 Rows for page - oracle

Hy guys i have just start to develop with Apex 5 i have this problem.
In this page, i have 15 rows, and the other page i have 1 row, but if i press next page, i have this problem.
and i can't go in another page, and if i press ok or cancel the action is the same, the page doesn't refresh.
i print the setting for this page.
Sorry guys but i'm at the begging.

To me, it looks like you should first save changes you've made on this page - otherwise, if you proceed to the next page, those changes will be lost.
If you want to "skip" that warning, navigate to Page properties, scroll down to "Navigation" and turn off "Warn on unsaved changes".

Related

Oracle apex value of item is not up-to-date in button link builder when using redirect to another page

I have a value of a field on page 1 that I need to pass to page 2 (modal dialog).
The field is changed on page 1. and I can see it's got updated on the page and when I print its value in debug messages.
When I'm clicking the button, with the action "Redirect to Page in application", the value on page 2 is the initial value of the field, and not the updated one, is this a bug?
what can I do?
I don't want to use dynamic action or things like "prepare_url" because of many reasons.
Thanks.
That is not how a link works. What you are seeing is not a bug, it is expected behaviour. The link is rendered when the page is rendered and will have the item values at render time and a calculated checksum (depends on settings) based on those values. It will not pick up any changes.
The "traditional" way to do this is the following. Assumptions: Need to navigate from page 1 to page 2 and set P2_ITEM on page 2 to value of P1_ITEM on page 1.
Create button (let's say button name is MYBUTTON) of type "Submit Page"
Under "Processing", create a branch to page 2.
For "Page or URL" pick page 2 and set P2_ITEM to value P1_ITEM.
For "Process point" pick "After Submit"
Under "Server Side Condition", select "MYBUTTON" under "When Button Pressed".
Since this is a branch your page has been submitted and all the changes you made to P1_ITEM will be picked up. The fact that page 2 is modal does not affect this, APEX will take care of that for you.
As an alternative to Koen Lostries excellent explanation, in some cases it is also possible to have the target page load the item from the source page.
Ensure that the item is being pushed to the session, for example by using a dynamic action with the items to submit option, but do nothing else in this dynamic action.
Then, when page 2 opens, simply add a pre-header-process, that makes something like :P2_ITEM := :P1_ITEM;
In my experience this approach is easier than doing a redirect in a dynamic action, as there is no declarative option for that and you often need hand-written javascript to do that.

MS Access trying to link a record with a page tab

I've been searching for a few days and doing every word combination I can think of to try to find the answer to my issue. I'm hoping someone can help me.
Before I begin I'd also like to say I'm very new to Access and admittedly not great with it. I'm still learning so this could be a very easy fix or I may have messed up beyond belief.
The issue I'm having is I've setup several page tab on a form and entered all the information for my records. However I cannot get the page tabs to pull up the corresponding records. Instead I have to either search through the records which doesn't always work or I have to arrow to the right record after selecting the tab I want. I'd like it so that when I click the tab it brings up the proper record automatically. If someone can point out where I'm going wrong and how to fix it I would greatly appreciate it. See below for some pics of what I mean.
As you can see in the first image. The tab name "Auto PLUS" doesn't bring up the proper record. instead I have to manually change the record using the arrows at the bottom of the form (see the arrow at the bottom of the image) in order to change the record. I need the record and the tab to match. Any help would be so greatly appreciated.
Thanks in advance for any help!!
-Deke
Assuming your form is bound (if in design mode your fields do NOT say "Unbound" then your form is bound), you simply need to add some VBA code to each tab's OnClick event.
Enter design mode and select the first tab "Claims Other". Open the properties pane, click the event tab, and click the ellipsis at the end of the OnClick line. When prompted, select "Code Builder" and it should launch the Visual Basic Editor.
It will put your cursor automatically in the correct position. Copy/Paste:
DoCmd.GoToRecord acDataForm, Form1, acGoTo, 1
The 1 should correspond to "Claims Other's" proper record in your table. Use the row number, not the ID number to determine what it should be.
Go back to Form View and click on the "Claims Other's" tab. The data should show the corresponding record in your table.
Repeat the steps of adding events to each tab, finding the relevant record in your table, and replacing the 1 from the above code.

How to clear all selections in PowerBI?

In Qlikview we have clear all option to clear all the selections, what is the similar option in PowerBI?
Even Refreshing the report(using Refresh button in Home) doesn't work.
I read somewhere that refreshing the browser(in case of web) can clear all selections and restore the previous stage but it's not a feasible solution. Is there any alternate of it ?
This can be accomplished by doing the following:
Create a bookmark with your default slicer selections
Ensure that "Display" is unchecked on the bookmark options
Upload an image that will serve as your refresh/clear-all button
Link the image to the book mark
Voila! Clear-all achieved
There is no one-click button that will clear all slicer selections on an existing report.
As you've indicated in your question, you can do a browser refresh and the report will be reset back to its default state. You can also click away from the report and go back in, and the report will be reset back to its default state.
The "Refresh" button at the top of the report gets the latest data but does not reset the report back to its default state. Switching tabs within the report also does not reset the report back to its default state.
While this isn't the answer you want to hear, there are a couple of ideas I'd encourage you to comment & vote upon. I know Microsoft do pay close attention to submitted ideas:
Clear All Slicers
Add Clear All Filters button to Power View**
** While the idea specifically mentions Power View, it's clear from the comments that the same request applies to Power BI, the successor to Power View.

Maintain Scroll Position BETWEEN TWO PAGES ASP.NET

I want to maintain the Scroll Position between two pages. I have a Page A which has many reports, when user clicks a report, user will be redirected to Page B where the report will be opened to make the changes. After submitting changes, user will be redirected to Page A. Here the problem is, showing the top of the page but I want to show the page at the previous position.
I have tried using this.MaintainScrollPositionOnPostBack = true; but this is working only on the same page but not between the different pages.
I really need to fix this, please give me your thoughts...
The simplest thing to do is probably give every link/report on page A an anchor.
So, for each report you would hide an id attribute somewhere - say the title, so it would be something like <h3 id="report42">Report 42</h3>. Then when you go back from page B, instead of going to www.example.com/pageA.html, you go to www.example.com/pageA.html#report42. This will open the page with the scrollbar at wherever the report42 id is found.

Link one page to another in oracle apex

this is supposed to be simple
i have two pages A and B what i want to do is add a button (a hyperlink or image will do) in page A that when clicked go to page B
how can i do that ?
thanks
If you don't want a button, simply use a html href to f?p=&APP_ID.:<your page number to link to>:&SESSION.
Go to page 2! takes you to your page number 2...
There are many ways. Perhaps the simplest is to create an Apex button using the Create Button wizard. Follow the instructions and when you get to the "Action When Clicked" page, choose "Redirect to Page in this Application" as the Action and enter the Page number you want to go to when the button is clicked. You can also enter other details such as Request, Clear Cache, Set These Items.

Resources