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]

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]

Hot
Hi, I fixed error in last post and rewrote the code using ProcessBuilder instead. Output from my unix tool is: Command is a shell application' /home/myid/test/myshell/bin/run' that starts a ascii gui that looks like ( see below). It waits for input f [More]
I'm using RH8 and producing WebHelp. I'm trying to use the new IFrame feature to display a PDF in my webhelp output, but get an Adobe Acrobat error, followed by a RH crash. Here's what happening: From RH8 topic, insert IFrame and browse to a one-page [More]
How can I batch print multiple images that have various dimensions and have them printed at their original dimensions? I used to be able to do this in CS3 but now I'm using CS5 Creative Suite in Windows 7, all the images are printed at the same dimen [More]
When I get an e-mail with an adobe document, I open it and try to print it. It will not print on my printer - it just says print to file and trys to download to a file on my computer. Then it locks up.Do you have '''Print to file''' selected? See thi [More]
Hello Friends, I have this case wherein Sales Order that used Letter of Credit as payment Guarantee Procedure. Sales order has been released already and Delivery notes was created. But Delivey notes still appeared in VKM1. I would like to ask your op [More]
Please anyone with technical knowledge HELP ME. The basic problem is that my 4th Generation Ipod will not mount into Itunes. Let me tell you what I have done so far this includes all the R's, I have also followed the advice of reinstalling itunes and [More]
I just updated to ios6. My month view in calendar now shows the start time and end time of appointments running over into the next day. I.E. start appointment on Friday at 5:00 pm, end it at 1:00am Saturday moring. I used to only see the one entry on [More]
I have seen a case in pictures in either MacWorld or MacLife that I would like to buy but I can't find advertised anywhere. It is very similar to the iSee, which is a hard, see through, clear plastic shell case. This other case has a pull out easel o [More]
Im having problems with my iTunes account and also. With my payment infohttp://apple.com/support/itunes/contact/Read other 3 answers [More]
Hi All, We have a Portal customized and integrated to LDAP for SSO. From the portal, we have a link that takes to another custom application that requires another level of authentication. We have implemented this authentication as custom Database bas [More]