How to keep a value in blank cell in xml publisher
Hi All,
I have a column which displays a value.
When there is no value in that column it is showing BLANK in the report.
Here I want to place some symbol like "*" or "$" in the BLANK cell.
I tried using if condition but i am not clear.
How can i do that?
Thanks
sunil
Try this:
<?if:a!=''?><?a?><?end if?><?if:a and a=''?><?'*'?><?end if?>
replace 'a' with your column name.
Assign points and close out the thread if your question has been answered.
Thanks,
Bipuser
Similar Messages
-
Passing Value from BI Beans to XML Publisher
Hi,
I have requirement to get data from BI Beans and pass it to XML publisher for display. How to do this handshake (pass value). I read that XML publisher understand only XML data, my doubt is if xml pub can read data from browser/BI beans or not?
regds
PrakashCan XML publisher read data on the fly from BI Bean/Browser and display in HTML format? Furthermore we want that user should be able to click on these values in displayed HTML page and fetch data from Database and display in new HTML page.
Is it possible in XML publisher, please advice how to do that.
Thanks
Prakash -
Extra Blank page in XML Publisher report
Hi,
I am getting extra blank page in XML publisher report.
The RTF has two pages and each page has one table.These two tables will be populated with data based on some if condtion.
eg:
In RTF:
for each Header
if PMA='Y' THEN
Table1 data in 1st page
end if;
pageBreak
IF OTC='Y' then
Table2 data in 2nd page
END IF;
end for each
And also another issue is: The data is starting from the same page instead of new page.
Please help me in solving the issue.
Thanks,
SrinivasHi,
Thanks for reply.
I am using <xsl:attribute name="break-before">page</xsl:attribute> page break.
I tried split-by-page-break also,but still its not resolved.
Today I have noticed one thing: When generating this report locally,then there is no blank page coming.But when generating from APPS then blank page is coming.
Please help me to resolve this issue.
Thanks,
Srinivas -
How to read the value of OLAPDataGrid cell/s from external object
Hi,
I have an OLAPDataGrid control in an Adobe flex application,
and I am using the cutom renderer to render the cells of the
OLAPDataGrid ,
any Idea how I can read the value of each cell at the
renderer , so I will be able to decide about the actions for each
cell at the renderer?"j_shawqi" <[email protected]> wrote in
message
news:gkqgdl$539$[email protected]..
> Hi,
> I have an OLAPDataGrid control in an Adobe flex
application,
> and I am using the cutom renderer to render the cells of
the OLAPDataGrid
> ,
> any Idea how I can read the value of each cell at the
renderer , so I will
> be
> able to decide about the actions for each cell at the
renderer?
I'm thinking that you'll need to look at the listData
property. I'm not
sure what you get in an OLAP Grid that orients you to your
cell position,
but I'd set a break point in the listData override of your
renderer and see
what you actually have, or look at the docs for the data type
of the
listData object that the default renderer expects to get.
HTH;
Amy -
Applescript returns incorrect value with blank cell
Imagine there is a column of numbers, some which might have the value 0.0 and some which are blank. Imagine wanting to append a data set at the first blank cell using Applescript. As Applescript is currently implemented in Numbers, this is not possible. See the following test.
1. In Numbers, create a new blank spreadsheet.
2. Select cell "A1".
3. Format as text.
4. Execute the following line of Applescript,
tell application "Numbers" to get value of cell "A1" of table 1 of sheet 1 of front document
It returns "0.0".
I would expect a return "" since it is a empty cell formated as text, no less.
Because of this, there is no way to find a blank cell since a blank cell returns a value of 0.0 which might be a valid entry.
Anyone have any ideas for a work around?The value of a blank (empty) cell IS zero.
The value of a cell containing a string whose length is zero contains "".
Given that, I will post a report because I'm not sure than the value returned in AppleScript is the good choice.
In AppleWorks for a blank cell, the returned value was "".
Yvan KOENIG (from FRANCE dimanche 11 janvier 2009 16:31:35)
+Your tracking number for this issue is Bug ID# 6487875.+
Hello
+(1) May I know if the fact than+
+set v to value of cell "B12"+
+returns 0.0 when the cell is blank is the designed result.+
+In AppleWorks in this case, we are accustomed to get an empty string.+
+(2) In version 1, a cell containing an empty string was accepted in an arithmetic operation.+
+In version 2, it is rejected.+
+Is it a design choice or is it a bug ?+
+Your tracking number for this issue is Bug ID# 6487879.+
Hello
+In Numbers, as long as we are referencing cells of the current row (200 for instance), we may use short references like:+
=(BC)*(DE)
+When we save as iWork '08 document, the formula is expanded as+
=(B200C200)*(D200E200)
+Is it a design choice or a bug ?+ -
How to select multiple values from the parameters in BI Publisher report
How to select multiple values from the parameter drop down in BI Publisher, and how to handle this mulitple values from the report sql...
Hi kishore,
I have used all the steps as you mentioned in your previous reply....including checking Mulitple Selection Check Box..
Iam able to get the results when I am selecting one value..
and also I am able to handle multiple values the in the query by using IN :Parameter, but seems when we select more than one value from the parameter drop down i think the Bi Publisher is sending the values in concatenated form something ilke
ex: "'ACCOUNT','HR','SALES'" ,and when trying to display the parameters values in the output, its throwing the error as 'missing right paranthesis' ....on the whole do you have any solution which would handle
1.Single selection.
2.Multiple selection.
3.'ALL' Values.
4.Separating the concatenated string into individual strings and dispaly them on the output of the report..etc..in case of Mulitple selection.
Ex:
Concatenated String from BI Publisher:"'ACCOUNT','HR','SALES'"
Expected Output on the report:ACCOUNT,HR,SALES
reply to this would be much appreciated....
thanks,
manoj -
How to Avoid Blank Page in XML Publisher oracle report
Hi,
I am running a report in xml publisher. The output of the report prints 2
pages, one page with correct report output and other page is a blank page
with header details.
I want to avoid this blank page. Is there something wrong? Please help to fix this issue!
Thanks!I am running a report in xml publisher. The output of the report prints 2
pages, one page with correct report output and other page is a blank page
with header details.
I want to avoid this blank page. Is there something wrong? Please help to fix this issue!Is the issue with this specific XML Publisher report only?
Do you have all the patches in (Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]) applied? -- Search for "blank page".
Thanks,
Hussein -
How to avoid blank page in xml publisher report
hi,
i have a xml report, it shows 7 rows in one page. the question is: if there are just 7 rows , when previews with pdf, it will generate 2 pages, the first page shows 7 rows, and the second page is blank.
anyone can help?
you can get the rar file that contains the .rtf and then .xml file at this site: [http://www.4shared.com/file/azhdqCp_/DELIVERY.html]I am running a report in xml publisher. The output of the report prints 2
pages, one page with correct report output and other page is a blank page
with header details.
I want to avoid this blank page. Is there something wrong? Please help to fix this issue!Is the issue with this specific XML Publisher report only?
Do you have all the patches in (Overview of Available Patches for Oracle XML Publisher embedded in the Oracle E-Business Suite [ID 1138602.1]) applied? -- Search for "blank page".
Thanks,
Hussein -
Blank line in xml publisher report -
Hi Friends,
There is one issue in xml publisher report. Its an rdf based xml report
In header section it used to display customer address details. like below
address1
address2
address3
city state province postal_code
country
If address2 is NULL, it prints a blank line in between the total address. Need to avoid blank line and print address3 in address2 position.
How can i remove the blank line? Finally there shouldn't be any blank spaces or lines.
Any idea? Plz post here.
Thanks & Regards,
Arun PeddiUse a conditional region around the Address2. Your if statements could look something like this.
<?if:FIELDNAME!=''?><?FIELDNAME?><?end if?>Have the if statement start at the end of ADDRESS1 and endif at the begining of ADDRESS3.
Richard -
How to print arabic text as water mark in XML Publisher
Hi All,
I am working with Arabic reports,which is conversion of RDF Reports to XML Publisher Reports.
I Developed RTF template,here problem is how can i use Arabic text as a water mark in template.
Please provide me suggestions.
Thanks in advance
Regards
Amardo you have arabic text in your report ? is it correct ?
How To Setup XML Publisher To Show Arabic Characters (Doc ID 556995.1)
so you can try
ARABIC Font Shows As ?? Question Marks In Postscript Reports (Doc ID 981174.1)
you can also post SR -
How to populate null values as blank in cell
Hi All,
I have an query i have data like blow
qtr
data
1Q-4Q 2009
4,069,379
1Q-4Q 2010
3,979,490
and i want result like below
1Q-4Q 2009
4,069,379
% Change
-2%
1Q-4Q 2010
3,979,490
for % age change i have applied the previous function
formula is (data/previous(data)) -1*100
but is coming like below
% Change
0%
1Q-4Q 2009
4,069,379
% Change
-2%
1Q-4Q 2010
3,979,490
for the 1 column i am getting 0% age due to i applied previous function but i don't have data for 2008
so i am trying not to populate 0% for the % change before 2009
I have checked with null value
If (IsNull(Previous [data])) then "" else ([data]/previous[data]) -1*100
so it is populating blanck value but i can not formatting the values as %age
please suggest
how can i solve this issue please advice
Thanks in advance
RanjeetChange your formula to be:
=If(IsNull(Previous([data])=0 then ([data]/previous([data])-1 * 100
You can ignore the else part and it will leave the null cell as blank and you can still use your number format. -
How to link a value in a cell to a page number?
I have a series of diagrams that I'd like to create a table for showing the page it's on, and a description of it. during creation, i an simply store the value of the page number in an array, and use it when creating the table, however, if the diagram is moved onto another page, then the cell shows the wrong page number, and the table loses meaning. Is there a way I can link the page number shown in the table cell with that of the page number it's currently on?
Excellent thank you. While I was creating this sample code, I kept seeing an undefined destination text with either PB or OV shown in the cross references. This was because the textframe inside the frame that contains the image wasn't set to the same geometricBoundaries as the container frame!
#target indesign
var doc = app.documents.add();
// add new page with image
var page = doc.pages.add();
var imageGraphic = page.place(File('image.jpg'));
var imageFrame = imageGraphic[0].parent;
imageFrame.geometricBounds = [0,0,100,100];
imageFrame.fit(FitOptions.fillProportionally);
// add text frame to imageframe for hyperlink dest
var tf = imageFrame.textFrames.add();
tf.contents = " "; // insert blank text
tf.geometricBounds = [0,0,100,100]; // THIS IS VITAL otherwise the destination becomes invalid for some reason
var destination = tf.paragraphs.item(0); // find text / char destination
var destination = doc.hyperlinkTextDestinations.add(destination, {name:"foo"}); // hyperlinktextdestination reference
var creditPage = doc.pages.add();
var creditPageTF = creditPage.textFrames.add();
creditPageTF.geometricBounds = [0,300, 100, 400];
creditPageTF.contents = "...";
var xRefForm = doc.crossReferenceFormats.item("Page Number"); // Default CS5 xref format that shows "Page 45" etc
var sourceText = creditPageTF.paragraphs.item(0);
var source = doc.crossReferenceSources.add(sourceText, xRefForm);
var destination = doc.hyperlinkTextDestinations.item("foo"); // find text anchor by name from above
var myLink = doc.hyperlinks.add(source, destination);
myLink.visible = false;
very confusingly, there seems to be two types of cross references for cs5, cross references for text, which are actually hyperlinks, and crossreferences for tocs i believe (which I know nothing about atm!) -
How to enter a value into datagrid cell in wpf through manually?
Hi,
Here my datagrid rows are in readonly mode here how can i enter the values in to the datagrid cell.(means how can i edit the cell value).i am adding the value to datagrid through programetically, I think for this reason my datagrid rows
are visible in readonly mode. Then how can i edit. Please guide me.
Regards,
BhadramHi Barry,
Thank you for your reply, Now i sending my sample please check it once and suggest me.
MainWindow.xaml.cs
private void Save_Click(object sender, RoutedEventArgs e)
List<CustomerMainViewModel> customer = new List<CustomerMainViewModel>(); customerviewmodel.NameTextField = tbName.Text;
customerviewmodel.AddressTextField = tbAddress.Text;
customerviewmodel.CountryField = countryddl.Text;
customerviewmodel.StateField = stateddl.Text;
customerviewmodel.Product = customerviewmodel.Product1 + "," + customerviewmodel.Product2;
foreach(string str in customerviewmodel.actionCollection)
customerviewmodel.ActionColl.Add(str);
customerviewmodel.actionCollection.Clear();
customer.Add(customerviewmodel);
dataGrid1.Items.Add(customer);
MessageBox.Show("Data Successfully Saved", " MessageBox", MessageBoxButton.OK, MessageBoxImage.Asterisk);
clearValues();
MainWindow.xaml
<DataGrid
Height="144"
HorizontalAlignment="Left"
Margin="79,447,0,0"
Name="dataGrid1"
VerticalAlignment="Top" CanUserAddRows="True"
Width="399" Grid.RowSpan="2" IsReadOnly="False">
<DataGrid.Columns>
<DataGridTextColumn Header="NAME" Binding="{Binding NameTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False" />
<DataGridTextColumn Header="ADDRESS" Binding="{Binding AddressTextField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
<DataGridTextColumn Header="GENDER" Binding="{Binding GenderField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
<DataGridTextColumn Header="COUNTRY" Binding="{Binding CountryField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
<DataGridTextColumn Header="STATE" Binding="{Binding StateField,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
<DataGridTextColumn Header="PRODUCT" Binding="{Binding Product,Mode=TwoWay}" Width="Auto" IsReadOnly="False"/>
<DataGridTemplateColumn Header="ACTION" MinWidth="140" IsReadOnly="False">
<DataGridTemplateColumn.CellTemplate>
<DataTemplate>
<ComboBox x:Name="actionddl" ItemsSource="{Binding ActionColl}"/>
</DataTemplate>
</DataGridTemplateColumn.CellTemplate>
</DataGridTemplateColumn>
</DataGrid.Columns>
</DataGrid>
In the above "xaml" file i am using the attribute "Readonly="False"" but its not effected on my code still my datagrid is in readonly mode, i don't know why it happens.
And I am adding data to my datagrid through "Wpf controls (TextBox,CheckBox,ComboBox and etc...)" while click on "save" button the data added to grid. adding to grid works properly but the entire row is in readonly mode. How can
i solve my problem. -
How to pass Default value of a cell in to input control
Hello Guys,
We have a WEBI which has a floating cell and populated as Today's Date everyday when user runs it. Now user wants little modification and wants Input control for Date. He also wants to pass on the values selected in input control to that floating cell. How can I do that?
Any suggestions?
Regards
AjHi nitya,
I think u didnot get my requirement.
my requirement is i have an complete editable ALV with all fields as input fields.
now when i enter a value under material and press enter i need to capyure the
material value and based on the material value i need to get the details and populate all those values in the respective fields.
All i need to do is get the material number that is entered.
in the pdf of using ALV events it is such that editable cell editors trigger ON_DATA_CHANGED event and non-editable cell editors trigger ON_CLICK event.
But i couldnot find the ON_DATA_CHANGED event in the ALV events.
Help me out in finding the event.
Cheers,
Madhu -
How to compare the value of a cell before changing and after changing.
Hey there,
Now I want to implement a JTable. And the requirement is that users can edit a cell in the Table only once. I think there are two possible ways. One is that after user edited a cell, I will set this cell read only. Another way is to compare the vaule before and after the changing. If it is different, then write back the previous value.
But I did not know how to implement in Java. Can anybody help me?
Thanks alot!
Shellyinevitably, you will have to save a before copy of
the data, what this many times amounts to is that you
will need to have 2 identical data structures before
you start or some type of locking mechanism for each
piece of data.Why is this inevitable? I don't see it as inevitable at all. In fact, it's quite simple to implement a TableModel that returns false when isEditable(int, int) is invoked for any cell that has already had setValueAt(Object, int, int) inovked on it, for example. Depending on the requirements and implementation a different methodology may be needed for determining when the edit has taken place, such as a custom editor that notifies the TableModel when stopCellEditing() is invoked. Heck, overriding editingStopped() in JTable to do it might even work.
So, create a TableModel that returns isEditabe(int, int) as true only if the cell hasn't been edited yet. The only problem to solve from there is how you know when it's been edited. I've already given you a few leads on that, it's not particularly hard but depending on your exact implementation it may require different solutions.
Maybe you are looking for
-
Setting up iCloud and then .... stuck in a loop!
About 6 months ago I wanted to setup iCloud, for easier syncing between my iMac and iPad2. Several things went wrong. My iPad got stolen during setup. I had to change my AppleID. A few months later I bought a new iPad3. I wanted to continu the iCloud
-
Garbled text after inserting a converted MS Word Doc into PDF
I am on a PC running XP professional using Word 2003 and Acrobat Pro v.8. I successfully converted a variety of MS Office (Word, Excel,PowerPoint) documents into Acrobat Pro v8 PDF files. I then took all of these individually converted PDF files and
-
0BBP_TD_PO_1 STD extractor
Hi, we are trying to extract Purchase order data from SRM using the STD data source 0BBP_TD_PO_1.In RSA3 we are not getting any records using this extractor.I checked the function module BBP_PO_BW_EXTRACT and the result is same. We do have some purch
-
'Some images are missing because they were deleted from the document'
Hi, I created a document in Pages v5.2 last week and have just opened it and received the following message: 'Some images are missing because they were deleted from the document' When I try and replace the missing images I get the following message:
-
Datagrid itemRenderer/itemEditor trouble
I have a datagrid in a Flex project, the data grid has an XML file as the source (contents below), now due to the way it is formatted (I cannot change this) some of the data I want to display is inside a tag that isnt at the initial array level. Here