Sitemap

Amicuk Programming Answers

Complex if statement in rtf template?

2015-10-11   Views:25

Advertisement

Hello, I want to build an if statement in rtf template, the idea is like: <?if:address!='' and phone!=''?> <?end if?> what's the correct way to do it if it is possible? Thanks in advance! Shichaostevencallan wrote: Conditional statements, in t

Hello,
I want to build an if statement in rtf template, the idea is like:
<?if:address!='' and phone!=''?>
<?end if?>
what's the correct way to do it if it is possible? Thanks in advance!
Shichao

The replay answer
Advertisement
stevencallan wrote:
Conditional statements, in the user guide or the report developer guide, depending on the version you use.
Page 7-62 in the 10.1.3.2 user guide:
Use an if statement to define a simple condition; for example, if a data field is a specific value.
1. Insert the following syntax to designate the beginning of the conditional area.
<?if:condition?>
2. Insert the following syntax at the end of the conditional area: <?end if?>.
For example, to set up the Payables Invoice Register to display invoices only when the Supplier name is "Company A", insert the syntax <?if:VENDOR_NAME='COMPANYA'?> before the Supplier field on the template.
Enter the <?end if?> tag after the invoices table.Thanks for the reply. But what about two conditions in one if statement? That was my question. :)
Shichao

Go to See the other 8 answers

Complex if statement in rtf template?

Category:DefaultRelease time:2015-10-11Views:130

Hello, I want to build an if statement in rtf template, the idea is like: <?if:address!='' and phone!=''?> <?end if?> what's the correct way to do it if it is possible? Thanks in advance! Shichaostevencallan wrote: Conditional statements, in t[More]

How to select specific rows in rtf template for complex calculation

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want custom calculation in my rtf template and for this i need to select specific cell's value OR specific row's value. Any one please suggest how can I get this. Below is the example i have plotted using excel. My target is to get field 8 and[More]

Complex Header on RTF Template

Category:DefaultRelease time:2015-10-11Views:130

Hello all, I have an issue with an RTF template and I really hope you have a minute to help me out. I'm really new at this stuff. This is for Purchase Order (PO) printing on Oracle eBusinesss Suite. On the template I need the first rows from a table[More]

PDF formating issue in RTF Template

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have an XML for which i have data for both subavisor level and fund level and the data at each fund level are derived/aggregated from Subadvisor level(using complex formula which is taken care at the database level not at the RTF level). I need[More]

Unable to Maintain different Headers and footers in a multiple RTF template

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I have a very complex requirement to Print Custom Invoice reports. The Report Consists of Three Templates 1) Invoice 2) Custom IMEI 3)Remiitance Slip. I have coded XMl such that for a given header level data all the corresponding data will be[More]

Can I insert comments into RTF Templates?

Category:DefaultRelease time:2015-10-11Views:130

I'm using Oracle XML Publisher Template Builder for Word, Version 5.6 Build 45. The RTF template I'm working on has grown to be quite complex, and I would like to include some documentation on the template, so that other people who might pick up the[More]

Custom RTF templates in Oracle Core Contracts ..

Category:DefaultRelease time:2015-10-11Views:130

Hello: We want to create custom RTF templates in Oracle Core Contracts along with custom data templates. We do not want to use XSL-FO templates since we are finding this too complex to work with ... also the fact that the XML data is being generated[More]

RTF template does not format properly when run from Concurent Manager

Category:DefaultRelease time:2015-10-11Views:130

Hi I have complex RTF template; many stuff in are in header in word table format,body section again fields are in table format and Footer again in word table format. When I run BI Publisher report as concurrent request half the content like header an[More]

Header / footer with RTF template

Category:DefaultRelease time:2015-10-11Views:130

Hi all, My problems are below: - I want to create RTF template for a BI Publisher report. On that template, I would like to have a group of data that is printed only on the last page of the report (as a summary document end). For example, if, when I[More]

Generating TEXT output from RTF template/reports

Category:DefaultRelease time:2015-10-11Views:130

Hi , We have been working with XML Publisher for a long time now.. and we have come across some requirements such as 1. Page break in TXT report output 2. Page Headers after every 'X' lines in TEXT output. This was easily achieved with RTF template a[More]

Convert XSL-FO template back to RTF template

Category:DefaultRelease time:2015-10-11Views:130

Report's layout that I have to create has strict size requirements (e.g. page margins, cell sizes and so on). I created a simple RTF template using MS Word. RTF template meets this size requirements but when I print my report using Acrobat Reader rep[More]

Hot
I am using an Apple Lightning to HDMI AV adpater (Model A1438, Firmware 7.0.0 {11A7451}, Harware 1.0.0) with an iPhone 5 (MD655LL/A) and iOS 7.0.4 (11B554a). With two different adapters (same version) we seeming to have suddenly lost the ability to m [More]
Dear all, I wanted to ask if this is only me or is a commin issue. with Lion if I leave the mail.app in fullscreen and then i reboot (reopen windows at login in - disabled), at the new login the mail.app is still in fullscreen as espected but is comp [More]
while creating SAP ISU Device category EG01 .i got one error message like The material 5 does not exist or is not activated Message no. M3305I don't know EG01 transaction, but if SAP says "material 5 does not exist " then SAP is usually right. C [More]
Dear All, Where do I find the config for Transaction Type Group (TTG)? FYI - I read about this in SAP library and it stated that TTG : " The number of possible transaction type groups, as well as the characteristics of the individual groups, is speci [More]
as mention in the title, after using my iphone 4 for about 2 weeks, i realise it is not vibrating at all, setting is checked, restoring is tried but still no working. checking other forum talk about ibrate app and it is still not working.If you can't [More]
Hi MapViewer folks, Is there an hidden binding variable that defines the zoom level for a geometry theme being rendered ? Like :mvqboxxl, :mvqboxyl, :mvqboxxh, :mvqboxyh when MapViewer is rewriting the SQL query for a given theme. Thanks KarlThat's t [More]
Hi, I have hidden a field "Smart Number" in all the layouts available in MIRO transaction as this field was not wanted in MIRO. Now I am trying to post an invoice verification for a scheduling agreement using the screen layout "9_6310 Purch [More]
my server oem is cash and i don't backup control file. Now my database startup mount only. it does't startup open. somby help me please, what i do for startup my databaseHi If you can mount the database it means that you have a control file. What did [More]
I have installed the Adobe Creative Cloud and I have installed Adobe Flash Builder 4.7 (64 Bit). It seems that the latest, stable, version of the Adobe AIR SDK is 16.0. However, the Flash Builder that installs from the Creative Cloud installs version [More]
A customer is using JDeveloper to construct SOAP based web services and consuming these from the web client using Javascript using standard AJAX technologies (see http://adaptivepath.com/publications/essays/archives/000385.php). But there's some over [More]