How to return the value of the SQL in the text element
Hi friendsI need you to guide me how I can print the return value of the SQL in a text element
Suppose it's your function
create or replace function get_value
return number
is
begin
return 3*2;
end;
/
any help that I enjoyedThank you
>
This is ORA-06502: PL/SQL: digital error or value.
Check the data type and size for items of text or any other variables or fields in the service.
Tags: Oracle Development
Similar Questions
-
How to return the text of the URL / Awesome Bar to a color sold in Firefox 6?
Are the parameters in: Config?
This is a new feature in Firefox to highlight the domain in the URL bar. You can change a preference to do the full URL darkness.
Change a hidden preference:
- type of topic: config in the location/URL bar and press ENTER.
- If you see a warning, accept (promise to be careful)
- Filter: browser.urlbar.formatting.enabled
- in the lower panel, double click on this item to toggle the value false
If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.
-
set_item_property changing the text, but how to return the original value
Hi all
I use Oracle Forms Builder 10 gr 2 / I have the following problem: in a button I trigger when it is pressed. And then I change a few elements prompt text. But my problem is how to return the original prompt text. A kind of refresh or clear?
Here is a piece of code that modifies the prompt text:
Thanks in advance,set_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', PROMPT_TEXT, get_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', prompt_text) || '*');
Bahchevanov.This is not tested, but it's something like this:
declare v_item varchar2(200); begin v_item := get_block_property('block',first_item); loop exit when v_item = 'block.'||null; set_item_property(...); v_item := 'block.'||get_item_property(v_item,nextitem ); end loop; end;
-
Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?
Hello
I suggest you to visit these links and check if it helps:
http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4
http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions
It will be useful.
-
How to extract values of classic report column in the text element
Hi all
I've created a classic report (select id, name,' < input type = "button" value = "add" id = "add" name = "add" > "as" add details "details ;) with a single column as column values want link.i in the text element when I click on the link of that particular record of the report)
(1) in the link this link column property I've specified the URL as [javascript:insert_in_table(#ID#,#NAME#)]
(2) text two article P_ID, P_NAME
(3) in the header of the page, I've specified as javascript
< script type = "text/javascript" >
function insert_in_table (id, name) {}
var regId = ' #detail #'.substr (1);
var req = new htmldb_Get (not null, $v ('pFlowId'), 'APPLICATION_PROCESS = add', $v('pFlowStepId'));
Req.Add ('P_ID', ID);
Req.Add ('P_NAME', Name);
forced. GetAsync (function () {}
If {(p.readyState is 4)
$a_report (regId);
}
});
}
< /script >
(4) created a (add) process whose point: on demand, run this process when requested by ajax
pl/sql: insert into name_detail (id, name) values (: P_ID,: P_NAME)
now the problem is I m not getting the values of column in the report in the text element, it only shows white.
Kind regards
Ketan
Hello Ketan,
Assuming that you want to insert the values into the table, this is why you want to set values for the element,
If this is the case, then no need to define values for the element to insert.
Follow the steps below, it is one of the embodiment of your condition.
Step 1: Put the code below in your classic report query
assuming that the id is of type number and the name is of type varchar, that's why I am attaching the name to apostrophe, see line 3
select id , name , '' as "Add to detail" from detail
Edit 'Add details' column-> column attributes-> view-> column of Standard report
Step 2: Create a process in the processing of the Page
Name: INSERT_DATA
Address the point: on demand, run this process when requested by ajax
Process: putting the code below
Declare P_ID number ; P_NAME varchar2(50); Begin P_ID := apex_application.g_x01; P_NAME := apex_application.g_x02; insert into name_detail(id,name) values (P_ID,P_NAME); End;
Step 3: Create a java script function to call your insert ajax process.
Change the Page-> the function and the global variable declaration-> put the code below
function insert_in_table(id,name) { apex.server.process ( "INSERT_DATA", { x01: id,x02: name }, { success: function( pData ) { } }); }
Hope this helps you,
Kind regards
Jitendra
-
How to return the approver e-mail notification iProcurement in R12?
Hi all
How to return the approver e-mail notification iProcurement in R12?
Symptom: A Summit a requisition to B, need for approval of B
(1) B lost the e-mail that is sent by A
(2) need B a new notification sent by A.
environment: Oracle R12.1.2 | AIX 6.1
Concerning
Terry ChenI thank you for your answer, you want to reassign B once again?
Yes.
Can I use the feature "Rewind"? Can this function sends notification to the user again?
Don't know if it would work for notifications of iProcurement, then please try first the option to reassign.
Thank you
Hussein -
My requirement is
If we click on the POP UP dot LOV button then I want the dependent value of this item in column of the text element in a table.
How do I get this as a table?
Hi Dan,.
I have a table, in the first column is popup LOV.and second column key is text element.
So my question is if we click contextual key lov and select employee name, then I want to show the email address of this employee in the second column of tabular presentation.
This can be done with AJAX. Write a JavaScript function on the onchange event of popup LOV item (Employee) key and pass the number of the employee selected to your AJAX call, go get the employee email and assign it to your entry corresponding to the key LOV popup text has changed.
As your dealing with Form (Wizard Based/APEX_ITEM Based-not specified) in a table, you take insofar as each column is the table of elements mapped to APEX_APPLICATION input. G_FXX tables and therefore to write JavaScript to locate the item to update.
I hope this helps!
Kind regards
Kiran
-
How to fill the text of list item element?
I have a list item and a text element. I want that, when a user selects a value of element from list... the text element should filter and display the values on this basis.
How can I do?
SAMPLE of the values in table-
list_item_column text_item_column
_____________ _______________
a 1
a 2
a 3
a 4
b 5
b 6
c 7
c 8
(12345678 is under text_item_column)
For example - if the user selects A list item, the test item must indicate these values - 1, 2, 3, 4will be able to fill in a piece of text multi row and values on different lines?
No, it will display the values in a single line, separated by commas, as you showed in your initiall question. If you want to separate them into lines, use Chr (10) instead of «,»
-
How to view computer-id (user name) in the text element
I want to know how to display the name of average user specific computer id that uses my module in the text element?
Any idea
Concerning
ThereseHai,
Run the following command to create a database function.
CREATE FUNCTION Fn_Get_Computer_Name RETURN VARCHAR2 IS Str_RetVal VARCHAR2(1000); BEGIN SELECT SYS_CONTEXT('USERENV', 'OS_USER') INTO Str_RetVal FROM DUAL; -- Windows User Name RETURN Str_RetVal; EXCEPTION WHEN OTHERS THEN RETURN NULL; END;
And in the forms, just write
:
. := Fn_Get_Computer_Name; Kind regards
Manu.
If this answer is useful or appropriate, please mark. Thank you.
-
Simple HTTPService which returns the text
I have made through Google and the documentation for it but still can't find what I want. Basically I have a php file that takes some of the entries, it treats and returns the text, I already know how to transfer the data to the flex php file, what I'm trying to do is get the text that returns the file and put it in a label in my flex application.
So far, I have a function that the httpservice calls when the event "train", but so far, I still havn't found away to get the actual text that is returned, can someone tell me how to get this text the HTTPService?
Just a note, I'm using the httpservice mxml form.The only thing is your text that is returned from php to be in xml format. Then, print your query result to XML first. And then parse through the xml in flex by using something like this:
I created a script that analysis automatically any how MySql query that I throw at it as xml. There are some constraints you must follow while using it however.
The caller script should have:
$Query = a mysql query
$queryName = 'name you give it. " This is also equal to the XMLRootName
$tableName = 'name you give it. " This will correspond to the XMLResultSetName and doesn't really tell the table you are querying, but rather a generic name that you give the results table.
$Result = mysql_query ($Query); the $Query is simply the veriable calling the actuall mysql query.
include ('xmlParser.php'); place after the $Result statement.<-----------xmlParser.php------------>
<>
create the root node;
$Return =""." \n"." \n » ;
$Return. = «<$queryName>». » \n » ;treat a line at a time
While ($row = {mysql_fetch_assoc ($Result))}Add node for each line
$Return. = « <$tableName>». » \n » ;Add a child node for each field
{foreach ($row as $fieldname-online $fieldvalue)$Return. = « <$fieldname>». "" $fieldvalue ". »$fieldname>«. » \n » ;
} / / foreach
$Return. = " $tableName>«. » \n » ;
} / / While$Return. = "$queryName>«. » \n » ;
?>
Then use the dataProvider to display resutls in Flex.
-----------xmlParser.php------------> -
How to get the text have the same effect as the video?
Hello
For the first time post here, but I wonder how to get the text of the titles have the same effect as the video behind her.
For my video, I use 'bad tv' and other effects such as Gaussian that obviously changes the appearance of video, creating the look of VHS. However, I then inserted text via the title, but it normally appears. How can I make this text have the same effects as the video behind it?
A friend told me I might need to add text to the video first, then do the effects, I have not tried, but wonder if there is an easier way, as this would require me to restart.
EDIT: That's what I'm looking for. https://youtu.be/7_2PHQI89dI?t=24s The text has the same effect as the video.
Thank you
One way is to create a clip made up based on the title and the original clip. Then apply the effect.
Another way is to use an adjustment layer.
Good luck.
Russ
-
How to make the text bigger in youtube! Cubs in youtube!
I made the largest text where google search arrives! But when I go on youtube the text is much tinier and I 65 to cataract and I can't read the text at right! How to make the text bigger in youtube? Thank you very much! I tried everything, but nothing changes the size!
When you view this page hit {Ctrl + 0} < is a zero number -to reset the zoom level for this area.
https://support.Mozilla.com/en-us/KB/page+zoom
If you move the scroll wheel, and are now the CTRL key, you can change the zoom level of the page that is viewed - both in & out.
-
How to make the text darker or bolder
How to make the text darker or bolder in safari
shutterbox-
I'm with you. Cataract surgery, it will take longer, and the thin, plugged in my humble OPINION, typeface they chose is really for less than 40 eyes.
The same "BOLD" of the police system capacity would be so appreciated.
There are 3rd party apps that can change system fonts, and I saw messages claiming success, but I'm a purist to try.
Small fonts (to us) make it very painful to be here. I just hope they realize that our needs must be met, as well.
-
How to Flash the text Message text in CVI
Hi, anyone know how to Flash the text in a text control in CVI.
Thanks for any help
Unfortunately, there is no such simple method for flashing text.
You must code explicitly.
-
How to change the text in the paint once I clicked outside of the text box?
How to change the text in the paint once I clicked outside of the text box?
How to change the text in the paint once I clicked outside of the text box?
====================================
I guess you could go to... Change / Cancel... then again...FWIW... the free Picasa software has tools to add text to photos.
Picasa
http://Picasa.Google.com/How to add text to your Photos using
Google Picasa 3
http://www.ehow.com/how_4599330_text-photos-using-Googles-Picasa.html John Inzer - MS - MVP - Digital Media Experience - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.
Maybe you are looking for
-
Something is wrong! Start in safe mode, but it turns out that for Normal mode.
Mac Mini (late 2014) Processor 3 GHz Intel Core i7 16GB 1600 MHz DDR3 memory Start drive Macintosh HD Iris 1536 MB Intel graphics card Monitor: DELL U2713HM, use the Apple adapter to connect to the Mac Mini I upgraded from Capitan in Sierra and got t
-
IPod 5 g does not illuminate, the button "home" stuck, HELP!
So I do not know how, but this morning my ipod all of a sudden will not turn on. Tried to load for one hour, but still no response. The home button stuck so I can't reset it either. It is completely insensitive and remains the same. I downloaded recb
-
Webcam is dark in Windows Live Messenger
Hey guys,. I'm having some trouble with my Chicony webcam. It works fine with Skype and the software Chicony, but when I use it in Windows Live Messenger, the sound picture very dark. I try to activate night Mode, but it doesn't do anything. A soluti
-
Hello!!! I have a problem... In my project I have a graph of waveform that it would be useful if the user wants to... How can I save a button, with a SPECIES name by preesing? just save the chart, with perhaps a .jpg ending? Thank you very much!!! (i
-
Display a red line on the left side of the monitor of g-sync XB270H
Hi, just bought the Acer XB270H G-SYNC monitor and a red line appears on the left side of han (has I am facing screen) It is an intermittent fault 50-50. The samsung monitor, I ran before never missed a beat. I'm under z77 mb, i5, GPU 780 TI. Thank y