Business Object WEBI report splitting into multiple pages (not tabs) - business-objects

I'm trying to create a WEBI report. The specs are a little tricky to figure out, hopefully one of ya'll help me get this resolved.
I have data that looks similar to this:
Name Port Amount
Apple APL 100
Google GOOG 500
Apple APL 50
Netflix NFLX 500
Netflix NFLX 100
What I am trying to do in my WEBI report is to have a separate PAGE (not tab) for each specific Port.
User would open report and see all the data on Page 1 with APL like so...
Name Port Amount
Apple APL 100
Apple APL 50
Total 150
Now user would click
And this would take him to Page 2, showing the same breakout for GOOG, and Page 3 would have a breakout for NFLX.
How am I able to accomplish something like this?

I see two possibilities. You could create a break on Port and then in the Manage Breaks pop-up box check the "Start on a new page" checkbox.
You could also set your Port as a section and then in the Format Section pop-up box check the "Start on a new page" checkbox.
I generally use breaks more than sections, but either one should work for you.

Related

Working with 2 apps in PhpStorm not lose current session options

In PhpStorm 2019.2.3 I work with 2 #vue/cli and Laravel 6 Backend REST API applications
and have to switch from one app to another. Can I set hot keys for selecting another app
or automate it in someway?
Also I lose some current session options , like current Search Scope/find options in top left
and I would like to avoid it and keep them...
If there is a way ?
Thanks!

Microsoft Access 2013 - Windows 10 - PopUp Window disappears

we are using Microsfot Access 2013 on Windows 10 system and when we open the application to run a query which outputs data to a table, the button which creates the popup form / window to enter the date range somehow just disappears.
Other systems using the same tool do not have this problem, and the tool was working just fine yesterday.
Any one have an ideas?
If the database was used on a multi-monitor setup it's possible the forms position has been stored "off screen".
Open the pop up in design view (It should appear!), and set AutoCentre property to true, and resave the pop up. It then should always appear in the middle of the current screen.

storage inspector firefox local storage edit JSON error

