Repeating an item in details section in CR
How can I repeat an item(eg:Name) in page 2 of details page if the other item2 (eg:comments) spans over to page2.
This report has group headers. they are repeating. But I want to repeat the items in details page.
thanks
If you want to repeat in the next page. you can place a heading in the page header which will be repeated in all the corresponding pages.
Similar Messages
-
Blob dictates duplicate items in details section-based on supression
I was orginally having issues with my supression on this. I think I have it figured out. But..
I have parts that I request that sometimes have drawing with them. I created a table in Access with 3 columns - number, .bitmap., nameof drawing
I brought this table in. I place 1 drawing in the reports and this changes based upon the Paramter{drawing.id} that I have beeing selected. The problem is that I get duplicate fields produced in my details section. Now the blob sits in my report footer C. Can anyone suggest why or help with why my data is duplicating in my details section?
all items in my details section are duplicating
here is my sql if it helps:
max40385
SELECT "PR"."PRNUM", "COMPANIES"."NAME",
"COMPANIES"."ADDRESS1", "COMPANIES"."ADDRESS2",
"COMPANIES"."ADDRESS3", "COMPANIES"."ADDRESS4",
"COMPANIES"."PHONE", "COMPANIES"."FAX", "PR"."SHIPTOATTN",
"COMPANIES_1"."NAME", "COMPANIES_1"."ADDRESS1",
"COMPANIES_1"."ADDRESS2", "COMPANIES_1"."ADDRESS3",
"COMPANIES_1"."ADDRESS4", "PR"."ISSUEDATE", "PR"."CONTACT",
"PR"."REQUIREDDATE", "PRLINE"."ITEMNUM", "PRLINE"."ORDERUNIT",
"PRLINE"."ORDERQTY", "PRLINE"."DESCRIPTION",
"PRLINE"."UNITCOST", "PRLINE"."LINECOST",
"PRLINE"."PONUM", "LONGDESCRIPTION"."LDTEXT"
FROM "MAXIMO"."PR" "PR", "MAXIMO"."COMPANIES" "COMPANIES",
"MAXIMO"."COMPANIES" "COMPANIES_1", "MAXIMO"."PRLINE"
"PRLINE", "MAXIMO"."LONGDESCRIPTION" "LONGDESCRIPTION"
WHERE ("PR"."VENDOR"="COMPANIES"."COMPANY") AND ("PR"."SHIPTO"="COMPANIES_1"."COMPANY") AND ("PR"."PRNUM"="PRLINE"."PRNUM") AND ("PRLINE"."LDKEY"="LONGDESCRIPTION"."LDKEY" ) AND "PR"."PRNUM"='25334'
C:\Documents and Settings\kpowell\My Documents\Drawings.mdb
SELECT `Parts_Drawings`.`ID`
FROM `Parts Drawings` `Parts_Drawings`
Edit here-
Ok - I have 3 parameters
1- sets pr field ={?pr.num}
2.- mandatory answer determines a supress on fields(blob, and section blob is in) - supress statment is - {?yes/no}=no - for both areas
the parameter is {?yes/no}
3. sets up the blob to put into the document base upon a field in the table
that I made in access (based upon column 1 in acces table) - user makese selection based upon yes or no above if no then just leave it as ......
The wired thing is when I have multiple line items in my Pr (purchase request)
if I included a drawing there are no duplicate details
If I dont include the blob (meaning I supress it based upon the answer in my parameter - all items in the details section duplicate ( i suppress these if duplicated but it leaves huge gaps in my report.... any help would be great!
Ok i figured it out. In my access table i created the 1st entry and left the bitmap entry empty and put a descrition of not needed. I selected this as my drawing in my 3rd parameter and it satifies the report as thinking it has a drawing in it even though there is not. So all my duplicate line item in my details section disappear. thanks all
Edited by: max274 on Mar 27, 2009 4:21 PM
Edited by: max274 on Mar 27, 2009 4:29 PM
Edited by: max274 on Mar 27, 2009 6:29 PMI found the answer see my previous post in this.
-
Avoid repeating values in details section
Hi,
I have a report with a lot of formulas - depending on certain values in a certain Oracle database table values are summed up.
The fields are therefore placed in the report footer.
As I now have to insert a grouping I need to move the fields into the details section. However, I don't want to display each value there but only the sum - I would like to avoid repeating values in the details section.
A formula looks like this:
stringvar A1;
if {OUR_TABLE_FIELD} = 1 then A1 := {OTHER_TABLE.OTHER_FIELD}
Else A1:=A1;
A1;
Thanks!Add a suitable group and then display data in this group footer, suppress detail section. It will effectively show the last detail line and thus eliminate duplicates from view. However, data is still there so if you want to use summaries you will need to use Running totals to ensure duplicates are not counted/summed
Ian -
Shared Variable in DETAILS section reports value of previous item.
I have a report with a subreport in the details section. I have set up a shared variable in the subreport to pass a value to the main report. For some reason, the value of the variable for the first detail line item, shows up in the field for the second, the value for the second shows up in the third and this pattern repeats. How can I get the shared variable to display in the correct record?
It's because the data in the details line is evaluated/diplayed before the subreport executes.
Split the details into two sections and place SR in top one and display formula for var in lower one.
If there is data in the subreoprt you want on same line as the var then in section expert set the upper detail section to underlay.
Ian -
In detail section Static Text should not be repeat.
hi.
i need a small Requirement.
in detail section i put one field this is coming from data base.
beside i put one static text like something.
but something static text is repeating based on record set in detail section like
something value1
something value2
something value3
but i dont want to repeat something, only first line i need to put
like
something valu1
value2
value3
i dont want to put report section.
i need to put same line at detail section....there's a couple of ways to do this:
a) right click on the something field and choose Format Field > go to the Common tab and then select Suppress if duplicated
b) or you may wish to go to the Insert menu, choose Group, and then choose your field that contains the something. then you can right click on the Group Header name at the left of the report designer, choose Section Expert, and then choose Underlay Sections. -
Details section repeating same data
I have created a report using Crystal Reports 2008 that uses a group. The details section of the group is repeating the data 11 times when it should only print it out once, before moving on to the next group.
When I copy the SQL query out of Crystal into SQL server the query only returns the info once for each group so why is the report printing it out 11 times for each group?
How can I fix this.Check whether you have any joins between the tables. Also first try to place the fields from only one table and check when the values start repeating by placing the fields from each table.
Regards,
Raghavendra -
Repeated Header Row within a Details Section Only of a Group Ignores Tablix Member Properties
Ok. I have a situation where I have a details section of a group, and I am trying to get it to repeat the row headers on each page. It's not working. I've gone into Advanced Mode, and addressed the static Tablix Member for the left-most
field of the header row in question, set the properties for the Tablix Member to "RepeatOnNewPage: True" and "KeepWithGroup: After", and still, it refuses to repeat the row header for these details. I've tried rebuilding and
not deleting the column where the grouping was originally assigned (without deleting the grouping, of course), and assigned the properties for "RepeatOnNewPage" to that left-most, grouping field, yet I get the exact same results. I've looked
up solutions, and even spoken to the expert of experts, but no joy here. I'm using VS'10.OK. So it is fixed... sort of...
Apparently, you must select to add group headers repeated as you create the group (inc. child group), BESIDES changing in Advanced Mode, Tablix Member /Properties / etc. Then you have to format that extra column within your Tablix to
make it appear to 'disappear'. BUT EVEN THEN, there is a new problem:
The headers will repeat on the additional pages, but only to a point. For some odd reason, SSRS doesn't consistently render the repeated headers of the group details for
every page, just where it is a hard (page) break, as opposed to a soft (page) break. My gut tells me that this has nothing to do with the .xml code, but is an SSRS idiosyncrasy. -
Unrelated data in master detail sections of a custom BIP report deployed in R12 EBS
We have a custom Master Detail BIP report generated by calling XDO APIs from a custom Java concurrent program (common_report_attachment) . This Java concurrent program is called from another custom concurrent program (po_validation) that processes a batch of POs in a single concurrent request.
PO_Validation Program (processes a batch of POs per request) -> Java Concurrent Program -> BI Publisher Report APIs
BIP report generates data for master detail sections based on two sql queries (given below) that have 'where' clause based on a common external parameter "P_TRX_HDR_ID".
NOTE: No explicit data link is used NOR an output column of parent query is used in the where clause of detail query as bind parameter.
- <dataTemplate name="NAPPB2BPORPT" description="Data Template for B2B PO Report" version="1.0">
- <properties>
<property name="xml_tag_case" value="upper" />
<property name="db_fetch_size" value="200" />
<property name="scalable_mode" value="on" />
</properties>
- <parameters>
<parameter name="P_TRX_HDR_ID" dataType="number" />
</parameters>
- <dataQuery>
- <sqlStatement name="Q_PO_HDR">
- <![CDATA[
SELECT poh.po_number PO_NUMBER
, poh.quote_number QUOTE_NUMBER
---- other columns -----
FROM nappcust.napp_o2i_po_headers poh
,napp_aso_quote_headers_v naqv
WHERE 1=1
AND naqv.quote_number=poh.quote_number
AND poh.header_id = :P_TRX_HDR_ID
]]>
</sqlStatement>
- <sqlStatement name="Q_LINES">
- <![CDATA[
SELECT pol.item ITEM
, pol.partner_part_number PARTNER_PART_NUMBER
-- other columns --
FROM napp_o2i_po_lines pol
, napp_o2i_po_headers poh
, aso_quote_lines_all aqla
, mtl_system_items_b msib
WHERE 1=1
AND poh.header_id = pol.header_id
AND pol.header_id = :P_TRX_HDR_ID
AND aqla.quote_header_id = poh.QUOTE_HEADER_ID
AND msib.inventory_item_id = aqla.inventory_item_id
AND msib.organization_id = aqla.organization_id
AND (pol.quote_line_number = aqla.quote_line_id
OR pol.quote_line_number = aqla.quote_line_id||1)
]]>
-- Added for the defect 13954
</sqlStatement>
</dataQuery>
- <dataStructure>
- <group name="G_PO_HDR" source="Q_PO_HDR">
<element name="PO_NUMBER" value="PO_NUMBER" />
<element name="QUOTE_NUMBER" value="QUOTE_NUMBER" />
--- mappings for other columns of "Q_PO_HDR"
- <group name="G_LINES" source="Q_LINES">
<element name="ITEM" value="ITEM" />
<element name="PARTNER_PART_NUMBER" value="PARTNER_PART_NUMBER" />
--- mappings for other columns of "Q_LINES"
</group>
</group>
</dataStructure>
</dataTemplate>
Issue: Sometimes when the parent concurrent request runs for a batch with multiple POs the report generated for the last PO has inconsistent data in the master and detail sections. To elaborate, the detail section is having correct data pertaining to the PO identified by the parameter "P_TRX_HDR_ID". However, the master section is having data pertaining to the previous PO processed from the same batch.
This issue is not occurring consistently and is not reproducible at will. I
'm suspecting this could be because of not having data link between the queries but confirm from someone who has experienced this issue.
Regards,
Srinathis there any way from the page, can we pass the some values, which can identify the page level data?
if so pass the parameter to BIP report query. -
Master Detail Form - Update Statement for Column in the Detail Section
Hello,
I've posted a demo application to apex.oracle.com
Application# 49298
Application Name: Street_Inventory
Basically, on page 3 I have a Master Detail Form. In the Detail section, I want the value of On_hand to save to table ITEMS. Here's my code below.
SOURCE
select
"CONSUME_DETAIL"."CONSUME_DETAIL_ID",
"CONSUME_DETAIL"."CONSUME_HEADER_ID",
"CONSUME_DETAIL"."ITEM_ID",
"CONSUME_DETAIL"."CONSUMED_QUANTITY",
("ITEMS"."ON_HAND" - "CONSUME_DETAIL"."CONSUMED_QUANTITY") as "ON_HAND"
from "CONSUME_DETAIL",
"ITEMS"
where "CONSUME_HEADER_ID" = :P3_CONSUME_HEADER_ID
and "CONSUME_DETAIL"."ITEM_ID"="ITEMS"."ITEM_ID"
UPDATE INVENTORY PROCESS
UPDATE ITEMS
SET ON_HAND = :P3_ON_HAND - :P3_CONSUMED_QUANTITY
WHERE ITEM_ID = (select ITEM_ID
from CONSUME_DETAIL
where CONSUME_DETAIL_ID = :P3_CONSUME_DETAIL_ID);
My code isn't working. What am I doing wrong?WReed,
The first thing I see "off the bat" is that you don't have items named P3_ON_HAND and P3_CONSUMED_QUANTITY which are referenced in your code. Although it's possible to do what you want with just SQL, I updated your code with a little PL/SQL to make it easier to understand...
As you'll see the problem now is that the design/db model is not quite right as your getting a too many rows error.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen -
Fill the blank detail section with dates
Hello,
I'm using Crystal reports X1. I have group by "Ticket Number". In the detail section of the ticket number I have a field that stores a date called "SevDate"
This is how it looks like
Ticket Number SevDate
IM44-0023546
IM44-0023546 03/20/2010
IM44-0023546
IM44-0023546
IM44-0023546
What I'm trying to do is get this date repeated or filled in the next detail section of the Ticket Number.
so, basically I'm trying to see the report like this and this should be in a date format so I can do some other calculation.
Ticket Number SevDate
IM44-0023546
IM44-0023546 03/20/2010
IM44-0023546 03/20/2010
IM44-0023546 03/20/2010
IM44-0023546 03/20/2010
How can I achieve this task? Please assist...
Thank you
AngelLet me count the ways...
1) If you want the same date for all records for a given ticket number (which actually is not what's shown), then you could group on ticket number and use Maximum(, ) as the field displayed.
2) If you want the last non-null SevDate (apparently), you could use a formula like (basic syntax):
global sevDate as date
if Not isNull({SevDate}) then
sevDate = {SevDate}
end if
formula = sevDate
3) You could change the generation of the data set (use an SQL Command) to return the date you want in each record.
Which one to use will depend on your requirements...
HTH,
Carl -
Make details section as page header
Hi ,
I have a situation where I use the sections--- Details A, Details B and Details C. I used a Fake group header as page header for Details A. How could I make Details B section as a page header (for Details C section)without repeating on the same page and repeating once on each page.
Any help please..
Thanks.Create a formula like this
@Initialize
WhilePrintingRecords;
numberVar i:=0;
place this in page header and right click on the detail section b and go to section expert and write the condition for the suppress like this
WhilePrintingRecords;
numberVar i;
i:=i+1;
if i<>1 then true
else
false
Regards,
Raghavendra -
Report - Centre a subreport in the detail section
Hi all
With my Access 2013 DB I do have a Report representing an invoice.
There is a subreport in the detail section representing the items, VAT plus Total amount.
I do have text elements in the footer sections.
I'm looking for the right event and vba code to centre the subreport within the detail section before it gets sent to the printer.
Thanks for any help.
MartinThe best way is position it yourself in design mode and leave it that way. There is the Move x,y fuction and you can also set the subreports left and top positions, but when you start fooling around with positioning objects in code, you are asking for trouble
if users change the report margins or other settings that are printer-dependent. As far as I know, there is no "Centering" ability in code, for form or report objects. -
How to change the high of detail section?
<p>I'm creating a report for a invoice:</p><p>It header section is the customer information, and detail contain all about products..</p><p>My problem is with the High of the detail section, because it is so much high, and i need to put more information in the footer section but it apear near to end of paper!</p><p> </p>
Can you maybe give a bit more information about the problem? It sounds like you have many detail sections that are repeating and this is pushing your group footer to the end of the page.... Is this as simple as needing a longer page size?
-
Keeping the Count in detail section
Post Author: Swapna
CA Forum: Formula
Hi Iam new to the crystal reports and here are my issue's
In my database i have 336 records and i want to keep this count in my details section and when i did the following thing its priting my count for 336 times in my details section which i do not want that i want to print the count of total records in the detail section for only once.
Under the formula fields i have written something like this
Count({Command.TRACKNUM}); This is working fine but only problem is its printing for 336 times
Second question is In My database i will be having records with different statuses like completed,prepared,incompleted so i also want to count the records with the diffrent statuses and print them in the detail section
My report should be like this
Total Samples Comppleted Samples InCompleted Samples Prepared Samples ///Will be in the page header section
336 300 18 18 //Was suppose to be in the detail section
to have a conditional count i have written some this like this in the formula field
({Command.status}="Prepared"
Count({Command.TRACKNUM}); Which does not worked
I Appreciate your help and Thanks in Advance.Post Author: yangster
CA Forum: Formula
I think you are confused about the details. If you put that formula in the detail section it will obviously be repeated for every single row.if what you want is a page header with the details that's fine but your summary should go into a group header/footer or the report footer.You've already got the total record count which is fine.if you want a quick and simple way to evaluate completed, incomplete, prepared samples simply create 3 simple formulas and place them in the details section (you can suppress them if you wish not to view them)@completedif status = "prepared" then 1 else 0@incompleteif statues = "incomplete" then 1 else 0@pepared_sampleif status = "prepared" then 1 else 0simply insert summary's for each of the above formulas and you will have your desired results -
Duplicate records for Sale Order Cycle Report(excluding item level detail)
I have posted this issue in number of forums but till today no one is able to answer it correctly.Here it is:
I need to create a report which I think most of the sd consultants have also done it.It basically covers sales order cycle without item lvel detail such as:
Sale Order No -- Sales Order Date-- Delivery No-- Delivery Date
Now as we all know ,sales orders and deliveries are connected through item table which means in the output I will get duplicate rows for the report above.For Example, if a sales order share 3 items with the delivery then we will get 3 exact duplicate rows in the report.
What can be the best solution?connecting through VBFA has alos same result as it also has item level details.
I need a good solution.This a common report and there must be some solutionHiiii,
It is standard SAP rule that system will catch the document flow (document link history) at item level.
Now your problem that you dont want to show the line item based report because of duplicacy.
Try this.
Brows table VBFA -
In screen selection select the following......
1. Subsiquent document category
2. Preceding item
select "J" in Subsiquent document category
and "000010" in Preceding item then execute the table.
Now system will not show multple line item based delivery report. so No duplicacy will be there
Regards
Shambhu Sarkar
Maybe you are looking for
-
How to find out which node has a specific word in xml query
hi I have to query xml file. My xml file has items like this. <item> <product_code>SVUF2640</product_code> <site_name /> <group>XDC</group> <description>towerxxx1 aaaa</description> <vf_no>44000077777</vf_no> <serial_no /> <vendor>AAA</
-
Synchronization of FM in background mode
Hi all! I need to implement a function module in background mode that contains a call transaction. The problem is that i need a synchronization between consecutive calls, so i have to insure that one FM is processsed completely to start the next one.
-
Cd which is not copy protected keeps rejecting
cd which is noy copy protected keeps rejecting
-
Getting message : The result set for this selection was empty on sm20
Hi, I assigned below parameters in rz10 : rsau/user_selection 1 rsau/max_diskspace/per_day 1950M rsau/max_diskspace/per_file 650M rsau/enable
-
When Windows 8 comes out, will there be an upgrade option for current TouchSmart owners?
I just read a little bit about Windows 8 and noticed it was a very touch oriented OS. Once HP adapts their TouchSmart line to this new OS, will they offer a way for current owners to upgrade to Windows 8 and the (presumably) new TouchSmart software?