Manual Subreport Variable Counter Issue on Following Page
I have a subreport that has a manual counter in it which counts records if certain criteria is met. I designed the sbrpt field values to display inline with the respective lines in the main report. I accomplished this by placing the sbrpt in the group footer section directly above the main report group footer section and setting the "underlay following sections" format.
Like this...
Grp Footer 2a - Subreport record (underlay format set)
Grp Footer 2b - Mainreport record
The subreport counter works fine until the first record appears on the next page. Then it seems to count twice, e.g. Page 1 counts 3 records; the very next record at the top of page 2 counts as 5 instead of 4. This issue only occurs when the first record at the top of the next page contains data that fits the criteria.
Any ideas out there? I'd be glad to offer more detail if necessary.
Thanks,
GP Michal
Thanks, Zack.
I've already thought of that and am trying to resolve the issue based on that concept. There is a complication, though. The subreport field values may show more than one record per upper group so I really have to keep the underlay format.
Grp H1
Grp H2
Detail (supressed)
Grp F2 - 1st occurence
Record 1 Counter =1
Record 2 Counter = 2
Grp F2 - 2nd occurence
Record 1 Counter = 3
Grp F2 - 3rd occurence (etc....)
Grp F1
So...the only way I can think to pas the counter varible to the main report is if I pass a sum of the count per Grp 2. Does that make sense?
Gary
Similar Messages
-
Record Count Issue in Search page ?
Hi Friends
I am trying to display record count on Search page and I have the following code in
The table has total of 62 Rows
AM : for testing purpose, i am printing in log
public void getISAGRecordCount()
OAViewObject vo = (OAViewObject)getXXG2_ELIM_ISAGSView1(); //getXXG2ISAGSearchVO1();
int fetchedRowCount = 0;
vo.setMaxFetchSize(-1);
vo.executeQuery();
fetchedRowCount = vo.getRowCount();
System.out.println("RowCount: "+ fetchedRowCount);
IN PFR of CO: I am calling by this way
am.invokeMethod("getISAGRecordCount");
the Issue is
for the first time, when i search Based on search criteria, I know it should dispaly 10 records but in the Log file i see the total Record Count of the Table Ex; 62
When i do the serach for the second time, based on search criteria, I know it should display 20 records, but the log file has 10 records ( previous search results)
If I do the search for 3rd time, I see 2nd search results in log
Any help in this issue, how to fix this?
Thanks
RaviHi,
Please donot use getRowCount(), use getFetchedRowCount() and remove setMaxFetchSize(-1).
Hope it will resolve your issue.
Just for understanding of the concept:
getFetchedRowCount() returns the number of rows cached in the view object -- including programmatically inserted rows.
The getRowCount() implicitly execute a query against the database (if a query has not been executed yet)
Regards,
Reetesh Sharma -
Count issue for Duplicate values
Business Objects Infoview XI Web Intelligence Doc
I am trying to find out users who have more than 1 monitor and display the count sperately on the report
Result object:- (these are all fields of the monitor table)
Serial number (monitor)
CI ID (staff number)
Instance ID (database unique ID)
Instance ID is the database instance which is unique, CI ID is the staff number of the user
I have created a variable, qualification as u201Cmeasureu201D The variable is constructed as followed
=Count([CI ID]) Where([Instance ID] >"1")
If I add the as a column to the CI ID column it gives me the number of instances for that file number which is what I want to see. I can then filter this to get show staff numbers that have 2 Monitors. Even though I filter the operand type value(s) for list is greyed out
The issue is I want a total count of the users that have 2 monitors but if I put the CI object on its own it gives me the total number of instances in table rather than giving me a total count of users that have 2 monitors
How do I get the total count of users with more than 1 monitor?Please create two web intelligence variables:
The first one with the name LocalCount and the following formula:
=If (Count([[Instance ID]];Distinct) In ([[CI ID]]) >= 2) Then 1 Else 0
The second one will be the total number of users having more that one monitor. Let's name this TotalUsersMultipleMonitors
=sum([[LocalCount]]) In Report
Display the second variable ( ie. TotalUsersMultipleMonitors ) in a standalone cell.
Regards,
Stratos -
Getting Page Count for a Multi-Page PDF file using Illustrator script?
Does anyone know how to get the page count of a multi page PDF file? I know you can then open each page using the PDFFileOptions (pagetoopen). But I need to know up front how many pages there are to loop thru to open each page and process each page.
Any Ideas?This script i did for photoshop:
OK so lets do it working on WIN and MAC without any shell script.
This solution is not the best but its working.
I used Try catch to solve it.
Only issue is that you should at least somehow know how many pages you expect in pdf.. this mean if you are working with books or flyers...
Then set the maxPagesCount to that number.
I am working with pdfs with max 20pages.. so i start open the 20 then 19 then 18 and when i am success i know the amount of pages.
Its not the quicker way but its usable.
var maxPagesCount = 20;
var actPagesCount = maxPagesCount;
var opts1 = new PDFOpenOptions();
opts1.usePageNumber = true;
opts1.antiAlias = true;
opts1.bitsPerChannel = BitsPerChannelType.EIGHT;
opts1.resolution = 10; //it will load faster the test page
opts1.suppressWarnings = true;
opts1.cropPage = CropToType.MEDIABOX;
myFunction = function () {
try {
app.displayDialogs = DialogModes.NO;
var fileList = openDialog();
for (i = 0; i < fileList.length; i++) {
actPagesCount = maxPagesCount;
getPagesCount(fileList[i],maxPagesCount);
alert(actPagesCount);
} catch (exception) {
alert(exception);
getPagesCount = function (checkFile, lastPageID) {
try {
for (var checkPage = lastPageID; checkPage > 0; checkPage--) {
opts1.page = checkPage;
var docRef = open(checkFile, opts1, false);
docRef.close(SaveOptions.DONOTSAVECHANGES);
actPagesCount = lastPageID;
return;
checkPage=0;
} catch (exception) {
// Look for next page
checkPage--;
getPagesCount(checkFile,checkPage); -
How Can I Increment a Counter on a Master Page?
I am working on a very complex form and have hit the proverbial wall. I have uploaded the file to the URL below and am seeking assistance in finalizing the form.
Here is the URL for the file. https://workspaces.acrobat.com/?d=66B5k8981-WUNHJB1epZXg
There are three challenges that remain. When I click on the "Click to Add Service Location" button on the bottom of page 2:
I need to add an instance of "Service_Location_Page" on the following page. Currently, it is adding it prior to the page I just completed.
I need the value of "Service_Address_Type" on page 2 to change from the default value of "Primary" to "Secondary" on the new instance of "Service_Location_Page" and all subsequent instances.
I need the "Service_Locaton" counter at the top of page 2 to increment by +1 for each new instance of "Service_Location_Page".
Any suggestions for refinements will be greatly appreciated.
Anokie1Hi,
I don't see a problem with the first point in your request.
For the second and third on you only need to add one script to the indexChange event of "Service_Location_Page".
Provider_Data_Intake_Form.Service_Location_Page::indexChange - (FormCalc, client)
if ($.index > 0) then
Service_Locations.Service_Location.Service_Location_Header.Service_Address_Type = "Secondary"
else
Service_Locations.Service_Location.Service_Location_Header.Service_Address_Type = "Primary"
endif
Service_Locations.Service_Location.Service_Location_Header.Service_Location = $.index + 1 -
How to count components on a page ?
Hi,
I�d like to count components on a page How to do this ?
something like controls or controlcount in Delphi.
Regards
Marlos RodriguesHi,
I want to have a way to get all the components on a page to set them all as disabled.
Now, I am trying to use the method getChildren() to do that, but is still not working. The code I am using is the follow above:
java.util.List obj = this.form1.getChildren();
but the resulting List from that code, stored at obj, returns a obj.count() == 0.
Also, after retrieving the resulting List, how can I use the properties of the objects taken? Because getChildren() returns an object of a type Object, and the methods are so limited.
Could someone help me with this? -
I have been having trouble viewing pages in multiple browsers since last night. It has done this with me before. I am using an Acer Aspire and also Firefox version 23. I've tried looking online and following suggestions such as clearing the cache, retarting in safe mode, etc. Nothing seems to work. It's only on certain pages. For example- Facebook works and displays fine. It's when I go to websites like Amazon, Wix, Ebay, and others that I get the issue. The pages are displaying with a white background and just text/links and basic images. I've checked the page style and it is on Basic Page Style. Here is what I have:
http://i45.photobucket.com/albums/f78/DovesPaintedJewel/screen2.png
http://i45.photobucket.com/albums/f78/DovesPaintedJewel/screen1-1.pngStart Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Firefox/Tools > Add-ons > Appearance).
*Do NOT click the Reset button on the Safe Mode start window.
*https://support.mozilla.org/kb/Safe+Mode
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes -
Read a file with a variable=counter : NAMEFILE001,NAMEFILE002..
Hello,
I would need your councils.
I can read a logical file on my server(logical example of name: NAMEFILE) with function FILE_GET_NAME.
But I would like to be able to read a file with a counter i.e.
the first time: to read NAMEFILE001;
the second time read NAMEFILE002;
the third time read NAMEFILER003...
How made you that?
With function FILENAME_EXIT _?
But, where do I put the variable = counter? In a table...?
Thank you in advance of your answer
ServaneHi Servane,
You could also do the following:
in transaction FILE you set up the physical path name as follows:
/<i>path</i>/.../<FILENAME><PARAM_1>
then you call the function FILE_GET_NAME:
CALL FUNCTION 'FILE_GET_NAME'
EXPORTING
LOGICAL_FILENAME = W_LOGICAL_FILENAME
PARAMETER_1 = W_FILENUMBER
IMPORTING
FILE_NAME = THEFILE
EXCEPTIONS
FILE_NOT_FOUND = 1
OTHERS = 2.
This will equally construct the name/counter as you wish.
AND, if I am not wrong, since the system does it, you will not have to worry about putting the last counter value away in the DB.
cheers,
Phil
Message was edited by: Phillip Morgan -
Automaticly drag lonely scene headings to the following page.
Hi,
I really really need Sdobe Script to be able to automaticly drag lonely scene headings to the following page.
This is VERY significant error in the Adobe Script... at least I cant find any option to enable it...
Manually addind (ctrl+enter) empty rows is not a real solution... imagine having a 120 page script and you have to make
a one word change in page 3 and this adds one row... then you would have to scroll through every single page break again
to check for LONELY SCENE HEADINGS. They simply cannot exist in the end of the page alone as they now do!
It is an absolute must to have an option to enable AUTOMATIC DRAG OF LONELY SCENE HEADING to next page.
PLEASE!
Otherwise thank you for really nice application. Sometimes both the desktop and browser versions "jam" and start to
function reaaaaaaly slow. I'll try to find out when this happens and post more info later.Thanks,
I checked the option "start new page" for Scene headings but its not quite what I meant. Now it starts a new page for every single scene heading.
The thing is I only want it to move the scene heading to the next page if/when it is left "alone" in the bottom of a page.
For example in the following situation I would want to have the Scene heading to jump on the next page. Because the action description or character name will not fit on the same (cuurent) page with it.
INT. ADOBE FORUM - DAY
------------------PAGE BREAK--------------------
An important question is being asked and the crowd waits in agony.
It seems that the lonely scene headings cannot jump to the next page
to join the action description. -
How doi print Any variable at the end of page in ALV report?
Hi,
Anyone can tell me that How do i print Any variable at the end of page in ALV report?
Exmale: at the ende of alv report i want to print total no of employee who has taken house loan or education loan.Hi,
Go through these links
Thread in sdn regarding FOOTER IN ALV
[ALV FOOTER;
Wiki in sdn regarding HEADER AND FOOTER IN ALV
[https://wiki.sdn.sap.com/wiki/display/Snippets/ABAP%20Objects%20-%20ALV%20Model%20-%20Using%20Header%20and%20Footer]
Header and Footer in ALV
[http://www.sap-img.com/abap/test-alv-display-with-header-footer.htm]
Hope this helps.
Thank you,
Pavan. -
SAP QM Issues regarding follow-up action after Usage Decision
Dear Gurus -
Kindly need your expertise to resolve these issues regarding follow-up action.
1. After taking the UD i need to trigger the follow-up action to send an email with the long text to a group of people. As per standard SAP the email goes to the person taking the UD. Kindly can some one explain what & where do i need to make the changes. Also please let me know what is the customized Email ID table where mail ID's will be stored which fuction module can extract.
2. Can i also use the same functionality for partial lots during inprocess inspection. I need to send an email to a group in case the valuation is rejected for that operation.
Any response is highly appreciated.
Thank You.
Edited by: sunil t on Jan 6, 2010 7:03 PMHi
Please go through my recent thread
Incomming Inspection Auto mail if Rejected
Regards
Sujit -
How can I pass a variable value from first jsp page to thired jsp page
In my program ,threr are three jsp pages . I want the first pages's variable value in to thired page .How can I acess.
I used the request.getparameter() ,but when I print the value , null value is getting .request parameters only last for one request.
To save them longer than that you need to save them somewhere.
Couple of alternatives
1 - store them to session
session.setAttribute("username", request.getParameter("username");
2 - create a hidden field on page 2 and store the value from page 1 there. When you submit page2, you can get it on page3 with request.getParameter again.
<input type="hidden" name="username" value="<%= request.getParameter("username") %>"> -
Counter issues with 2D raster scan and count acquisitio​n
I am building a confocal laser scanning microscope and am currently attempting to develop labview controls for it. I have a fast steering mirror (FSM) which takes analog voltage inputs to control it's x and y angle and I have an avalanche photo diode (APD) which sends a TTL pulse for each photon detection event. For now, I am trying to create a program which will send out two analog signals to create a 2d raster scan with the FSM and count the number of pulses from the APD per pixel. I have been trying to make the program from https://decibel.ni.com/content/docs/DOC-5779 work, but I keep running into counter issues. I am using a generated pulse train from the other counter on my device (NI 6011E) as the period.term input, but I get a "Two consecutive input signals occurred without a counter timebase edge" error if I increase the frequency of the pulse train too high. Unfortunately, the number of pixels I can acquire seems to be limited to twice the frequency of the counter, so I cannot just use a lower frequency train. I believe that the error is occurring because the count rate from the APD is very low and that there are simply no photons hitting the detector in the time period between pulses.This is not a problem, but I would like to know how to simply record a 0 and continue with the scan, rather than have the entire program exit with an error.
Alternatively, if this does not seem like the correct way to accomplish what I am trying to do, I am open to new directions.So simply ignoring the error did not work, because the DAQmx subroutine stops collection when the error is detected. I think I may need to come up with a different approach to synchronize the counting of TTL pulses with an analog output. Attached below is the code I have been working with.
Attachments:
Raster_2DOutput_wCounter_82.vi 45 KB -
Some of the issues : '''1'''. Page loads blank showing web address in tab. Try reloading usually with no results.(problem have the most!) '''2'''. Message appears "problem loading page, server not found" (diff times & diff websites). '''3.''' Pg with msg "oops link broke, DNS error, server not found" then lists suggested links to sites for fix though all links connect to site IGEARED.COM. (new issue) I don't know what to do please help me identify and fix my issue(s) in english, kind of a newbie : ). thx
Try this.
Type in the address bar about:config.
Accept the warning.
In the page that appears, in the Filter box, type network.http.max-connections. Change the value to 32 (which is probably set to 256 in your case).
Close that page. Restart the browser. -
I was able finally to delete unwanted text boxes in my Pages document; howver, the result is that the 2nd page of my document is missing and there are now several following pages in a language that appears to be latin. What sin have I committed and how do I atone?
10 marks for recognising the Latin (sort of) that is the placeholder text in your template.
You are using a Word Processing template. WP templates have content flowing from page to page. As one page fills up, a new one is created. If some of that text is deleted or displaced the pages retract.
When you combine text, invisibles like word spaces, returns, tabs, page breaks etc with objects that have text wrap set, the mix can behave in an apparent odd fashion.
Start with showing where everything is:
Menu > View > Show Layout/Invisibles
Start with getting rid of any excess returns you may have used to "position" things. Next cut and paste objects like textboxes, shapes, charts and tables "Inline" ie in as part of the text. If necessary also turn off text wrap on objects or minimise it so that doesn't push text completely out of the way.
Insert Section breaks in the Text where you want fixed breaks in the layout these will provide separation between layout on different pages.
Basically you need to clean up your layout or think about doing it another way.
If there is a lot of layout, you will need to learn Pages methods for doing this in a WP template or do it in a Layout template where each page is individual and all objects are floating with no default text area.
Peter
Maybe you are looking for
-
Sending an email from Lotus Notes release 5.0.4a
I need to write java code for sending an email from Lotus Notes release 5.0.4a. Initially, I tried using Lotus Domino Toolkit for java, but the current release, "Lotus Domino ToolKit for Java/Corba release 5.0.8" is not compatible with the notes clie
-
Is it possible to connect a disk to an AirPort Extreme (802.11g)?
I've got one of the fly saucer shaped Airport base stations with a USB plug for a printer. I don't ever really print anything, so on a whim (after seeing some info about Airport Disks) I plugged in my firewire backup drive via the USB cable instead.
-
When Your question is NOT clear.
I will use this thread to refer to in other threads It is always helpful to provide the following: 1. Oracle version (SELECT * FROM V$VERSION) 2. Sample data in the form of CREATE / INSERT statements or with clause 3. Expected output 4. Explanation o
-
ITunes refuses to Sync Audiobooks! :( HALP PLS.
Hello, I posted this in the iPhone 4 section several days ago but got no response, so I'm hoping it'll get more attention in this sub-forum I've added an audiobook to my iTunes library and checked it off, but when I go to my iPhone 4's books section
-
Import/Export mailbox - what is included by default?
Hello! I think this is unclear in the documentation: Will a new export request export the complete mailbox by default? Included contacts, calendar, online archive? New-MailboxExportRequest -Mailbox Username -FilePath \\savelocation\username.pst Kthxb