Passing two settings for reprot
suite of Oracle 10 g developerI'm reporting form 10g with a parameter, it works very well.
but I want to pass two parameters. I tried but not succeeded.
1 p_date =' | : btn.at_date
2 p_date1 =' | : btn.at_date1
------- With One Parameter ------------
DECLARE
repid REPORT_OBJECT;
v_rep VARCHAR2(100);
rep_status VARCHAR2(20);
BEGIN
repid := FIND_REPORT_OBJECT('REPORT1');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no p_date=' || :btn.at_date);
v_rep := RUN_REPORT_OBJECT(repid);
rep_status := REPORT_OBJECT_STATUS(v_rep);
WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
LOOP
rep_status := report_object_status(v_rep);
END LOOP;
if
rep_status = 'FINISHED'
then
WEB.SHOW_DOCUMENT('/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1) ||
'?server=rserver' );
else
message ( 'error while running reports-object ' || error_text );
message ( ' ' );
clear_message;
end if;
end;
I tried this report but empty.QT char(1):='''';
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no P_date='||QT||:btn.at_date||QT||' p_date1='||QT||:btn.at_date1||QT);
Published by: 867210 on February 21, 2013 03:24
867210 wrote:
Solved this problemSET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no sdate='||:btn.sdate|| ' ' || 'edate='||:btn.edate);
Published by: 867210 on February 21, 2013 21:51
I always add space on the side of setting... As my example also works...
SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER,'paramform=no sdate='||:btn.sdate||' edate='||:btn.edate);
Mark as answer.
Tags: Oracle Development
Similar Questions
-
a problem in passing multiple values in the loop settings for
Hi all
I am facing a problem in passing multiple values in the loop settings for.
EX:
CREATE or REPLACE PROCEDURE (pr_id OUT NUMBER) HAVE
tab type is table of NUMBER;
TEMP_TAB TAB;
BEGIN
Select the COLLECT LOOSE pr temp_tab pr_id;
I'm in 1.TEMP_TAB. loop of COUNTING
PR_ID: = temp_tab (i);
end loop;
END TEST;
OUTPUT:-
pr_id = 234578
in the example above, I'm only a value as an out parameter. but I send you PR_ID of the loop.
why I don't get all the values that the parameters.please offer a solution for me.
Thank you my friend.More clarification, let's look at your code...
-- create a procedure and have a single numeric out variable CREATE OR REPLACE PROCEDURE TEST ( pr_id OUT NUMBER ) AS -- declare a type as an array of numbers type tab is table of NUMBER; -- declare a varianble of that array type TEMP_TAB TAB; BEGIN -- query all the values from the table into the array select pr_id BULK COLLECT INTO temp_tab from pr; -- loop through each value in the array for i in 1..TEMP_TAB.COUNT loop -- set the value of the single OUT parameter, OVERWRITING any previous value it has PR_ID := temp_tab(i); -- loop around to the next value end loop; -- end the procedure with the final value of PR_ID END TEST;
-
Script to change the settings for security vSwith
We need a script to change the settings for security vSwitch.
To change the below: -.
Mac changes Accept Reject
Forged pass Accept Reject
The two parameters above must change on all the vSwitch in vcenter.
Altogether. Pass an argument to Get-VMHost
If you pass the complete hostname (as he shows in vCenter), it will act on the single host:
Get-VMHost MYESXi01.mydomain.com
or if you want to do more, you can pass a joker:
Get-VMHost MYESXi*.mydomain .com
FWIW, I think that should do the same thing on a single line, if you like this better
Get-VMhost|%{$hv=Get-View $_.ID;$ns=$hv.ConfigManager.NetworkSystem;($hv.Config.Network.Vswitch)|%{$vs=$_.Spec;$vs.Policy.Security.AllowPromiscuous=$false;$vs.Policy.Security.ForgedTransmits=$false; $vs.Policy.Security.MacChanges=$false;$ns.UpdateVirtualSwitch($_.Name,$vs)}}
Doug
-
Keep the power settings for battery reset.
Hello Forum. I have an Ideapad Y570. For the management of energy, there are two settings: better battery life and better health of the battery. Whenever I start the laptop, lenovo energy management becomes automatically the setting better battery life. I want to it must be defined to the better health of the battery to save energy and keep my battery in good health. Help, please!
try to optimize the parameters of battery in safe mode.
-
I downloaded the settings for 720 p and 1080 p made in 16:9 and 4:3 and added to my record of profiles on Windows Movie Maker as the instructions said, but when I made the video in 16 / 9 in 1080 p and upload it to YouTube, it's always at the 480 p standard? People say that you can render videos in 1080 p, but mine won't. Tried to figure this point during a day or two with no luck and Google is no help with anything.
It's maybe a stupid question... but you have saved the Movie Maker
video in a folder on your hard drive? Is it 1080 p as expected?I don't know if the following articles will be heklp, but they can be
worth a visit:Optimize your video post
http://support.Google.com/YouTube/bin/answer.py?hl=en-GB&answer=132460How can I change the video quality?
http://support.Google.com/YouTube/bin/answer.py?hl=en&answer=91449 -
Automatically get new IP settings for the network adapter
I have a home network with two computers Vista and I have a Vista laptop for work. Where my work laptop is home it does not automatically connect to the internet, similarly if I want it. When I go to network and sharing on laptop computer center it displays icons for the laptop, my home and internet network. Threre is a X red between the network icon and the internet. If I click on the red X a pop-up window indicates that Windows checks the problem. Then a box will appear with several options, one if which is automatically "get new IP settings for the NIC 'Wireless Network Connection'. When I click on a window pops up that says repair, and after a brief interval, she announced that the problem has been fixed, and it was fixed.
How can I configure things so that she will do it automatically without this manual intervention. There must be some way because I have never asked a password or permission to continue.
If I turn off the laptop and then turn it back on a few moments later, the network connection is still there. The problem occurs when I try again a few days later.
Thank you.
P.S. I tried to submit this a couple of days, but it does not appear under my son, so I don't know what happened. If the previous post is without me being able to find I apologize. I don't like having to type things, that's for sure. Jim
Thanks for the reply. I did it.
I'm not sure it would fix the problem however, because the problem occurs after a day power off and power back up a few days later. So presumably the power to the network adapter has been disable for power off intervals.
Something happened tonight when I put under tension. Asked me to confirm something on the network (unfortunately I can't remember what) and after that, I was connected to the internet - without having to go through the manual process described with my problem. So maybe something has been reconfigured will correct the problem. Jim
-
How to change the settings for the taskbar in Windows 7.
Anyone know if its possible to change the settings for the taskbar for the other windows or games can cover or be on top of the taskbar. I have my taskbar set to the top of the screen and when I start Flight Simulator Microsoft in full-screen or 1920 x 1080, he fills the entire screen except the upper part which is the bar of tasks, and because of this the windows sim who loses more space and shows its own menu with windows that... yet once loses more than space. The vertical extent of real world it takes away 1 inch of space on the screen that I find pretty ridiculous. These two programs are both manufactured by Microsoft, in my opinion, that they must work with each other, so I hope that im missing something in 2015?
Thank you all
Win 7 64
AMD 955
NVIDIA 460se
4 GB
Edit: Auto Hide on the top is not a solution but a miserable boring frustration.
(Taskbar + tabs/url/search/minimize/output = someone must die)
Thank you program is in windowed mode full-screen because of the taskbar.
* See below screenshot of restoration
for everyone who has this problem, I found a solution!
Download rammichael.com/7-bar of tasks-tweaker
Right click on the bar tasks once run-> advanced-> click disable_topmost options->, icon 7TT
Enter 2 (starting from 0)-> click on apply and ok
* Note that the program must execute to the difficulty of working so defined to run at startup during installation
This program does a lot of things, but this will allow your taskbar to stay in place and allow it to be covered by windows.
-
I had problems with IE11 and Outlook, both kept gel (not answer) more and more each day. Outlook is still difficult sign in, I have to sign at least two times and once I got to sign on 7 times. The drafting of emails, I'd get msg "cannot connect to Outlook - try again later. IE11 is also unstable permanently "unresponsive" my sound stopped working also and I found that he lacked Realtek HD Audio Manager. It took nearly a week trying to figure out how to reinstall. (I am 60 years old and not informed techno) Finally, I downloaded and installed (with no help from HP) but speakers still does not. I approached then Microsoft Help Desk who suggested that reset IE11. I did it yesterday and now all seems ok with IE11 and Outlook but I have still no sound. Where to find the default settings for programs that use audio ie itunes, youtube, etc?
I have only a couple of theories left to isolate the problem, but have no idea how to go on this issue.
1. I received a msg when I lit the notebook from HP saying storage battery was low and the battery can be replaced. I've never used this notebook on sector so I ignored msg but with freezes and random low cut that I removed the battery which seems to solve that problem, but I wonder if firm random downs could have damaged files, software or anything.
2. Windows updates put things here that seem to be more for Windows 8 for example. Touch screen program. Can we update caused problems for the sound on my laptop?
I have run virus/malware programs with no threat found. I also installed Glary to find and fix registry problems, but still no sound.
Can someone help me please?
Hello
I'm sorry for the delay in response and for the inconvenience this problem did you. According to the description of the problem, you can't access your account and receive the error message "unable to connect to Outlook - try again later.
I suggest you check the service state on https://status.live.com
Note: you must identify yourself on the site to find out the exact state of the server, your account may be placed on
I also suggest you to optimize your browser and check if it helps.
How to optimize Internet Explorer
http://support.Microsoft.com/kb/936213/no
Hope this solves the problem. If the problem persists, you can write to us and we will be happy to help you further.
-
original title: incorrect Homegroup password
So, my cousins both got two netbooks for Christmas so I took it upon myself to put in place. However, I seem to have problems with getting Homegroup to work.
All computers:
Have enabled IPv6
Use Microsoft Security Essentials with the last update
Are connected to the same router (Linksys WRT54GX2)
Have no other third-party firewalls or AV installed and have been neatly eliminated via their respective tools when they had their
Can be seen in the network and can access any other files via 'network '.
Have the correct date and time and are all in sync with time.nist.gov.
Have the same network sharing settings (network discovery on, files and printers sharing folders public, sharing, streaming, wide, 128-bit encryption, sharing password protected, to allow windows to manage the homegroup connections)
Network is set at home, not in publicThe computer that has implemented the homegroup is connected via ethernet to the router while other computers use to access the router 802.11 g I tried to delete and redo the residential group as well.
Despite all this, it is said that the homegroup password is incorrect for both netbooks (where it says it has encountered an error). I realize that it is case sensitive and I entered the password correctly. I also ran the resolution of the problems of the homegroup on all 3 machines and still no luck. I also tried to change the password and restarting of machines.
Any suggestions? I was _really_ hoping it will work right out of the box. Maybe it's something with the router? I don't really know. Any help is appreciated. Merry Christmas! : D
Hello
check out this link.
http://Windows.Microsoft.com/en-us/Windows7/why-cant-I-create-a-HomeGroup
http://Windows.Microsoft.com/en-us/Windows7/create-a-HomeGroup
-
Cannot connect two computers for games.
I am trying to connect two computers for games (Age of Empires 3) purposes, but when is connected the two with a cable ethernet (using a filter at one end adapter) nothing happens, I can't see not his computer on my laptop and it can't see my computer on his. In the game, I see his match but he can't see mine, and when I try to connect to the sound he says impossible to reach. Tried to make it work for days now and I'm at the end of my rope PLEASE HELP!
As a quick test to go Control Panel - firewall Windows and disabling the firewall to see if it works. If you have a 3rd party software AV Firewall control may be in this control panel software.
As the two PC is connected back to back without access to a DHCP server, they should award an APIPA IP address that should work. To eliminate the problems addressing assign a static IP on both.
Properties of the Control Panel - Network and sharing Center - change adapter settings - Rt click on Local Area connection-
In TCP/IP V4 each assign a static IP 192.168.0.X where x is between 1 and 254 and the 2 PC's are different so for example10 and 20, 100 or 1. The value of 255.255.255.0 subnet mask, save the changes and test the connection.
If disabling the firewall resolves you can add an exception to the firewall program to allow the age3.exe through the firewall. More information here, as you ar accommodation only play locally just look at the top.
-
Synchronization of the settings for the Site (Manager)
I use Dreamweaver on two different PCs. I use the same Adobe ID on each computer (that is, I see my email address in the Edit menu).
On both computers, I have the edition > Preferences > sync configured to allow automatic synchronization settings and I chose the five categories for the synchronization (for example, Application, Site, extracts, etc.).
I'm trying to 'move' all my settings from computer A to computer B. On computer A, I select Edit > [email protected] > sync settings. On computer B, I tried using the same command to synchronize the settings. I also tried Edit > [email protected] > manage the synchronization settings, select the check box to import the sync settings (which says that the cloud settings will be imported on the next launch) and restart Dreamweaver. However, the extracted component does not contain my snippets on computer B, my named workspace is not in the list of workspaces, it is not all of the sites listed in the dialog box Manage Sites, etc.
Thanks for your advice.First, the Site synchronization synchronizes only parameters associated with a site. He won't move a site from computer A to computer B. The reason is that Adobe does not store your usernames and passwords as part of the synchronization. Complete documentation on what does the synchronization and its limits is here: synchronize site settings, preferences, keyboard shortcuts, and workspaces in the Dreamweaver forums
For other parameters, I try to go in sync settings in the preferences and click on manage account (on computer A). So on this Web page, go to the settings for Dreamweaver and select Reset settings. When you do that, you will need to go to A computer and download a new synchronization. It could just be something doesn't work is not on the end of Adobe. If this does not work, we go further.
-
Best settings for print-to-pdf for news
Hello, can anyone recommend settings appropriate to use for printing in pdf format of newspaper clippings from a web browser? I archive items of information in PDF format sites, which I then use later for the two reading on PCs and laptops and print devices. Specifically, what standard pdf is better to use in this case? I plead mainly because the text in PDF files that I have done so far is much less smooth and hard to read I thought it would be when viewing on pc even with acrobat 10 smoothing turned on. It makes the right edge of letters seem to be cut off. Mind you, I am interested in the pdf to 86% (adjustment of the height); When I zoom to 100%, the text becomes smooth. And PDF files also seem very clear on my portable devices. My screen is 1920 x 1080.
See you soon
If it's a graphic, then a higher resolution would be useful. You should be able to tell if it's a chart zoomed out and checking the pixels. If you capture fonts, then they should look the same at any zoom. You can, of course, that the fonts are included. As a check on some of the questions, try the press or print settings to see if things improve. The other option is to go back and change the settings for a custom, but good form to start with one that look reasonable first - or at least compare some of the settings files. There are other problems of print resolution (the default 1200 dpi value is usually much more you need).
-
best settings for the audio narration
I recently moved to Adobe Audition to Soundbooth as part of the e-learning suite. I'm used to be able to get the voice very clean and simple narration recording in Soundbooth, but can't seem to get the right settings in hearing (CS5.5). The narrative still sounds like it has reverb in it and I can't get rid of it. I need a very isolated here the "studio type" his product and it has been easy in Soundbooth. Anyone have better recommended settings for the audio narration at the hearing?
Thank you very much
Whitney
Pass a hearing still records sec - has always done, will always exist. If you have found any kind of sound reverberation on your story, then he came to the room, or added by the audio device (depending on what device it is - some seem to have weird parameters for things that make absolutely no sense to be there at all), or you yourself added.
The first thing we need to know is so much more on exactly what you use and how you use it...
-
Problem in passing several Arguments for simultaneous program
Hello
I need to pass two stamped in my simultaneous program
but I am facing problem while adding the second parameter in the code below
Please suggest how to pass several parameters for the simultaneous program
It's my submission of application codeVector cpArgs = new Vector(); cpArgs.addElement(shipmentId); cpAgrs.addElement(addId); System.out.println("Args"+ cpArgs);
Krishnapublic int submitRequest(String shipmentId, String addId) throws Exception { try { OADBTransaction tx = (OADBTransaction)getDBTransaction(); java.sql.Connection pConncection = tx.getJdbcConnection(); ConcurrentRequest cr = new ConcurrentRequest(pConncection); cr.addLayout("XXAPL", "XXAPLPORMSD", "en", "US", "RTF"); String applnName = new String("XXAPL"); System.out.println("ApplName"+ applnName); String cpName = new String("XXAPLPORMSD"); System.out.println("Concc Name"+ cpName); String cpDesc = null; Vector cpArgs = new Vector(); cpArgs.addElement(shipmentId); cpAgrs.addElement(addId); System.out.println("Args"+ cpArgs); int requestId = cr.submitRequest(applnName, cpName,cpDesc, null, false, cpArgs); tx.commit(); return requestId; } catch (RequestSubmissionException e) { OAException oe = new OAException(e.getMessage()); oe.setApplicationModule(this); throw oe; } catch(Exception exception) { throw OAException.wrapperException(exception); } }
I did most of the changes. IAM do not know why the error is come
This is the reason why...
It should be cpA rg s
NOT
cpA gr s
Thank you
-Anil
http://oracleanil.blogspot.com -
Problem AJAX (problems of passing two parameters to an application process)
Hello
I need to pass two parameters to a procedure of application via an AJAX request.
All are my events show below, as you can see that the second p_arg_values does not contain any value. Its as if this get.add('TEMPORARY_ITEM_2',pThis2.value); line is ignored. What changes can I make to do this work?
P2_QUERY_GROUP (the HTML Form element attributes)
OnChange = "get_query_select_list_xml (This, 'P2_QUERY', 'P2_PRODUCT_GROUP')" "
function get_query_select_list_xml(pThis,pSelect,pThis2){
var l_Return = null;
var l_Select = html_GetElement(pSelect);
var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
'APPLICATION_PROCESS=Query_Select_XML',0);
get.add('TEMPORARY_ITEM',pThis.value);
get.add('TEMPORARY_ITEM_2',pThis2.value);
gReturn = get.get('XML');
if(gReturn && l_Select){
var l_Count = gReturn.getElementsByTagName("option").length;
l_Select.length = 0;
for(var i=0;i<l_Count;i++){
var l_Opt_Xml = gReturn.getElementsByTagName("option");
appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
l_Opt_Xml.firstChild.nodeValue)
}
}
get = null;
}
Query_Select_XML (Application Process)
declare
l_counter number;
l_o_name varchar2(2000);
begin
owa_util.mime_header('text/xml', FALSE );
htp.p('Cache-Control: no-cache');
htp.p('Pragma: no-cache');
owa_util.http_header_close;
htp.prn('<select>');
for rec in (select QUERY, ID
from TECH_DB_VIDEO_QUERY
WHERE instr(QUERY_GROUPS,addzero(:TEMPORARY_ITEM))>0
AND instr(PRODUCT_GROUPS,addzero(:TEMPORARY_ITEM_2))>0
ORDER BY QUERY)
loop
htp.prn('<option value="' || rec.id || '">' || rec.query || '</option>');
end loop;
htp.prn('</select>');
end;
FIREBUG Output
Post
p_arg_names TEMPORARY_ITEM
p_arg_names TEMPORARY_ITEM_2
p_arg_values 16
p_arg_values
p_flow_id 107
p_flow_step_id 0
p_instance 3349916470781784
p_request APPLICATION_PROCESS=Query_Select_XML
Response
<select></select>
Regards
AdamAdam:
The second 'get.add' should be
get.add('TEMPORARY_ITEM_2', $x(pThis2).value);
CITY
Maybe you are looking for
-
OK, about 4 days ago I managed to pick up a virus. then, of course, the first thing I did was deleted it. the next day, I noticed that when my laptop charged there was no beginning to tune or Log In tune. Now I can't play any sound at all. the driver
-
Satellite A100-991 - cannot boot from USB device
My Satellite A100-991 (MS Windows XP MCE, SP3) does not start from a USB key or USB hard drive. The same USB devices are bootable if they are connected to a desktop computer or a laptop from other manufacturers. I put the USB as the first boot device
-
Need driver SATA XP for Satellite A210 - 1 2
I need driver for sata on my notebook Toshiba A210 - 1 2 for Windows XP. HEELP. AMD CHIPSET.
-
Impossible to check updates on Vista Service Pack 2 after Update Agent has been installed.
Under Vista Service Pack 2 x 64. Windows Update Agent 7.6.7600.256 was installed on 27/06/12. Since that time, I can't verify or install updates. I tried Fix - It, and it did not help. Pls advise
-
Why does my computer change the extension to an MP3 in a mpeg file, when I click to download?