Changing boilerplate at runtime in reports 10g
Hi,
Is there any way to change the column heading at runtime? Can any body help me?
Thanks
I want to change the boiler plate text based on the record number. For the first record I want to display one boiler text,second record another one.
For example, I have the records like this
Deptno Empno
10 111
2222
20 3333
44444
I want display for first record as empno1, for second record as empno2 and so on...., It has to reset for each department.
How can I implement this?
Can you please help me?
Thanks
Similar Messages
-
Change user on runtime in forms 10g
Dear all,
I want to switch user in oracle forms 10g runtime.
for example I have three user "usr1", "usr2", "usr3" and one main user "main_system"
In forms i have four button i.e bt1,bt2,bt3,bt4
Currently when user access the forms user is "main_system"
If user press button "bt1" then forms connect with "us1".
If user press button "bt2" then forms connect with "us2".
If user press button "bt3" then forms connect with "us3".
Finally user press button "bt4" then forms connect with "main_system"
I hope you will help me and thanks in advance
Regards,
Saeed ul haqHi user11957950
Pls share us the code to inspect the problem ...
did u try using the alias of the data base... ?
the following is an example that can help....
BEGIN
:global.quit := 'FALSE';
:global.v_attempt := 0;
END;
WHEN-WINDOW-ACTIVATED-TRIGGER
--MAXIMIZE WINDOWS
SET_WINDOW_PROPERTY(FORMS_MDI_WINDOW, WINDOW_STATE, MAXIMIZE);
SET_WINDOW_PROPERTY('LOGIN_FORM', WINDOW_STATE, MAXIMIZE);
IF :global.quit='TRUE' THEN
Log_on;
END IF;
ON-LOGON TRIGGER
logon(get_application_property(USERNAME),
get_application_property(PASSWORD)||'@'||get_application_property(CONNECT_STRING), FALSE);
if not form_success then
:global.bad := 1;
raise form_trigger_failure;
end if;
LOGON BUTTON CODE
WHEN-BUTTON-PRESSED TRIGGER
if :LOGIN_BLOCK.USERNAME is null then
message('User must be entered !');
go_item('LOGIN_BLOCK.USERNAME');
return;
end if;
if :LOGIN_BLOCK.PASS_WORD is null then
MESSAGE('Password must be entered !');
go_item('LOGIN_BLOCK.PASS_WORD');
return;
end if;
set_application_property(CURSOR_STYLE,'BUSY');
:global.bad := 0;
if :LOGIN_BLOCK.CONNECT_STRING is null then
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD, FALSE);
else
logon(:LOGIN_BLOCK.USERNAME,:LOGIN_BLOCK.PASS_WORD||'@'||:LOGIN_BLOCK.CONNECT_STRING, FALSE);
end if;
if :global.bad = 0 and form_success then
set_application_property(CURSOR_STYLE,'DEFAULT');
open_form('MAIN_MENU');
ELSE
:global.v_attempt := :global.v_attempt + 1;
set_application_property(CURSOR_STYLE,'DEFAULT');
if :global.v_attempt < 3 then
MESSAGE('Username/Password was invalid. Please re-enter !');
go_item('LOGIN_BLOCK.USERNAME');
else
MESSAGE('Three Invalid Login Attempts. Account Locked');
exit_form(no_validate);
end if;
end if;
CANCEL BUTTON
WHEN-BUTTON-PRESSED TRIGGER
BEGIN
EXIT_FORM(no_validate);
END;
PROGRAM UNIT Log_on
PROCEDURE Log_on IS
BEGIN
:global.quit := 'TRUE';
exit_form(no_validate);
END;
if this didn't solve ur problem pls tell us what error did u get pls tell us the details...!
Hope this helps...
Regards,
Abdetu... -
Report 10g: Runtime Parameter Form
Is there any way in Reports 10g to trigger Parameter Validation just after
user enters a Parameter?
I would like to have dynamic LOV in Reports Parameter Form....
So contents of LOV list items in Report Parameter #3 would depend on the user selection from LOV in Report Parameter #1It is not as simple as just adding this parameter to the URL. You have to do some coding too.
The basic problem is that the paramform code contains a HTML FORM without any action. So, you have to create an action yourself.
See Metalink note 139546.1 on how to modify your reports (there should be a white paper on OTN too, but I can't find the link anymore).
Bottom line is: yes, it is much simpler to use Forms as your parameter form. -
ORacle reports 10g conditional formatting
ORacle reports 10g
Trying to hide a txt field without losing the line
If I hide the field depending on a condition, all lines below move up - I do not want this to happen
Any suggestions ?
XML is out of the question at this time on this report.If possible, change the vertical elasticity of the item to 'Fixed'. If it is not feasible, then do you have any other items on left or right of the hidden item, which you do not hide? If you enclose all the items (including the item which is in question) within a frame. And change the line color of the frame to transparent. Vertical elasticity as 'Variable'. If that is also not possible, then create a boilerplate text (type . there), next to the item. Change the color of the '.' to white and font size to 2. So it is not visible. When item is hidden, '.' will be there and lines wouldn't move up.
Hope this helps. -
Migrating Graphs from Reports 6i to Reports 10g
While migrating Graphs from Reports 6i to Reports 10g is there a possibility of maintaining the same graphs rather than recompiling them using the Graph Wizard of Reports 10g. I have hundreds of reports with graphs and will be an uphill task to re-draft all the graphs. Kindly suggest alternatives to overcome this dead-lock.
Thanx in advance
SridharHello Sridhar,
10g is not supporting Graphics builder. So you got to create/insert all these 6i graphs in 10g. Open the 6i report and compile in 10g. It will give you file not found error. Delete the graph area in the layout editor.
Then drag the chart icon and drop in layout. Redesign again. Offcourse it is not fun. But there is no way.
Also there are tons of bugs in 10g report Graphs. You won't find some cool features like Others % option in the pie slice provided by Graphics bulider. You got to change graph.xml file for some of the features. Even the graphs looks ugly in 10g. Migrating graph reports is really frustrating in 10g. But we have no choice. Recently we migrated to 10g. Becareful with matrix reports. 10g keeps on getting crashed when ever we develop matrix report. GOD knows the reason.
But 10g has some very very good features like Distribution
Cheers.
Ram. -
SRW.SET_PRINTER_TRAY in Report 10g...Urgent help please
I am facing problem in getting printout from desired tray in reports 10g.I have below beforereport trigger written:
function BeforeReport return boolean is
begin
SRW.SET_PRINTER_TRAY(' Tray 3');
return (TRUE);
end;The same is working good in report 6i.I run printerdrivertest and it has only one error :
**** DT112: DRIVER ERROR: Color has changed
I don't think this is related to any tray selection.
Please help me.I need to do it very soon.Lookong for expert's help..Rejesh
I dn't have any printer without space in name.Is that space issue?It is printing good if i run it in paper layout but it is not working in browser.
Thanks -
How to debug reports in Reports 10g
Hi,
I'm customizing one R12 seeded report.Seeded report is working fine but when I modify the report by changing the query criterion then it's failing.Is there any debug feature like dbsm_output with sqlerrm in reports 10g .I can use srw.message to put messages inbetween.My report is failing in before report trigger itself.In the before report trigger I'm using lot of bind parameter and dynamic query construct.Is there any way I can get actual query construct from dynamic query the way we get it in back end using dbms_output and also trapping errors like sqlerrm?
Thanks,
Kiranyour report is from EBS Release 12?
then you have this sentece
SRW.USER_EXIT('FND SRWINIT');.
a user exit
you can call from the builder
you need to run with this sentence from ebs environment
comment this sentence
and similar in after report trigger
if you use views of ebs you need to set in before report the environment to ebs
you need to use
mo_global.set_policy_context ('S', p_organization_id);
inv_globals.set_org_id (p_organization_id);
fnd_global.apps_initialize (-1, 50587, 401);
the values of app_initialize depending the product that you use, (INV, AP, PO, etc) -
Hi Gurus,
I am using an Boilerplate in the Reports 10g. In the Property Inspection I am passing
Source File Format : Image
Source FileName : &P_IMG_LOCATION
Where &P_IMG_LOCATION is the dynamic location which is fetched from the database
For Eg . &P_IMG_LOCATION will be \\oracle\logo.bmp
But It is giving accepting &P_IMG_LOCATION in the Source FileName.
Please tell me how can i pass the location???
Best Regards,Yeah, you can't do that. Instead, in your data model, create a formula column that is populated from &p_img_location. Then, set the "Read from File" property to "Yes" and the "File Format" to "Image". In your layout, create a new field and use the new formula column as the source.
Message was edited by:
Brian Hill -
Hi everybody!!!
I have a report, which has a simple query with a where cluase based on a character column. the value of this column is passed as a parameter. When the parameter is in english the report works fine (the report format is in pdf) and when the parameter is in arabic then the pdf file is blank even the database has records. If i run the query with arabic character in the where condition, the query returns the result.do i have make changes in uifont.ali. other reports in the application display arabic properly.
Please suggest....
Thanx
NajeebSolved my problem :)
well what i did in Contronal panel >>>> regional and language options >>>> advanced then i chose there Arabic (Saudi Arabia) it was English United states by changing it to Arabic (Saudi Arabia) i was able to write arabic in property palette / all locations at forms 10g
Regards -
Report 10g print preview problem
hi,
i use report 10g (HTMLCSS)
when send to printer i have problems as:
1- page stream should not show to print preview
2- page sizing changed in print preview
but when send directly to printer without page stream i have not problem with page sizing and margin just i have problem with page number i cant set page number as ( from page to page)
please help me.
thanksWhile printing report from the HTML page you can change the margin and header/footer setting by clicking or File>Page Setup>Margin & Header/Footer.
Just edit those property upon your requirement and then print report.
-Ammad -
After converting the reports 6i to 10g, all the format are missing in the output.
We have horizontal line, vertical line and column header line in all the reports. But in report 10g output displays with out any horizontal or vertical line. This line formats are very important in few reports like purchase order, sale order prints.
I am using RP2RRO library.
Any solution.I am using HTML.
PDF output displays it correctly but orientation is changed. In the report orientation is Landscape. Even in reports 6i, it was perfect. But in 10g desformat as pdf, the orientation is changed to pdf. -
How to change the title of a report by programmation at the run time?
Hi,
I would like to change the title of my report at the run time.
Is it possible?
If someone can help me...
Thanks,
Mbohello,
what do you mean with "title" ?
a couple of approaches :
- Runtime Customization
- lexicals
- before report escape HTML
regards,
the oracle reports team --pw -
How to change the database in Crystal reports
To give an overview there is one project going on where the oracle database is getting migrated from 10g to 11g.
All the details of database like IP, port etc are changing as part of this.
I can see the driver name configured as crdb_ado (Custom driver).
We have an test environment for 11g against which we have to point all the reports and test it.
Could you please let me know the below queries
Where and how to change the IP details in the crystal reports to point to new test and prod databases.
Overview on this crdb_ado driver
Basically the database is getting changed and we want the reports to point and run from the new database.
ThanksHi Vissu,
Thanks for your reply.
We need to change the database from the reports which are already running from central management console.
I can see a custom driver crdb_ado is being used and it connects to a database.
Could you please let me know where the database configuration is done.
Ideally we need to add one more database to a config file which i am not able to find.
I guess it should be similar to tnsnames.ora file in oracle where the different databases are stored.
From the above image I would like to know where the server details (NECTAR_Prod) would be configured.
Thanks in advance -
Making PLL library code amendments effective in Reports 10G
What is necessary to cause a change to a PLL library program unit that is shared by many reports effective in all the reports?
I have read:
*[http://www.tek-tips.com/viewthread.cfm?qid=1021116&page=13|http://www.tek-tips.com/viewthread.cfm?qid=1021116&page=13] +"to make changes available you need not only to save the changes, but to delete and reattach it in the Attached Libraries node."*
Is this correct?
If so, doesn't this make PLLs pretty useless for Reports common code ?
I am using Reports 10G.
JonathanYou can have just pll files in the directory, but Reports has to compile the library every time you use it. Therefore it is better to deploy plx files.
When you deploy at a customers site, it is always better to give them the plx files, since they cannot change the code that way.
If you get an error message deploying the plx, it probably means that the database where you developed your pll and the database where you deploy the plx are not the same. See if there are any differences (in table structure, stored procedures etc.). Maybe you have hardcoded schema owner or something in you pll. -
Changing picture at runtime using delphi
Post Author: iman_400
CA Forum: Other
Please help me, is there anyway we can change picture at runtime using delphi 7.0 and CRXIR2?Hi, Lee;
For the version of Crystal Reports that comes with .NET, you can use something like one of our samples shows:
https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
Look for the sample, vbnet_win_DynamicImage.zip. It uses an ADO.NET dataset to change the image.
For Crystal Reports XI R2 and Crystal Reports 2008, you can more directly change the image location using built in functionality.
In the Designer, choose Insert > Picture. Choose a default image to show and save it. Right-click on it and select Format Graphic. Go to the Picture tab and click the formula button for Graphic location. Save the report.
Then, at runtime you can populate the Formula with the new location for your image, either a URL or disk file location.
See the following note for more information:
[Image|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373334%7D.do]
Best Regards,
Jonathan
Maybe you are looking for
-
How can I create an automatically updating date in my template?
I've created a template using Pages 5 for Mac, but I want to include a date in the header which shows the date the document was created. I've noticed that this is possible with the default Apple-designed templates included with Pages. I know that I c
-
I Tunes has lost quite a large proportion of my music library. I think this may have happened when I tried to download a previous version of ITunes that failed to load. Whatever, the music is still on my IPod. Is there anyway files on an Ipod can
-
Is there a way to block invitation notifications?
My company uses Google calendar. I have a personal calendar, and then everyone has access to the companywide calendar as well. This allows us to see every meeting happening in the company. When we create new events, we create them in the companywide
-
MRP type field in Product view of APO
Dear Experts, I am developing a querry based report on product master of APO for reconcillation purpose. I couldnt find field MRP type in product master (/sapapo/mat1) also couldnt track any table which will report MRP type to me. Could you please he
-
L'iPad ne peut pas être synchronisé.
Une erreur inconnue s'est produite (-50). iOS 7 est installé