I am working with an online game that allows editing of its code for testers and / or customers who want to mess around on a private level. The game is called Choice of Game: Rebels Uprising. It is a text based game where you build a character and the story/character change based on your decisions. I am trying to test different things and I am having trouble editing the stats which would allow me to easily control testing different options of play. I got this method from their approved forums and have used it on multiple games. However this one has been very tricky and refuses to work.
Once I open Storage Inspector, I normally can go right to local storage and select the data to change, and then refresh the page to enter the changes.
For this game, I have to go to session storage, select the only option there, then go back to local storage which then reveals the data I wish to change. Otherwise it is invisible. The following pops up and what I would like to change:
{"version":"12169","stats":{"fname":"Balin","lname":"de Brackii","orig_lname":"de Brackii","epithet":"","liebreaker":false,"openhanded":false,"eclect":false,"slur":"","shameveined":false,"filthborn":false,"childkiller":false,"alias":"","crest":"Great Elder Tree","wisard":"Theurge","wisardry":"Theurgy","wisardric":"Theurgic","aristo":true,"helot":false,"female":false,"male":true,"femalepref":true,"malepref":false,"acepref":false,"aropref":false,"kuria":"Captain","milady":"Captain","he":"he","him":"him","his":"his","hers":"his","woman":"man","girl":"boy","sister":"brother","daughter":"son","ruth":32,"skep":24,"natl":46,"ruthreal":32,"skepreal":24,"natlreal":54,"cha":"1","com":"0","int":"2","wealth":35,"loot":"0","followers":336,"kids":178,"nonkids":158,"dead":"0","kidsdead":"0","sa_foll":"12","sc_foll":"21","needfood":88,"foodstore":10,"mules":"4","sickmules":0,"freemules":4,"arms":10,"blood":4,"usedblood":"0","theurgy":"1","theu_spread":"0","theuknown":"0","religion":"0","literate":"10"
I tested by simply editing mules and freemules from 4 to 34. I then tried exiting tab and reopening and it, as well as just refreshing the page and both times I get this error:
JSON.parse: end of data after property value in object at line 1 column 1003 of the JSON data
I have even tried editing the temp one as well before closing/refreshing and this did the same thing.
Ideally, I would like to be able to change the wealth, the mules, the arms, and data like that. Please advise on how to correct/avoid this error. Thank you!
https://www.choiceofgames.com/rebels/#utm_medium=web&utm_source=ourgames

How do I get the contents of my webbrowser-control to be visible in my MS Access report when printed?

Un-answered duplicate here: MsAccess Webbrowser Control on a Report not working
Hello all. I have been unsuccessful in my attempts to do the following:
To make the contents (in this example, a static google map using the api) of my web-browser control visible when my MS Access 2010 report is in print preview and when I export it as a pdf.
For my working example, I have the following three objects in my Access 2010 database:
1) a table - called "tbl_Locations" (which contains location data on three sites)
The table is as follows:
LocationID | Location_Name | Address | Zip |
1 Site A 162 East 33rd street 10016
2 Site B 550 1st Avenue 10016
3 Site C 151 West 26th Street 10001
2) a form - called "frm_Locations"(the control source of this form is 'tbl_Locations'). Notably, this is the form that contains the webbrowser-control object (where a static google maps is generated from the data in "tbl_Locations").
Form in Design View:
Form in Form View:
3) a report - called "rpt_Locations" (where I have embedded the 'frm_Locations' object)
Report in 'Report' View
Report in 'Print Preview'
If you clicked on the picture links above, you could see that the webbrowser-control, and its contents, are visible in the 'Form' view for 'frm_Locations', and 'Report' view for 'rpt_Locations'.
However, this is not the case in the 'Print Preview' view of the 'rpt_Locations'. Additionally, I am unable to see the webbrowser-control, or the static google map within it, when I export the report object as a pdf.
I would like to know why this happens, and if there is a VBA solution I can use to ameliorate this.
Static Maps API seems to return a jpg of a Google Map from a URL
https://developers.google.com/maps/documentation/staticmaps/
Then you could load the jpg in your browser or embed the jpg in your report and presumably that would appear in you pdf.
Just like this url
https://maps.googleapis.com/maps/api/staticmap?center=40.714728,-73.998672&zoom=12&size=400x400
provides this map
From what I've read on the web, I'm not sure that it is possible to do this.
I've found a couple of posts which imply hope, but neither indicates concrete success. These are here and here
Alternatively, if instead of trying to do it all from access, you create the pdf first, then you may be able to embed the link you require afterward as shown here

First page of MS Access Report does not seem to call On Page Event

I have coded a MS Access 2000 report that displays a calendar with one month per page and projects added to particular days. The only data in the underlying record source is a list of months. The structure is created via the On Page event, which also reads in other data.
When this report is opened, I've noticed that the On Page event does not seem to be triggered for the first page. (I attribute this to the fact that On Page in reports is activated when a page is cached rather than when a page is displayed, such as On Current for Access forms.)
When the report is displayed my work around is to use the On Activate event to force the On Page subroutine to run even though that event has not been called. However when the report is exported it does not trigger the On Activate event and the first page of the export is in one of two formats:
1) if the report was open in Access (ie On Activate had been triggered previously) the first page is identical to either the page after the one being displayed or the last page, except with the correct month (which comes from the underlying record source)
2) if the report was not open in Access the first page contains just the structure within the report design view (ie lots of empty boxes)
My best workaround is to force a (otherwise pointless) cover page to ensure the first page contains nothing that needs code to run, but this is far from ideal. Can I force the code to run for the first page of an export? Or maybe I'm misunderstanding how On Page works and I need to restructure my code? (I've also noticed that On Page seems to run twice for the last page).
I would recommend restructuring your code so that you build your data in one query, multiple queries, or in VBA, and then open the report with the new datasource. I might still have Access 2000 at home to check, but at work I can test both 2003 and 2007, and in both versions, the OnPage event fired before each page was displayed. If you are experiencing different behavior, I suspect it's because Access isn't sure how to handle what you are asking it to do.
Typically a report like the one you are describing would be designed the other way around: the datasource for the report would contain all the project information. Is there something about the data you're trying to display that prevents you from building a query that would contain all of it?
Have you considered the Format event for the various sections, especially the Detail section? Format or Print are a more usual events for manipulating reports.