Repeating groups of components?
I'd like to lay out a group of components that are populated
by an xml file and repeat them for each node group in that file.
So, for instance, if I have an xml file like the following:
<groups>
<group id="1"/>
<hardware name="hw1">
<software type="OS" name="Windows2000"
vendor="Microsoft"/>
<software type="Spreadsheet" name="Excel"
vendor="Microsoft"/>
</hardware>
<hardware name="hw2">
<software type="OS" name="WindowsXP"
vendor="Microsoft"/>
<software type="Spreadsheet" name="Excel"
vendor="Microsoft"/>
</hardware>
</group>
<group id="2"/>
<hardware name="hw1">
<software type="OS" name="Windows2000"
vendor="Microsoft"/>
<software type="Spreadsheet" name="Excel"
vendor="Microsoft"/>
</hardware>
<hardware name="hw2">
<software type="OS" name="WindowsXP"
vendor="Microsoft"/>
<software type="Spreadsheet" name="Excel"
vendor="Microsoft"/>
</hardware>
</group>
</groups>
And I want to display:
Name: Group 1
Hardware: hw1
(datagrid containing software)
Name: Group 2
Hardware: hw2
(datagrid containing software)
So, 'Name' and 'Hardware' are static labels, and 'Group 1'
and 'Group 2' and the datagrids are dynamically populated from the
xml file. A standard list or hbox/vbox combo won't seem to work
because I'd like the positioning of the elements to be more precise
(with indenting, etc).
I'd also like to contain all of these repeated components
within a Canvas within a TabNavigator.
Any ideas?
Thanks in advance.
Post back after you have looked at this and tried a bit and
have any specific questions.
Similar Messages
-
How to group UI components into an array in MXML
Hi all,
I'm new in Flex. I want to group UI components into an array
in MXML, but I don't know how to do so. Pseudo code looks like
following:
<mx:Text id="arrayItems[]"/>
<mx:Text id="arrayItems[]"/>
<mx:Text id="arrayItems[]"/>
In AS3, I would like to execute a method as follows:
<mx:Script>
<![CDATA[
private function setTextFields():void {
for (var i:int = 0; i < arrayItems.length; i++) {
arrayItems[ i ].text = "Text " + i;
]]>
</mx:Script>
Anybody please help me to correct the MXML code above.
Thanks alot,
KhoaNgoThe easiest way is to use a repeater.
HTH;
Amy
"KhoaNgo" <[email protected]> wrote in
message
news:gpla74$78u$[email protected]..
> Hi all,
>
> I'm new in Flex. I want to group UI components into an
array in MXML, but
> I
> don't know how to do so. Pseudo code looks like
following:
>
> <mx:Text id="arrayItems[]"/>
> <mx:Text id="arrayItems[]"/>
> <mx:Text id="arrayItems[]"/>
>
> In AS3, I would like to execute a method as follows:
>
> <mx:Script>
> <![CDATA[
> private function setTextFields():void {
> for (var i:int = 0; i < arrayItems.length; i++) {
> arrayItems
.text = "Text " + i;
> }
> }
> ]]>
> </mx:Script>
>
> Anybody please help me to correct the MXML code above.
> Thanks alot,
> KhoaNgo
> -
Blank Page with repeated group header getting displayed
Hello All,
One more help i need,
Am having a formula field in the group header for the same reprot which i have posted earlier and am displaying some text based on the condition and the option repeat group header is checked for each page.
the issue here i am having is while exporting the report to .txt (flat file)
the formula field is displaying same static data (i.e. the formula field is not evaluating while exporting to .txt)
could you please help in resolving this.
Thanks
RanjeetHi Ranjeet,
Can you attach that report with sample data to this thread?
--Naga -
Repeating Group header on each page
Hello Everybody,
I have two groups in my report. For my first group value, i have given report - group expert - options and checked "Repeat group header on each page" assuming that my first group values will appear on each page. But it is not doing so. In one of the page the group footer values are appearing without my first group values.
I belive my problem is my second group values are ending in one page and first group values are extended to next page . Can any one please hep me.if that is the case Narukonda 1, there are several sap notes dealing with this issue...please see this sap note [here |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313333333133373339%7D.do]which deals with both orphaned group footers and group headers.
-
How to repeat group head on each page
I have problem with repeat group heaf on each page, I've ticked the option 'Repeat group head on each page' from the Change Group Option. But the group head didn't appear on each page when I previewed the report. Does anyone have a solution/explaination to this?
CheeersSorry Gents, I did't make my porblem clear.
To James Terry
Yes, My reports contain one or more sub-groups (only group 1's group header needs to be repeat on each page).
To Graham Cunningham
I found pages , containing only group 1's group footer summarized info, don't display group 1's group header. Just like what you said ' It will only repeat on pages that display group information'. Is this a bug or sort of default rule? What else can I do if I want the group header to repeat on each page no matter whether there is group info or not, besides moving the info from group header to pager header?
Thanks a lot.
Regards
Joseph -
Repeat Group Header On Each Page not working
Hi,
I have a report that have 3 subreport, and in the Subreport, there is Group Headers that enabled the option "Repeat Group Header On Each Page". It works fine in the CR10 preview. However, the header won't repeat in the PDF generated by JRC.
Any Idea?
Thanks a lot!!Hi,
Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
Thanks
Aasavari -
Repeat group footer on each page
Hi all,
I have a regular report with 1 Group. My problem is that my report doesn't repeat group footer on each page. I know that in Grouping options there is an option for "Repeat Group Header on each page" checkbox which makes the Group Header print on each page. I've found that Header and Footer both work together and that if you print Header it will print footer as well. The thing is I have paging functionality (<a href='http://www.crystalreportstrainingbootcamp.com/resources/trainers_talk_detail.asp?Title=03'>click here for paging details</a>) in my report in the Group, so once it reaches 14 lines in Details it goes to the next page, prints the GROUP HEADER but not the GROUP FOOTER on each report page.
Does anybody know why?
I found the following topic: <a href='http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do;jsessionid=90BF3D79A308CCF6B58F1E2656225CDD?cmd=displayKC&docType=kc&externalId=c2004981&sliceId=&dialogID=360384&stateId=1%200%20356275'>Creating a fake group header for orphaned group footers</a> but it's for CR 7. Was it resolved in newer releases of CR or it still needs a work around? I'm not even sure if that will fix my problem...
Thank you,
TatyanaHello,
please give us the verison of your Crystal Reports product that we can investigate
Regards,
Falk -
Repeat Group Header on Each Page in Subreport won't reflect when generate by JRC
Hi All,
I have a report that contain several Subreports. Inside the Subreport, there are Group Header section. I have checked the option of "Repeat Group Header on Each Page". It works fine when I preview in Crystal Report. But when I using JRC to generate the report result. The group header only display on the first page of the group details.
More, Crystal 10 Common Monthly Hot Fix (English) already installed.
Any idea?
Thanks a lot for your help!
DonaldHi,
Doesthe JRC engine uses CR10 jars or XI\R2 jars? Can you possibly try it with latest set of Eclipse jars? You can download it from Diamond.
Thanks
Aasavari -
Force the Summary Sub totals on same page as the Repeating Group
Hello folks,
I have a Group by Left Report where I am showing Patients and the Visits that they have taken for each Department.
I am then doing a Sub Total of the number of Visits the Patient has taken. I would like to make sure that the sub total shows
up on the same page as the data in the Repeating Group. I tried using an Anchor but the Report does not like it.
It gives an Error: REP 1213 - Field references column at a frequency below its group when I anchor from Repeating frame to the sub total footer
and REP 1814 Report cannot be formatted. Object 'Horizontally' can never fit within 'M_1' when I try to anchor the other way.
My goal is to show the Sub Totals (Total) on the same page as the Patient and not go to the next page. I have enclosed the single dashed line and the Total (Label and field) in a Frame.
Output of Report:
Patient ID Patient Name Department Visit
======================================================================
1001 Mary Poppins Department 001 3
Department 002 4
Department 003 1
Total 8
1002 Peter Pan Department 001 2
Department 002 1
Department 003 2
Total 5
-----------------------------Thanks in advance!Pls set the property(page protect of the frame containing both sub total and patient details) to yes.
-
Aligning group of components in a panel grid
I have a panelGrid that has two columns. The first is a table and the second is a groupPanel.
I want the components in the groupPanel to be left justified but even using css styles such as the following the groupPanel is always centered.
.alignTopLeft {
vertical-align: top;
text-align: left;
}I have also tried the following:
.alignTopLeft {
vertical-align: top;
text-align: left;
position: relative;
top: 1px;
left: 1px;
}I notice that their does not seem to be a horizontal-align attribute which would make more sense to me. I also suspect that the above styles do not work because I am dealing with a group of components instead of a single component (such as a text field).
In order to get the look I want I have had to resort to using a layout panel set to 'grid' and hand placing my sub elements. I keep on thinking I am missing something and that their is a better way to do this.
Granted this is based on my experience with Swing which has rich set of layout managers...
If anyone has a better solution please let me know. (And remember that a sample is always welcome)Some more information.
I also tried using the following setting:
.alignTopLeft {
vertical-align: top;
float: left;
}While this placed the component in the desired location it had an unfortunate side effect. When I set the text area to have some value (in my back bean) the value did not show up in the text area but instead appeared to overlap the left most component on row of the panelGrid.
So far the only way I have been able to get this to appear the way I would like is to use a panelLayout with a grid (fixed) layout.
I hope that future versions of Woodstock will have better layout managers. Coming from Swing it is very frustrating to have to use tricks like this. -
Need to display data from one group while in another repeating group
I have a repeating group in my .rft file which displays line level data that has a quote number in it.
At the end of this repeating group I need to display the total for the quote number but these values are in another group that's within a differnt group higher up in the XML tree. Both of the groups have quote number so there is a link between the two. How do I do this? When I add the "higher up" repeating group within the current group I can't get any data to show. Any help would be appreciated.
Kind RegardsHere's the data, I do know how to to move up the tree like a file system but I think my problem is I need to move up the tree and repeat based on the value (quote number) of the lower node.
For instance for each quote number in repeating group G_FORX_OPS_QTE_ORDER_LINES loop through the occurances of same quote number in G_OPPCAT_BREAKDOWN so I can get a total of the fields by quote number
This is overly simplified but it would be like this
<?for-each-group:G_FORX_OPS_QTE_ORDER_LINES;QUOTE_NUMBER?>
quote number 1428
various line level data....
various line level data....
etc....
-- Open loop to get data from other group (Only get data for quote 1428!!)
<?for-each-group:/FORX_AS_OPPOR/LIST_G_OPPORTUNITY_SHEET/G_OPPORTUNITY_ID/LIST_G_OPPCAT_BREAKDOWN/G_OPPCAT_BREAKDOWN;./QUOTE_NUMBER1?>
Total For Quote 1428
Billing Class
BILLABLE: Billable total in dollars
INTERNAL: Internal total in dollars
<?end for-each-group?>
<!-- Generated by Oracle Reports version 6.0.8.26.0
-->
- <FORX_AS_OPPOR>
- <LIST_G_OPPORTUNITY_SHEET>
- <G_OPPORTUNITY_ID>
<COMMENTS1>Opportunity Includes Quote Number(s): 1428-2 1443-1 1444-1 Order Number(s): 159038-10 159044-3</COMMENTS1>
<CUSTOMER_ID>1183</CUSTOMER_ID>
<UPDATED_BY>CTYNER</UPDATED_BY>
<DEPOSITS>5704.68</DEPOSITS>
<OPPORTUNITY_ID>1000216</OPPORTUNITY_ID>
<OPPORTUNITY_NAME>1000216:UAT DEMO</OPPORTUNITY_NAME>
<CUSTOMER_NUMBER>103736</CUSTOMER_NUMBER>
<ENTITY>FSG</ENTITY>
<SOLD_TO>ALLSTATE INSURANCE COMPANY</SOLD_TO>
<CONTRACT_ID>S620_N</CONTRACT_ID>
<SALESREP_ID>2239</SALESREP_ID>
<SALES_REP_NAME>Conley, Michael</SALES_REP_NAME>
<ORDER_ACCEPTANCE>Skokie</ORDER_ACCEPTANCE>
<BOOKED_COUNT>2</BOOKED_COUNT>
<TERRITORY_NAME>Enterprise - Enterprise</TERRITORY_NAME>
- <LIST_G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1> First Occurence of 1428
<INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>5</SUM_ITM_COUNT>
<SUM_ITM_PRICE>151500.4</SUM_ITM_PRICE>
<SUM_ITM_COST>1688</SUM_ITM_COST>
<SUM_ITM_GPM>149812.4</SUM_ITM_GPM>
<SUM_ITM_MARKUP>88.7514218009478672985781990521327014218</SUM_ITM_MARKUP>
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1> Second Occurence of 1428
<INT_ITM_TYPES>INVOICE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>4</SUM_ITM_COUNT>
<SUM_ITM_PRICE>29.72</SUM_ITM_PRICE>
<SUM_ITM_COST>0</SUM_ITM_COST>
<SUM_ITM_GPM>29.72</SUM_ITM_GPM>
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1443</QUOTE_NUMBER1>
<INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>5</SUM_ITM_COUNT>
<SUM_ITM_PRICE>2084</SUM_ITM_PRICE>
<SUM_ITM_COST>1748</SUM_ITM_COST>
<SUM_ITM_GPM>336</SUM_ITM_GPM>
<SUM_ITM_MARKUP>.192219679633867276887871853546910755149</SUM_ITM_MARKUP>
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
<INT_ITM_TYPES>HARDWARE</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>4</SUM_ITM_COUNT>
<SUM_ITM_PRICE>1500.4</SUM_ITM_PRICE>
<SUM_ITM_COST>1364</SUM_ITM_COST>
<SUM_ITM_GPM>136.4</SUM_ITM_GPM>
<SUM_ITM_MARKUP>.1</SUM_ITM_MARKUP>
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
<INT_ITM_TYPES>INVOICE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>BILLABLE</INT_BILLING_CLASS>
<SUM_ITM_COUNT>4</SUM_ITM_COUNT>
<SUM_ITM_PRICE>66.28</SUM_ITM_PRICE>
<SUM_ITM_COST>0</SUM_ITM_COST>
<SUM_ITM_GPM>66.28</SUM_ITM_GPM>
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1>
<INT_ITM_TYPES>EXPENSE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
<SUM_ITM_COUNT>1</SUM_ITM_COUNT>
<SUM_ITM_PRICE>0</SUM_ITM_PRICE>
<SUM_ITM_COST>22.98</SUM_ITM_COST>
<SUM_ITM_GPM />
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1444</QUOTE_NUMBER1>
<INT_ITM_TYPES>EXPENSE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
<SUM_ITM_COUNT>1</SUM_ITM_COUNT>
<SUM_ITM_PRICE>0</SUM_ITM_PRICE>
<SUM_ITM_COST>22.98</SUM_ITM_COST>
<SUM_ITM_GPM />
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
- <G_OPPCAT_BREAKDOWN>
<QUOTE_NUMBER1>1428</QUOTE_NUMBER1>
<INT_ITM_TYPES>REVENUE_ADJUSTMENT</INT_ITM_TYPES>
<OPPORTUNITY_ID3>1000216</OPPORTUNITY_ID3>
<INT_BILLING_CLASS>INTERNAL</INT_BILLING_CLASS>
<SUM_ITM_COUNT>1</SUM_ITM_COUNT>
<SUM_ITM_PRICE>20</SUM_ITM_PRICE>
<SUM_ITM_COST>101</SUM_ITM_COST>
<SUM_ITM_GPM />
<SUM_ITM_MARKUP />
</G_OPPCAT_BREAKDOWN>
</LIST_G_OPPCAT_BREAKDOWN>
- <LIST_G_FORX_OPS_QTE_ORDER_LINES>
- <G_FORX_OPS_QTE_ORDER_LINES>
<ORDER_ACCEPTANCE1>SKOKIE</ORDER_ACCEPTANCE1>
<COMMITMENT />
<COMMITMENT_APPLIED_AMOUNT />
<PARTIAL_COMMENTS />
<COMMENT_FOR_INVOICE />
<QUOTE_DATE>07/13/2009 02:00:10PM</QUOTE_DATE>
<LINE_NUMBER>1</LINE_NUMBER>
<EXTD_SELLING_PRICE>880</EXTD_SELLING_PRICE>
<ORDER_PAY_TERM>Automated Term Due in 44 Days</ORDER_PAY_TERM>
<QUOTE_PAY_TERM />
<ITEM_CATEGORIES>HARDWARE.MACHINE.SERVER.</ITEM_CATEGORIES>
<QUOTE_STATUS>Order Submitted</QUOTE_STATUS>
<QUOTE_USER>Tyner, Chris</QUOTE_USER>
<OPPORTUNITY_ID1>1000216</OPPORTUNITY_ID1>
<DATASOURCE>1</DATASOURCE>
<HEADER_ID>398631</HEADER_ID>
<LINE_ID>900897</LINE_ID>
<LINE_TYPE_ID>1181</LINE_TYPE_ID>
<ORDER_NUMBER>159038</ORDER_NUMBER>
<ORDER_VERSION>10</ORDER_VERSION>
<TEAM>IBM</TEAM>
<OPPORTUNITY_NAME1 />
<QUOTE_NAME>1000216:IBM:UAT DEMO</QUOTE_NAME>
<QUOTE_NUMBER>1428</QUOTE_NUMBER>
<QUOTE_VERSION>2</QUOTE_VERSION>
<NEW_PARTIAL>0</NEW_PARTIAL>
<COMMIT_DEL_DATE>13-JUL-09</COMMIT_DEL_DATE>
<ORDERED_QUANTITY>1</ORDERED_QUANTITY>
<PO_NUMBER>098534089</PO_NUMBER>
<GROUP_NUM>1</GROUP_NUM>
<INVENTORY_ITEM_ID>845256</INVENTORY_ITEM_ID>
<ORDERED_ITEM>7978BDU</ORDERED_ITEM>
<PRODUCT>7978BDU</PRODUCT>
<ITEM_DESCRIPTION>X3550, XEON QUAD CORE E5430 80W 2.66GHZ/1333MHZ/12MB L2, 2X1GB CHK, O/BAY 2.5IN HS SAS, SR 8K-I, PCI-E RISER CARD, ULTRABAY ENHANCED DVD-ROM/CD-RW COMBO DRIVE, 670W P/S, RACK</ITEM_DESCRIPTION>
<MANUFACTURER_DESCRIPTION>IBM</MANUFACTURER_DESCRIPTION>
<TYPE />
<EQUIPMENT_CODE>B</EQUIPMENT_CODE>
<TAX_CLASS_CODE>HW</TAX_CLASS_CODE>
<CLS />
<SUBINVENTORY />
<UNIT_LIST_PRICE>0</UNIT_LIST_PRICE>
<ITEM_UNIT_COST>800</ITEM_UNIT_COST>
<VENDOR_INVENTORY_RETURN />
<SHIPPING_TYPE />
<SHIPPING_ORG>DSP</SHIPPING_ORG>
<SOLD_TO1>ALLSTATE INSURANCE COMPANY</SOLD_TO1>
<SOLD_TO_ACCOUNT_NUMBER>103736</SOLD_TO_ACCOUNT_NUMBER>
<INVOICE_TO_LOCATION>10110384</INVOICE_TO_LOCATION>
<INVOICE_TO>ALLSTATE INSURANCE COMPANY</INVOICE_TO>
<INVOICE_TO_ACCOUNT_NUMBER>103736</INVOICE_TO_ACCOUNT_NUMBER>
<INVOICE_TO_ADDRESS1>2775 SANDERS RD</INVOICE_TO_ADDRESS1>
<INVOICE_TO_ADDRESS2 />
<INVOICE_TO_ADDRESS3 />
<INVOICE_TO_ADDRESS4 />
<INVOICE_TO_EMAIL />
<INVOICE_TO_PHONE_NUMBER>847-402-0223</INVOICE_TO_PHONE_NUMBER>
<INVOICE_TO_ADDRESS5>NORTHBROOK, IL, 60062-6110, US</INVOICE_TO_ADDRESS5>
<INVOICE_TO_CONTACT>CRAIG SOCKEL</INVOICE_TO_CONTACT>
<L_INVOICE_TO_LOCATION>10110384</L_INVOICE_TO_LOCATION>
<L_INVOICE_TO_ACCOUNT_NUMBER>103736</L_INVOICE_TO_ACCOUNT_NUMBER>
<L_INVOICE_TO>ALLSTATE INSURANCE COMPANY</L_INVOICE_TO>
<L_INVOICE_TO_ADDRESS1>2775 SANDERS RD</L_INVOICE_TO_ADDRESS1>
<L_INVOICE_TO_ADDRESS2 />
<L_INVOICE_TO_ADDRESS3 />
<L_INVOICE_TO_ADDRESS4 />
<L_INVOICE_TO_EMAIL />
<L_INVOICE_TO_PHONE_NUMBER>847-402-0223</L_INVOICE_TO_PHONE_NUMBER>
<L_INVOICE_TO_ADDRESS5>NORTHBROOK, IL, 60062-6110, US</L_INVOICE_TO_ADDRESS5>
<L_INVOICE_TO_CONTACT>CRAIG SOCKEL</L_INVOICE_TO_CONTACT>
<SHIP_TO_ACCOUNT_NUMBER>103736</SHIP_TO_ACCOUNT_NUMBER>
<SHIP_TO>ALLSTATE INSURANCE COMPANY</SHIP_TO>
<SHIP_TO_LOCATION>10271260</SHIP_TO_LOCATION>
<SHIP_TO_ADDRESS1>3075 SANDERS RD STE 12C</SHIP_TO_ADDRESS1>
<SHIP_TO_ADDRESS2 />
<SHIP_TO_ADDRESS3 />
<SHIP_TO_ADDRESS4 />
<SHIP_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</SHIP_TO_ADDRESS>
<SHIP_EMAIL>[email protected]</SHIP_EMAIL>
<SHIP_TO_PHONE_NUMBER>847-402-0223</SHIP_TO_PHONE_NUMBER>
<SHIP_TO_CONTACT>ORLANDO LOPEZ</SHIP_TO_CONTACT>
<L_SHIP_TO_ACCOUNT_NUMBER>103736</L_SHIP_TO_ACCOUNT_NUMBER>
<L_SHIP_TO>ALLSTATE INSURANCE COMPANY</L_SHIP_TO>
<L_SHIP_TO_LOCATION>10271260</L_SHIP_TO_LOCATION>
<L_SHIP_TO_ADDRESS1>3075 SANDERS RD STE 12C</L_SHIP_TO_ADDRESS1>
<L_SHIP_TO_ADDRESS2 />
<L_SHIP_TO_ADDRESS3 />
<L_SHIP_TO_ADDRESS4 />
<L_SHIP_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</L_SHIP_TO_ADDRESS>
<L_SHIP_EMAIL>[email protected]</L_SHIP_EMAIL>
<L_SHIP_TO_PHONE_NUMBER>847-402-0223</L_SHIP_TO_PHONE_NUMBER>
<L_SHIP_TO_CONTACT>ORLANDO LOPEZ</L_SHIP_TO_CONTACT>
<DEL_TO_ACCOUNT_NUMBER>103736</DEL_TO_ACCOUNT_NUMBER>
<DEL_TO>ALLSTATE INSURANCE COMPANY</DEL_TO>
<DEL_TO_LOCATION>10110327</DEL_TO_LOCATION>
<DEL_TO_ADDRESS1>3075 SANDERS RD</DEL_TO_ADDRESS1>
<DEL_TO_ADDRESS2 />
<DEL_TO_ADDRESS3 />
<DEL_TO_ADDRESS4 />
<DEL_TO_ADDRESS>NORTHBROOK, IL, 60062-7119, US</DEL_TO_ADDRESS>
<DEL_TO_EMAIL />
<DEL_TO_PHONE_NUMBER>847-402-0223</DEL_TO_PHONE_NUMBER>
<DEL_TO_CONTACT />
<UNIT_SELLING_PRICE>880</UNIT_SELLING_PRICE>
<BILL_TO_LAST_UPDATE>21/04/2009 02:25:18PM</BILL_TO_LAST_UPDATE>
<SHIP_TO_LAST_UPDATE>13/07/2009 01:31:45PM</SHIP_TO_LAST_UPDATE>
<BILL_TO_UPDATED_BY>SLUMPP</BILL_TO_UPDATED_BY>
<SHIP_TO_UPDATED_BY>CTYNER</SHIP_TO_UPDATED_BY>
<ORDER_QUOTE_USER>CTYNER</ORDER_QUOTE_USER>
<PARTICIPANTS>Conley, Michael Order:159044 100% and Conley, Michael Order:159038 100% and Conley, Michael Quote:1443 50% and Jones, Maureen Quote:1443 50%</PARTICIPANTS>
<ORDERED_DATE>07/13/2009 02:23:23PM</ORDERED_DATE>
<BOOKED_DATE>07/13/2009 02:31:15PM</BOOKED_DATE>
<ORDER_QUOTE_STATUS>BOOKED</ORDER_QUOTE_STATUS>
<ORDER_USER_STATUS>RE-BOOK REQD</ORDER_USER_STATUS>
<BUYER>Tyner, Chris</BUYER>
<SERIAL_NUM>45784687</SERIAL_NUM>
<INVOICE_HANDLING_FORMAT_VALUE />
<INVOICE_HANDLING_FORMAT />
<PRINT_TRADE_NAME_VALUE>No</PRINT_TRADE_NAME_VALUE>
<ITEM_EXTD_COST>800</ITEM_EXTD_COST>
<QUOTE_APPROVERS>Tyner, Chris</QUOTE_APPROVERS>
</G_FORX_OPS_QTE_ORDER_LINES> -
Repeat group header on every page before group footer as group spans across
I have a group which spans across multiple pages.In group there are two subreports in Group footer.I have set all the required parameters to repeat group header on every page in group expert,but not getting desired results,please help....
I have following structure in my report.
I have two group headers at the top,first one contains name of the site & site number,second header contains Site-Admin as heading,below which i have kept details section of report which displays name of administrator which repeats details section in case there are more than one adminstrators.
Below this i have two group footers which individually contain each of the two sub-reports.
As per data,these individual subreport may or may not begin at the beginning of the new page every
time,therefore fake group header put at the beginning of these sub-reports may come in middle of the page sometime,so thet cant be done.
Thank you,please reply if you have another solution.... -
Draw lines within a table (repeating group)
I have a table of 6X6 (rowsxcolumns) built using Word 2010. The cells starting from 2nd row to 5th row are merged and another table is created in this place with a repeating group. This means, the no. of rows this 2nd table would have is dynamic (based on the results)
Because of the layout requirement, I need vertical lines drawn for each of the columns in table 1 but excluding Row 1 and Row 6 (these are sort of headers). Is there a way to achieve this?
I tried using "Draw Shapes" and inserting vertical lines in the positions I want. But since this shape is of constant length and 2nd table contains dynamic rows, it isn't working if it has fewer/greater no. of rows.
Any ideas would be highly appreciated.
Thanks!Ok,
I will assume that you have a dataVector that contains Vectors that have a String and an Integer in it. You pass this dataVector to the following method, that returns a Vector which contains the same data grouped. I assume also that your dataVector is sorted before:
public Vector groupVector(Vector dataVector) {
Vector r;
Vector v = new Vector(2,2);
if (dataVector.size()==0) return null; // no data there - return null
String name = (String) ((Vector) dataVector.elementAt(0)).elementAt(0);
int sum = 0;
for (int i = 0; i<dataVector.size();i++)
{ String curname = (String) ((Vector) dataVector.elementAt(i)).elementAt(0);
if (name.equals(curname))
{ sum += ((Integer) ((Vector) dataVector.elementAt(i)).elementAt(1)).intValue(); }
else
{ r = new Vector(2);
r.add(name);
r.add(new Integer(sum));
v.add(r);
name = curname;
sum = ((Integer) ((Vector) dataVector.elementAt(i)).elementAt(1)).intValue();
} // end else
} // end for-loop
r = new Vector(2);
r.add(name);
r.add(new Integer(sum));
v.add(r);
return v;
} // end of methodI have not tested it nor compiled - leave that to you
Hope this helps
greetings Marsian -
How to use a header column in a repeating group
I am trying to create a BIP report (11.1.1.6.2) with an XML file as source. The XML files start with a few header fields, followed by the actual data. For example:
<DATA>
<PARAMETERS>
<P_ORDER>Order</P_ORDER>
<P_CUSTOMER>Customer</P_CUSTOMER>
</PARAMETERS>
<LIST_DETAILS>
<DETAIL>
<V_ORDER>12345</V_ORDER>
<V_CUSTOMER>Oracle</V_CUSTOMER>
</DETAIL>
<DETAIL>
<V_ORDER>67890</V_ORDER>
<V_CUSTOMER>Microsoft</V_CUSTOMER>
</DETAIL>
</LIST_DETAILS>
</DATA>
The desired output should combine a field from the <PARAMETERS> group and a field from the <DETAIL> group in one line. So with this example data it should look like this:
Order: 12345
Customer: Oracle
Order: 67890
Customer: Microsoft
In my RTF template I created a repeating group <?for-each:DETAIL?> and put everything in that repeating group. Unfortunately BIP leaves the values for the fields in the <PARAMETERS> group empty.
I also tried to nest two repeating groups. First: <?for-each:PARAMETERS?>, within that: <?for-each:DETAIL?>. This does not solve the problem.
How can I achieve my desired output?
Paultry
<?xdoxslt:set_variable($_XDOCTX,'LVarORDER',P_ORDER)?>
<?xdoxslt:set_variable($_XDOCTX,'LVarCUSTOMER',P_CUSTOMER)?>
<?for-each:DETAIL?> | <?V_ORDER?>
<?xdoxslt:get_variable($_XDOCTX,'LVarORDER')?> |
----------------------------------------------------|-----------------------------------
<?xdoxslt:get_variable($_XDOCTX,'LVarCUSTOMER')?> | <?V_CUSTOMER?><?end for-each?> -
Repeating group level headings.
Using the table wizard, I have created a "group above" table with two levels like this:
Group Level 1
Group Level 2
table_element_1 table_element_2 table_element_n
On the first page, both group level 1 and group level 2 print. As I get subsequent group level 2 breaks, the report won't repeat level 1 so I only get Group level 2 in my heading. The output is coming out like this:
Group Level 1
Group Level 2
table_element_1 table_element_2 table_element_n
Group Level 2a
table_element_1 table_element_2 table_element_n
Group Level 2b
table_element_1 table_element_2 table_element_n
I always want to repeat group level 1 in my table heading. Is there a an xml or template command that I can use to say "always print" ?
I'd like to see it like this:
Group Level 1
Group Level 2
table_element_1 table_element_2 table_element_n
Group Level 1
Group Level 2a
table_element_1 table_element_2 table_element_n
Group Level 1
Group Level 2b
table_element_1 table_element_2 table_element_nProbably you are using tables to format it as each group.
so in-order to display the group level element 1 ,
You got to display that element before the second group table .
its like
<for-each:level1>
<GRP-LEVEL1-ELEMENT>
<for-each:level2>
<GRP-LEVEL2-ELEMENT>
..................something else
<end-for-each>
<end-for-each>
you can select the table and table properties, repeat as header row in top of every page
pass me your template and xml to fusionDOTobjectATgmailDOTcom.
i wll have a look at where you went wrong ;)
Maybe you are looking for
-
Mini DisplayPort to DVI Adapter does not recognize SGI-Saver on DVI (LCD)
I bought a Mini DisplayPort to DVI Adapter for my new unibody 17" MacBookPro. No dice! The lcd is not recognized, is not seen in the displays control panel, and LCD remains dark. This LCD works fine on the previous generation MacBook Pro when pluggin
-
Adobe Creative Cloud glitched won't allow me to download photoshop 2015
So I had to sign up for Adobe, I did. Than I downloaded the program it told me to do, I did, it was Adobe Creative Cloud. So than I went to the page to download a free trial for photoshop. I clicked on free trial and it brought me to another page, it
-
Custom idoc process code with change pointers
Hai gurus Any body tell me how to maintain the change pointers in process code of our custom idoc. Thanks Krishna
-
Creative Labs HQ-2300D Dolby headphones connections
Hi I would be extremely grateful if you can hep me with the following question. I am currently setting up my ASUS laptop for a home cinema setup and in the interest of good neighbourly relations I am hoping to use your Creative Labs HQ-2300D Dolby he
-
HT201335 AirPlay will not mirror what is on my IPad. No picture.
AirPlay will not mirror IPad. No picture and IPad gets very slow.