Crystal Report: How to make the fixed height box in all pages.
Post Author: WTech
CA Forum: Crystal Reports
I want to make the height of box fixed size in all pages. The box in outside the detail section. Currently the size of the box changes according to the content of the detail section. Could anyone suggest me how should i achieve it ?
Hi srinivasan,
If you want to keep "Save" and "Stop" common, Why do you want to keep them on Tab control? Is your tab control taking entire space on Front panel? If so, you can have SAVE and STOP on other vi, and you can call this vi (MODAL).
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved.
Similar Messages
-
How to make the common control button for all pages in TABCONTROL​?
Dear all,
I'm using TABCONTROL for my application. I'm having STOP and SAVE control. I have to show this button to all pages in TABCONTROL.. How do i make it?
Kindly help me?..
Regards,
Srinivasan.P
Solved!
Go to Solution.Hi srinivasan,
If you want to keep "Save" and "Stop" common, Why do you want to keep them on Tab control? Is your tab control taking entire space on Front panel? If so, you can have SAVE and STOP on other vi, and you can call this vi (MODAL).
Gaurav k
CLD Certified !!!!!
Do not forget to Mark solution and to give Kudo if problem is solved. -
Crystal report: How to concatenate the string whilereadingrecords?
I have description field in the database and I need to concatenate the value of the filed into one line. How to do that? I tried as below
Stringvar strtitle="";
whilereadingrecords;
if Mid({OrderDtl.PartNum},1,2)="T3" Then
strtitle & "T3- Background Music,"
Else if Mid({OrderDtl.PartNum},1,2)="T6" then
strtitle & "T6- Dance"
This is not working and showing only last value instead of concatenated string. I am very new to Crystal report and i am using Crystal report 2008
Thanks,
RajHi Raj,
I guess you're trying to concatenate the descriptions so that they appear on a single line, perhaps, on the report footer?
Try this formula:
whilereadingrecords;
stringvar strtitle;
strtitle := strtitle + ">" + {description_field_from_database}
The ">" sign is to separate the records from each other; you may choose to remove this from the formula or use another separator.
Place the above formula in the details section and suppress the section.
Create this formula to display the result and place it in the Report Footer section:
evaluateafter(@Name_of_the_above_formula);
stringvar strtitle;
Let me know how this goes!
-Abhilash -
How to make the Fix Date & Qty automatic
Dear Friends,
In the Sales order schedule line there is an indicator Fixed Date & Qty.
How can I make this indicator to be automatic when I create the Sales Order.
Please help
RaviHi Ravi,
Goto SHD0 T.Code and create a transaction variant.
Assign the same to your sales order type.
When you try to create a sales order then this will be ticked by default.
The same you can do in OVZJ T.Code also.Here against your sales area,you have to tick it.
Regards,
Krishna. -
How to make the delegeted mail box as a default mail box while sending .
Hi,
Good afternoon!
I have delegated one mail box in outlook .when i try to send the mail it is showing the my name in from (New Mail).
I need to change the this default setting . i want delegated mail id in from when i open a new mail .
Thanks
Amit Saxena
Delhi India .Hi,
If you have Full Access permissions on your delegate mailbox, we
can configure your mail profile with that mailbox instead and add your own as a delegate mailbox.
In addition, we can use Macro code to set the From address programmatically which
works for any address that you have Send As or Send on Behalf Of permissions for.
For more information, please refer to the article below:
http://www.howto-outlook.com/howto/setfromaddress.htm#macrocode
Best Regards,
Steve Fan
TechNet Community Support -
How to make the Page UP and down work on a table control screen?
Dear all,
Can some one suggest how to make the table control screen work with Page Up and Page down controls.
when I press on Page down it works for the first time and after that i need to select the table to make it work the second time. it there a way I can make the index on the screen stay on the table control at all times.
Regard,
VjTake this code as a referance:
Sample code for vertical scrolling in PAI processing will look like this:
MODULE user_command_XXXX INPUT. (XXXX is screen no.)
CASE ok_code.
WHEN 'P--'.
CLEAR ok_code.
PERFORM paging USING 'P--'.
WHEN 'P-'.
CLEAR ok_code.
PERFORM paging USING 'P-'.
WHEN 'P+'.
CLEAR ok_code.
PERFORM paging USING 'P+'.
WHEN 'P++'.
CLEAR ok_code.
PERFORM paging USING 'P++'.
*& Form PAGING
* Form to do scrolling for screen XXXX
* -->CODE OKCODE value (P--, P-, P+, P++ )
FORM paging USING code.
DATA: i TYPE i,
j TYPE i.
CASE code.
WHEN 'P--'. <table control name>-top_line = 1.
WHEN 'P-'.
<table control name>-top_line =
<table control name>-top_line - line_count.
IF <table control name>-top_line LE 0.
<table control name>-top_line = 1.
ENDIF.
WHEN 'P+'.
i = <table control name>-top_line + line_count.
j = <table control name>-lines - line_count + 1.
IF j LE 0. j = 1. ENDIF.
IF i LE j.
<table control name>-top_line = i.
ELSE.
<table control name>-top_line = j.
ENDIF.
WHEN 'P++'.
<table control name>-top_line =
<table control name>-lines - line_count + 1.
IF <table control name>-top_line LE 0.
<table control name>-top_line = 1.
ENDIF.
ENDCASE.
ENDFORM. " PAGING
Regards,
Ravi -
HOW TO MAKE THE FIELDS ON TABLE CONTROL SCREEN FIXED!!
Dear all,
Can you please tell me as to how to make the fields on the table control screen fixed (not respond to the scroll bar) i.e. simillar to MC88 screen , the first two fields are fixed and don't respond to the scroll.
Please Help!!!!
VjHi
In TC, goto attributes and set 'Fixed columns' as 2. This will fix the first 2 columns.
Regards
Navneet -
How to make the row as a hyperlink in Crystal 2008
Hi,
Could you give me advise on how to make the row as a hyperlink and call another report.
Thank you in advance.
RoseHi Sastry,
I was able to create the subreport and its working.
Thank you so much.
Regards.
Rose -
ScrollRect and how to know the real height
I am having a problem when I try to know the real height of the sprite.
I have a clas:
package
import flash.display.Sprite;
import flash.events.TimerEvent;
import flash.geom.Rectangle;
import flash.system.Capabilities;
import flash.utils.Timer;
[SWF( width='800', height='600', frameRate='30', backgroundColor='#ffddee' )]
public class Test1 extends Sprite
private var timer:Timer;
private var sprite:Sprite;
public function Test1()
init();
private function init():void
timer = new Timer( 2000, 0 );
timer.addEventListener( TimerEvent.TIMER, onTimer );
sprite = new Sprite();
sprite.graphics.beginFill(0x00ffaa);
sprite.graphics.drawRect(0,0,200,450);
sprite.graphics.endFill();
sprite.scrollRect = new Rectangle(0,0,200,200);
addChild( sprite );
show(0);
timer.start();
trace("START "+flash.system.Capabilities.version);
private function show(cur_page:int ):void
trace("height = "+sprite.height);
trace("scrollHeight = "+sprite.scrollRect.height);
trace("boundsHeight = "+sprite.getBounds(sprite).height);
private function onTimer( e:TimerEvent ):void
show(0);
and it displays:
height = 450
scrollHeight = 200
boundsHeight = 450
START WIN 10,1,102,64
height = 200
scrollHeight = 200
boundsHeight = 200
Why sprite.getBounds(sprite).height first time brings the real height, and then the value by appropriate sprite.scrollRect.height, and how to fix it?I found the solution, which was published on 24th February 2009:
http://usecake.com/lab/find-the-height-and-width-of-a-sprite-with-a-scrollrect.html
* This function works like DisplayObject.getBounds(), except it will find the full
* bounds of any display object, even after its scrollRect has been set.
* @param displayObject - a display object that may have a scrollRect applied
* @return a rectangle describing the dimensions of the unmasked content
public function getFullBounds ( displayObject:DisplayObject ) :Rectangle
var bounds:Rectangle, transform:Transform,
toGlobalMatrix:Matrix, currentMatrix:Matrix;
transform = displayObject.transform;
currentMatrix = transform.matrix;
toGlobalMatrix = transform.concatenatedMatrix;
toGlobalMatrix.invert();
transform.matrix = toGlobalMatrix;
bounds = transform.pixelBounds.clone();
transform.matrix = currentMatrix;
return bounds;
I just want to make a sprite that can be scrolled using the scrollRect, for this I need to know the scrollRect.height and full height of the sprite
The solution I've found works, but I would like to know how to get the full height of the sprite that has a scrollRect, using the native language facilities.
Is this a bug, or am I doing something wrong? -
Hyperlink on Crystal Report: how to popup a window without menubar?
Hyperlink on Crystal Report: how to popup a window without menubar?
Hello Experts!
I'm using VS2003 with Crystal Reports for VS2003.
I need to show a popup window clicking a hyperlink text object on my crystal report.
On the CrystalReportViewer I have set up HyperlinkTarget=_blank, and it's working fine.
But when I click on the hyperlink and shows the popup window, how can I show the popup window without menubar, toolbar, directories, etc.
Something like:
window.open('../MyPage.html?id=id001" + Cad + "',null,'menubar=no,scrollbars=yes,toolbar=no,location=no,directories=no,resizable=yes,status=yes')Adam is correct. The closest you can get is setting the CrystalReportViewers HyperlinkTarget to _blank. It was seen as a potential security vulnerability to allow you to run scripts from a Crystal Reports. In our Enterprise product you can use a reg key called EncodeHTMLForSingleLineFieldObjects to control whether this can be turned on or off.
Unfortunately this was never ported over to our .NET CrystalReportViewer.
This is referenced in notes 1202803, 1219298, and 1219301.
https://www.sdn.sap.com/irj/sdn/businessobjects-notes
Edited by: David Hilton on Jul 16, 2008 4:17 PM -
How to make the vendor column have figure in GRIR line item with RE document type?
Dear Experts,
Could you tell me how to make the vendor column have figure in GRIR line item whose document type is RE?
Thanks!
Xinling ZhangHi ,
You are using FAGLL03 .
FAGLL03 report vendor code is blank
vendor number in new FAGLL03 tcode (offsetting account information)
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/30b96fed-eb5d-2e10-1792-f3ff9f65df8a?QuickLink=index&…
Also check OSS note
Note 112312 - Line item: Display of offsetting a/c information
Note 1034354 - FAGLL03: Display of offsetting account information
Many Thanks -
How to make the status of a sales order complete of which PART DELIVERY
How to make the status of a sales order complete of which PARTIAL DELIVERY has already done. <b>(Assigning rejection status not accepted)</b>
Hi Gyana
There is no document with me. But I can confidently say that because I am using this functionality.
In my case I have created a Order Reason as "Short Closed". once you short close this order only the balance quantity gets rejected (provided you have already made previous delivery and PGI).
Try it in one of your test clients if you have. Once it is short Closed it wont also show in the orders due for processing in Production.
Also you can generate reports based on this if your customer wants to know how many order he has short closed, qty of item short closed etc.
Try it.
Rgds
Sunil -
How to make the location of an iPhone that was stolen?
how to make the location of an iPhone that was stolen?
If you installed the app Allan is referring to, go to www.me.com on your computer.
Reporting a lost or stolen Apple product -
How to make the inputs appear in Playback
Hi,
I would like to know how to make the inputs (line-in, mic, SPDIF-in) appear in playback of windows's mixer ?
Im running XP pro sp3 with XFI Extreme Audio PCI-Express.
I dont know why but there is no inputs in playback that making me unable to hear it while its being recorded.
<img border="0" height="405" width="640" src="http://img70.imageshack.us/img70/672/mixergq0.png">
<img border="0" height="542" width="640" src="http://img399.imageshack.us/img399/486/allmysettingsmq2.png">
Message Edited by Nuja on 0-06-2009 2:07 [email protected]- I've read a little more and come to these conclusions:
. The instructions presume that a CD is included with the card for the purpose of installing the software. A CD/DVD reader is a requirement for this reason.
2. The card uses Intel HD Audio. This changes enough of what I know about CL's card that I really don't know that the lack of external inputs in the playback mixer is not intentional and uni'versal. A recording application could let you listen to what is being recorded by having an option of playing back what's being recorded.
I have enough uncertainty now that I don't think it's useful for me to continue commenting. If someone who has a? PCI Express X-Fi Xtreme Audio that came with the software CD and hard-copy documentation wishes to share whether or not they have line-in, etc. in the playback mixer, it could be useful.
-Dave
?[email protected] -
How to make the diagonal line in the swing table cell?
Hi all,
How to make the diagonal line in the swing table cell just like the link below?
http://61.132.17.188/webber/table.gifOne improvement.. To get a line that is neat, use a bit of Graphics2D
public void paintComponent(java.awt.Graphics g)
int w = getSize().width;
int h = getSize().height;
// draw a line between (0,0) and (w,h)
g.setColor(getForeground());
if (strTop == null)
strTop = " ";
if (strBottom == null)
strBottom = " ";
java.awt.Graphics2D g2 = (java.awt.Graphics2D)g;
g2.setRenderingHint(java.awt.RenderingHints.KEY_ANTIALIASING,java.awt.RenderingHints.VALUE_ANTIALIAS_ON);
//g2.setStroke(new java.awt.BasicStroke(14.0f));
g.drawLine(0, 0, w, h);
//the following lines will draw the two strings,
//one above the top of the line and the above below it.
g2.drawString(strTop, (w/2)+2, (h/2)-2);
g2.drawString(strBottom, 2, (h / 2) + 2);
//the x,y for drawString are only based on assumption. //do necessary changes to suit ur needs.
}Then create a TableCellRenderer and set it to the Table Header for ur table's 1st row.....
Cheers
Maybe you are looking for
-
Multiple file attachments in Forms ?
I have a form based on a table which stores documents and then lets the user save and print these documents one at a time. I have a requirement to download multiple files and have them printed/ saved as a PDF file with different headers. Is there a w
-
Why Can't I Log Into Facetime Or Mail
Hello! I have a new iMac and I've tried signing into Facetime and Mail with my Apple ID account, but a message pops up that says, "Apple ID/Password is incorrect". I know I am typing in the right password and I've changed it to try it with a differen
-
Odd sounds and random disconnect!!!
Hello, I have just updated to iso7 and had to make a call lastnight. during the call the iphone (5) made a high pitched odd sound and then went silent and then disconnected me, i called back and again it happened during my call. this happened a total
-
Best way to have Grouping in Report(rld) completely independent of rld file.
hi, I have reports which are used by me multiple clients. Reports have parameters like Group1 which are multi-value. e.g : Group1 has firstname,lastname and fullname values. Table in report has group expression =Fields(Parameters!Group1.Value).Value
-
Safari won't open since update
I don't think I have the same plug-ins listed for previously posted answer. The Internet Plug-ins that I don't recognize are npg.plugin, nsIQTScriptablePlugin.xpt, QuartzComposer.webplugin, SharePointBrowserPlugin.plugin, and SharePointWebKitPlugin.