Conditional blank space
Hello All,
I am working on the check printing and i need to create a blank space at the top of the page ,if there are multiple pages. Please let me know, how to achieve this.
Thanks
Rakesh
you can add it conditionally.
drop me a mail with the template and xml.
FUSIONdotOBJECTatGMAILdotCOM
Similar Messages
-
Blank space between Detail section and Page Footer - How to remove it ?
below is the problem.
We make report as followspage header Section details
Employee Information
Report Footer
Page Footer
Other Information
whenever we run this crystal report it leaves space in between after employee information (Detail Section) and before Page Footer.We don't know its a problem of footer or any other else.
When i preview and print out the reports
it showing Detail section 10 Rows (which satisfying condition) and then Blank space and then at the bottom of page shows Page Footer (which contain 2 subreports).
Let me know if you need aditional information on this.
pls provide suggestions.Try with this
1. Suppress any unused sections in both sureports and in the mainreport.
2. Check all the fields fits the sections. Select all the fields in the section and give align top and make all the fields of same height and make it fit to the section.
Hope this solves your problem. -
Blank Space problem in Adobe Form
Hello Gurus,
In my Adobe form, One field has to be displayed based on a condition. So, for that field, in Context tab, condition is specified and its working also i.e. It condition is true then data is not displayed in the layout but I find the blank space for it. I dont want that blank space to be displayed.
Example:
In layout, address is in format as shown below.
Name
Street
City
Region
Postal code
Country
Here, I have a condition that, Region field should not be displayed only for Material eq '123' i.e. same address has to be printed as shown below.
Name
Street
City
Postal code
Country
But, If I give condition then address is shown as below.
Name
Street
City
>Here, am getting empty space & I dont need this blank space to there in the layout.
Postal code
Country
So, Can anyone please help me for this.
Thanks in Advance.
Regards,
UshaHi Usha,
1. Remove the Condition from you Context tab.
2. In the Driver Program check for the condition and fill the value in the internal table which is passed to
the adobe form.
3. Make the subform (under which the field is added in the hierarchy view) as flowed.
4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.
for e.g
if (xfa.form.FORM.SUB_FORM.matnr == "123") {
xfa.form.FORM.SUB_FORM.Region = "hidden";
NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.
Hope this proves to be useful.
Thanks,
Swar. -
Pass parameter with blank space for report ver 6
Hi,
I face a problem that i willing to pass the acno where it's value with blank space, for example ' 9' as parameter into my report, and assign it as v_acno. Inside the report query i add a where condition, acno >= :v_acno. When i run the report and pass acno without ' , it do not show any record. But when i run the report and pass acno with ' then able to show the records.
for example the value i key in
with ' = ' 9'
without ' = 9
So how i can solve it by pass the acno without ' but the record still able to show?
thks
Message was edited by:
user569740
Message was edited by:
user569740Hi Nick,
It occurs because an argument of the DTExec commands must be enclosed in quotation marks if it contains a space. From the dtexe (SSIS Tool): Syntax Rules section of the
dtexec Utility (SSIS Tool) document, we can see:
All options must start with a slash (/) or a minus sign (-). The options that are shown here start with a slash (/), but the minus sign (-) can be substituted.
An argument must be enclosed in quotation marks if it contains a space. If the argument is not enclosed in quotation marks, the argument cannot contain white space.
Doubled quotation marks within quoted strings represent escaped single quotation marks.
Options and arguments are not case-sensitive, except for passwords.
So, you need to make the value of the variable @QUERY_STRING within double quotes in the value of the variable @Cmd or remove the space within the @QUERY_STRING value.
Regards,
Mike Yin
TechNet Community Support -
Extra blank space problem in af:selectOneChoice
Hi All,
I m using <af:selectOneChoice> to display few items in combo box. Now the problem is when the page gets load 1st time, its show an extra blank space in item list, but after selecting any item from the list page gets refreshed and reload again, now it does not have any extra blank space in the list.
How do I remove this blank space from the combo box ???Hi Usha,
1. Remove the Condition from you Context tab.
2. In the Driver Program check for the condition and fill the value in the internal table which is passed to
the adobe form.
3. Make the subform (under which the field is added in the hierarchy view) as flowed.
4. In the script editor, Select the 'javascript' and write the script to hide the form field specifying the condition here.
for e.g
if (xfa.form.FORM.SUB_FORM.matnr == "123") {
xfa.form.FORM.SUB_FORM.Region = "hidden";
NOTE: Javascript is Case sensitive and stops working immediately after the line of code where an error occurs.
Hope this proves to be useful.
Thanks,
Swar. -
Message Mapping using Left justified, right blank/space filled
Hi,
My Interface is outbound Interface.
Suppose source field named 'Filename' is mapped with Target field named 'Filename'.Condition is AS IS(Left justified, right blank/space filled).
How should i do this mapping?Hi Sanghamitra Duttagupta,
you can try this UDF below
public static String fieldJustified(String s)
try
final int fieldLength=20;
char filler=' ';
s=s.trim();
int l=s.length();
while(l<fieldLength)
s=s+filler;
l++;
catch(Exception e)
return s;
return s;
Please reset the value of the variable "fieldLength", in code above to the field length as per your need. The right side will be filled with extra spaces since value of "filler" variable is ' '. you can set this to any character of your choice so that total field length is equal to value of variable "fieldLength" (which is 20 here).
so if input is " hi"
output "hi "
regards
Anupam
Edited by: anupamsap on Aug 1, 2011 1:53 PM -
Removing Blank Spaces caused by Supressed data
Hi All,
How we can remove the balank spaces caused by supressed data in crystal reports.for eg
Item Code:I0002
Timer
For Time Info
100
ItemCode:I00003
Pen
20
if there is txt added against pen as for Timer(For Time Info)
it will leave blank space.How to remove blank space.
Thanks,
NeetuHi Neetu
I have tried replicating your requirement at my end using Xtreme Sample database below are the steps which I have followed.
1)I have customer Id field,Customer name field field placed in details section.
2)Click on Section Expert
3)Click on Details.
4)Check the second option as "Suppress(No Drill Down)".In front of that there is one icon as "X-2".Double click on that icon.
5) Type the below formula
if {Customer.Customer ID}=157 and {Customer.Customer Name} ="Aruba
Sport" then true
else if {Customer.Customer ID}=148 and {Customer.Customer Name}
="Koala Road Bikes" then true
else false
6)Save and close.
With this formula where condition matches the specific criteria it will suppress the section and there will be no blank spaces.The rest of the data will be shown.
Hope it will help you.
Regards
Asha -
Hi guys,
ho wcan we replace blank space in obiee.
i have applied if null function to replace with 0 but it is not workin .it may be a blank space so can we replace blankspace in obiee.We cannot replace null values from report.
Another Solution:
Go to column properties --> Conditional formating--->write the condition (IS NULL) --> Apply strikethough option in properties
Hope this helps u
Thanks
Kishore -
Hi all,
i want to suppress the Blank spaces is there any option I have tried in query properties by supressing zeros but i cant find the solution.
GL account Amount
100000 10
20000
30000
40000
I want to show the report only G/L account 100000 and amount is 10 i dont need the remainingHi there,
Are you sure you don't have any more collumns? Because with only those two columns supressing the zeros in query definition (applied both to rows and columns) should do the trick.
Nevertheless you could create a new formula that is Amount different than zero, returning zero if false, and 1 if true.
Hide that formula, and create a condition to display only values where that formula is 1.
Diogo. -
Assign blank space to numeric variable
Hi
val1 type numc.
In the invoice programe, we are showing the free issue qty.
free issue qty is assign to the val1.
if val1 = 0
i need to print blank value in the smartform .
so i need to assign blank space to the val1 (type numc).
for the blank purpose i m using below code.
currently val1 type string.
CONCATENATE '' '' INTO val1 RESPECTING BLANKS.
rgds
pramodHi,
There are 2 ways viz:
1. Define another variable val2 with type char. Put a check if val1 = 0 then pass the value of val1 into val2.
2. In smartforms I hope you are displaying free issue qty by a text element. Double click on the text element. Go to 'Conditions' tab and put a check If val1 NE 0 or val1 NE INITIAL.
This means free issue qty will be displayed as a blank space if val1 having 0 value and free issue qty will have some value if val1 is not equal to 0.
If you are using smartforms you can go for option 2. Hope this clarifies.
BR,
Atanu
Edited by: Atanu Mukherjee on Jul 28, 2011 11:45 AM -
Fill with blanks(spaces) a VARCHAR2 type
Thanks in advance,
I have a VARCHAR2 type rtesta's var of length x(100 char)
how i can fill(write) it without create a other varchar2 var that it'll be only filled with blanks(spaces). e.g
rtesta := ' PC'||fil1||'xxx||fill2....
where fil1 = say 10 spaces.. fill2 = 63 spaces and so on
I would like something as
rtesta := ' PC'|| RPAD(null,10)||'xxx||RPAD(null,63) ...
but.... Oracle treats an empty string as null. And nulls are always a bit special within Oracle. Particularly, rpad('', n) and lpad('', n) returns null.
Exists a built in for my problem?
Thanksalter table your_table modify(your_column char(100));
update your_table set your_column = ' '
where your_clumn is null; /* (added) But,this is no good for performance */
alter table your_table modify(your_column varchar2(100));Exapmples.
SQL> set null (null)
SQL> create table test (vc varchar2(100));
Table created.
SQL> insert into test values ('');
1 row created.
SQL> insert into test values ('a');
1 row created.
SQL> insert into test values ('abcde');
1 row created.
SQL> select substr(vc,1,10) vc,length(vc) len from test;
VC LEN
(null) (null)
a 1
abcde 5
SQL> alter table test modify(vc char(100));
Table altered.
SQL> update test set vc = ' ' where vc is null;
1 row updated.
SQL> alter table test modify(vc varchar2(100));
Table altered.
SQL> select substr(vc,1,10) vc,length(vc) len from test;
VC LEN
100
a 100
abcde 100----
I misread OP's problem, sorry.
Message was edited by:
ushitaki -
How to use blank space replace NULL on discoverer viewer
Hi,
There is a report that has a varchar field should show text values, and if NULL, I need it show blank space, and does in disco desktop, but on viewer, the same worksheet shows NULL.
Even I changed in the Tools - Options - Format menu(desktop), it still show NULL on viewer.
why?
please help! thanks!
sammyHi Sammy,
Unfortunately ‘some’ of the settings set in Desktop do not carry over to Viewer. These options need to be defined for Viewer itself.
A temporary way to set the Viewer settings is to click on ‘Options’ when logged in Viewer itself. You’ll have to open a responsibility or report before this option becomes available to select. Within here you’ll be able to change the way NULL values are seen. However this method only makes the change for the User you logged in with.
To make the change for all users, it’s best to edit the PREF.TXT file on the Discoverer Server. Please view the documentation below for more information on how to configure Viewer. For windows platform click here : http://download-uk.oracle.com/docs/html/A90287_01/toc.htm,
For Unix platform click here : http://download-uk.oracle.com/docs/html/A90288_01/toc.htm. Once you’ve run the applypreference script, these settings will be forced down to all users of Discoverer.
Hopefully this will help ;-)
Lance -
I have a few problems...
I wanted to make a partition to install windows, I tried to use bootcamp 5 where it wanted to partition and install windows at the same time. I do not have a cd of windows but instead had it on a flash drive. Bootcamp couldn't find it. Instead I was reading forums and found that there was another way to install windows by partioning your harddrive using the disk utility, downloading the bootcamp drivers, and installing rEFIt (an app that when starting the compouter a menu would come up to boot windows from the flashdrive). I try that and the windows install screen gets me to the point where I pick a partition. I attempt to pick the partitioned drive but a message comes up telling me that "this is of the GPT partition style" and windows cannot be installed on the drive.
So now I went back to disk utility and deleted the partition but there is still blank space. I wanted to retry and install windows through bootcamp (somehow) but a message comes up that there cannot be any partitions or that a partition must be created using bootcamp. SO i keep trying to drag the partition over the blank space and hit apply but nothing happens.
By the way I was trying to install windows 8 pro, some forums would say that you cant install win8 however I found others that said you could. How do I fix my partition and how do I use bootcamp to install windows (preferrably 8)?Csound1 What Ive been trying to explain is that I have been running bootcamp, I open the app where the first screen is the introduction, i hit continue, the first time I select "download the latest windows support software fromm Apple" then I return and instead select "Install Windows 7." Then hit continue. The third screen is where I "Create a Partition for Windows" I set Windows to 80 gigs then hit INSTALL. As stated before Bootcamp cannot find the install drivers saying "The installer disc could not be found." My windows software is on a USB drive not a disc, I tried using a virtual disc reader to make it appear that the windows software was running on a disc, still no luck. What I would like to know is how to install windows on bootcamp.
-
hi experts,
i have a requirement that i need to develop a report which is same as t-code cs11,
but in cs11 we are getting the report for a single material and its bom components .
in my require ment i need to develop a report for range of materials, i almost did that but the problem i am facing
is how to obtain a blank space in alv report, after completion of single material and its components r displayed.
can any body pls suggest me.
thanks®ards
maheshlaphi srihari,
i tried that but the blank lines r appending at the end of internal table.
the following is the table ( t_main ) i am passing to the function module
LOOP AT T_STKO INTO W_STKO.
W_MAIN-STLNR = W_STKO-STLNR.
W_MAIN-STLAL = W_STKO-STLAL.
W_MAIN-STLST = W_STKO-STLST.
W_MAIN-BMENG = W_STKO-BMENG.
W_MAIN-BMEIN = W_STKO-BMEIN.
READ TABLE T_MAST INTO W_MAST WITH KEY STLNR = W_STKO-STLNR .
W_MAIN-MATNR = W_MAST-MATNR.
W_MAIN-WERKS = W_MAST-WERKS.
W_MAIN-STLAN = W_MAST-STLAN.
READ TABLE T_MAKT INTO W_MAKT WITH KEY MATNR = W_MAST-MATNR .
W_MAIN-MAKTX = W_MAKT-MAKTX.
APPEND W_MAIN TO T_MAIN.
CLEAR W_MAIN.
ENDLOOP.
can u pls send me some sampe code.
thanks. -
How to remove the extra or blank space from RTF Template
Hi All,
Try to remove the extra space from xml template.
Here I have attached the .xml file with .rdf, here the issue is when you load the data we will get 2 page output but when I am trying to add any column or extra space in the last page of this template the output getting 4 pages with lot of blank space. Could you please guide me to solve this issue.
Could you please let me know how to do the attachement in this forum as I am new to this community.
Regards,
SushantCan you drop in a mail with RTF, xml data to [email protected], I will help you on the issue.
Maybe you are looking for
-
Error while adding users to a group created in shared services
Hi All, I am using EPM 11.1.1.1.0.. When i log into SHared services as admin and create a group i get the following error when i try to add the user members to the group. "Servlet error: An exception occurred. The current application deployment descr
-
I am on a PC. I had to uninstall InDesign CC. How do I get it back in the cloud to reinstall?
-
How to write a Timestamp in an Oracle table?
Hi, I am pretty new to SAP IdM and therefore have a very basic question. I am using SAP IdM 7.2 SP8 on Oracle. I was creating a job where I calculated some values from the database with a 'From Database' path. Then I wanted to store these values in a
-
Tax calculation in backend and in SRM (classic and standalone scenario)
Hello, I have an issue regarding calculation of tax. 2 scenarios are used in common: classic and standalone. One node of Organizational structure is using classic scenario, another node is using standalone. So I have 2 Accounting Systems defined (one
-
Where can i find the infoobjects in the datasources in the ecc
hi frnds, i have some 30 info objects , i have to find in which datasources they are........there are lot of datasources here..........can anybody help me with ur answer and i have to find this only in ECC..........