How to view Messages in more than 1 line
Hi allI use Oracle Forms 10 G.
I have a small doubt.
I want to display a message in 2 or 3 lines.
Like: -.
Hello
Hello1
Hello2
I want to like this. How can I write to MESSAGE();?
LuKKa says:
Hello
I tried this, but it does not appear in multiple line.
It's showing as Hello Hello1 Hello2.
I want like: -.Hello
Hello1
Hello2
Try this
MESSAGE('Hello'||chr(10)||'HELLO 1'||chr(10)||'HELLO 2');
MESSAGE('Hello'||chr(10)||'HELLO 1'||chr(10)||'HELLO 2');
If the above does not work...
try to ALERT integrated. Create an alert named TT. Code example
declare
alt number;
begin
SET_ALERT_PROPERTY('tt', alert_message_text,'Hello'||chr(10)||'HELLO 1'||chr(10)||'HELLO 2');
ALT:=SHOW_ALERT('tt');
end;
I hope this works...
Hamid
Mark correct/good to help others to get the right answers. *
Tags: Oracle Development
Similar Questions
-
View object has more than 2000 lines but with only 500
Hi all
I have a view object that has more than 2000 lines. But when I try to see the front end of data, it does is display only 500 records.
Then when I did some research I discovered that there is a profile option where I need to increase the size.
before the value in the profile Option (FND: display object Max size Fetch) amounted to 500
Thus valued at 3000.
But I wanted to know what will be the impact of the evolution of this profile option on Database/Application.
Please advice which would be the best way to manage several size maximum extraction on the objects in view.
Thank you.
Not really sure what you mean by 'calculations are performed properly"If you are not able to see in the front.
If you don't even have an option "next/previous" on the table to go to the next round?
You can paste a screenshot?
You can try to increase the property records of the region of the table and see what happens?
Where did you add vo.setMaxFetchSize(-1)?
Can you try replacing exwcuteQuery() and add the following inside that?
See you soon
AJ
-
How to select and move more than one bookmark at a time?
Shift + click selects multiple items that are next to each other in a list, because the items open in firefox before that happens.Glad it worked for you. Thanks for posting back.
-
5.6.1 pages: How to create a table with more than 999 lines?
5.6.1 pages: How to create a table with more than 999 lines?
The table on Pages v5.6.1 line selector is limited 3-digit, as it is in Pages ' 09 v4.3. Either use LibreOffice Writer, who does not have any constraint line on processing tables 3-digit, or any application spreadsheet for top 3-digit row needs.
-
View button 'Add a line' if there are no more than two lines in a table
Hello
Is there a possibility of JavaScript to dynamically check number of rows in a table and display the button 'Add Row' in the case where if displayed in number of lines in sub table form is more small/more than some setting?
Example: I have 2 lines in a picture. The button should be indicated if there are no more than 3 lines.
User click on the button - a blank line will be added here. Now, the button is hidden until the number of rows will be less than 3.
Data sheet:
APEX 4.1.1
31%
Listener 1.1.3
Thank you
J
Hello
I solved it by using the little piece of JS:
if ($('#report_contact_form tr.highlight-row').length > 1) $x_Hide('ADD_ROW_T', true);
Concerning
J
-
Results more than 200 lines.
Hi all:
I have a problem with a query that results from more than 200 lines.
Only show in a table rows 201 and put caution regarding this message: "the request exceeded 200 lines. Potentially more rows exist, please restrict your query. »
Is possible that the query shows all results?
Thank you!If you want to query more than 200 lines in the original version, you can add '(how MUCH of ROWS) setMaxFetchSize;' before executeQuery();
If you want to query all the rows in the original version, you can add 'setMaxFetchSize(-1);' before executeQuery();Thank you.
-
Single - row subquery returns more than one line.
Hi Experts
I am faced with error
ORA-01427: single - row subquery returns more than one line.
MyQuery is:
select TO_CHAR(T.MR_REG_DATE,'DD') "DATE" ,CASE WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) between 0 and 1 THEN ' 01'||' - ('||'0 - 1 Month)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||' - ('||'2 - 12 Months)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||' - ('||'1 - 5 Years)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||' - ('||'5 - 10 Years)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) > 120 then ' 05'||' - ('||'> 10 Years)' END age ,count(T.Mr_Code) No_of_Patient ,( SELECT count(x.mr_code) mr_code FROM HMIS_MRINFO X where X.mr_reg_date between &FRM_DATE AND &TO_DATE and X.mr_code NOT in (select Y.mr_code from hmis_pat_add_dis_detail Y WHERE Y.mr_reg_date between &FRM_DATE AND &TO_DATE ) GROUP BY CASE WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) between 0 and 1 THEN ' 01'||' - ('||'0 - 1 Month)' WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||' - ('||'2 - 12 Months)' WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||' - ('||'1 - 5 Years)' WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||' - ('||'5 - 10 Years)' WHEN trunc((MONTHS_BETWEEN(X.MR_REG_DATE,X.MR_DOB))) > 120 then ' 05'||' - ('||'> 10 Years)' END ) Missing_MR from hmis_mrinfo T,hmis_pat_add_dis_detail M where T.mr_code = M.mr_code(+) and T.mr_reg_date between &FRM_DATE AND &TO_DATE &AGE_GRP GROUP BY T.MR_REG_DATE ,CASE WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) between 0 and 1 THEN ' 01'||' - ('||'0 - 1 Month)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02'||' - ('||'2 - 12 Months)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03'||' - ('||'1 - 5 Years)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04'||' - ('||'5 - 10 Years)' WHEN trunc((MONTHS_BETWEEN(T.MR_REG_DATE,T.MR_DOB))) > 120 then ' 05'||' - ('||'> 10 Years)' END ORDER BY T.MR_REG_DATE;
Please give some advice / solution.
I think this might do it for you
Select
TO_CHAR (T.MR_REG_DATE, 'DD') "DATE."
CASE
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) between 0 and 1 THEN ' 01' |'. - ('||' 0-1 month)"
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02' |'. - ('||' 2-12 months)"
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03' |'. - ('||' 1-5 years)"
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04' |'. - ('||' 5-10 years)'
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) > 120 then ' 05' |'. ' - ('| ' > 10 years).
Age of the END
count (T.Mr_Code) No_of_Patient
, count (case when t.mr_code NOT in (select Y.mr_code from hmis_pat_add_dis_detail Y))
WHERE Y.mr_reg_date between & FRM_DATE AND & TO_DATE)
then t.mr_code
(end) Missing_MR
of hmis_mrinfo T, hmis_pat_add_dis_detail M
where T.mr_code = M.mr_code (+)
and between T.mr_reg_date & FRM_DATE AND & TO_DATE
& AGE_GRP
T.MR_REG_DATE GROUP
CASE
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) between 0 and 1 THEN ' 01' |'. - ('||' 0-1 month)"
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 2 AND 12 THEN ' 02' |'. - ('||' 2-12 months)"
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 13 AND 60 THEN ' 03' |'. - ('||' 1-5 years)"
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) BETWEEN 61 AND 120 THEN ' 04' |'. - ('||' 5-10 years)'
WHEN trunc ((MONTHS_BETWEEN (T.MR_REG_DATE, T.MR_DOB))) > 120 then ' 05' |'. ' - ('| ' > 10 years).
END
ORDER BY T.MR_REG_DATE;
-
Table: nowhere able to display more than 10 lines when it is called from workflow
Hello world
I request a page that contains the advanced table and its controller class two-step.
The first is a survey form, when this page is called, it works very well. When there are more than 10 lines, top 10 appear on the rendered page and when you click on the following link, the other lines are displayed. It's because I gave the property of records displayed on advanced table = 10. I'm very well so far.
A second is I call this page again from a past of workflow. There is a link to see more details on the notification of workflow, click on this link will open the page with 10 records displayed. But when the tent user click Next, it does not work. It is not just cool off.
Its very weird. not able to understand what could be wrong when calling notificiton wf. Its the same page and conroller code used in both places.
Please help me!
Thank you
SunnyVerify that the url parameters that are passed in each case. Looks like there is a difference.
Kristofer Cruz
-
Dynamic text to scroll more than one line
Hello, been racking my brain for weeks with that. trying to get my external dynamic text loaded to scroll. My code to do appear and scroll down to a single line at a time works fine, but if I replace the code 'scroll buttons' with the code "NEW buttons scroll" to try to get the ti to scroll more than one line - it scrolls is no longer at all. I included my code below in the hope that maybe, it is a problem of simple target path. Thank you!change the .scroll + / = 1 to a value greater than 1 to scroll more lines. 1 = 1 line
-
Add more than 2 lines for a select statement without inserting rows in the base table
Hi all
I have a below a simple select statement that is querying a table.
Select * from STUDY_SCHED_INTERVAL_TEMP
where STUDY_KEY = 1063;
but here's the situation. As you can see its return 7 ranks. But I must add
2 rows more... with everything else, default or what exist... except the adding more than 2 lines.
I can't insert in the base table. I want my results to end incrementing by 2 days in
measurement_date_Taken on 01-APR-09... so big measurement_date_taken expected to
end at study_end_Date...
IS IT STILL POSSIBLE WITHOUT INSERT ROWS IN THE TABLE AND PLAYIHY ALL AROUND WITH
THE SELECT STATEMENT?
Sorry if this is confusing... I'm on 10.2.0.3
Published by: S2K on August 13, 2009 14:19Well, I don't know if this request is as beautiful as my lawn, but seems to work even when ;)
I used the "simplified" version, but the principle should work for your table, S2K.
As Frank has already pointed out (and I fell on it while clunging): simply select your already existing lines and union them with the 'missing documents', you calculate the number of days that you are "missing" based on the study_end_date:MHO%xe> alter session set nls_date_language='AMERICAN'; Sessie is gewijzigd. Verstreken: 00:00:00.01 MHO%xe> with t as ( -- generating your data here, simplified by me due to cat and lawn 2 select 1063 study_key 3 , to_date('01-MAR-09', 'dd-mon-rr') phase_start_date 4 , to_date('02-MAR-09', 'dd-mon-rr') measurement_date_taken 5 , to_date('01-APR-09', 'dd-mon-rr') study_end_date 6 from dual union all 7 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('04-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 8 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('09-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 9 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('14-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 10 select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('19-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 11 select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('23-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all 12 select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('30-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual 13 ) -- actual query: 14 select study_key 15 , phase_start_date 16 , measurement_date_taken 17 , study_end_date 18 from t 19 union all 20 select study_key 21 , phase_start_date 22 , measurement_date_taken + level -- or rownum 23 , study_end_date 24 from ( select study_key 25 , phase_start_date 26 , measurement_date_taken 27 , study_end_date 28 , add_up 29 from ( 30 select study_key 31 , phase_start_date 32 , measurement_date_taken 33 , study_end_date 34 , study_end_date - max(measurement_date_taken) over (partition by study_key 35 order by measurement_date_taken ) add_up 36 , lead(measurement_date_taken) over (partition by study_key 37 order by measurement_date_taken ) last_rec 38 from t 39 ) 40 where last_rec is null 41 ) 42 where rownum <= add_up 43 connect by level <= add_up; STUDY_KEY PHASE_START_DATE MEASUREMENT_DATE_TA STUDY_END_DATE ---------- ------------------- ------------------- ------------------- 1063 01-03-2009 00:00:00 02-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 04-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 09-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 14-03-2009 00:00:00 01-04-2009 00:00:00 1063 03-03-2009 00:00:00 19-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 23-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 30-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 31-03-2009 00:00:00 01-04-2009 00:00:00 1063 22-03-2009 00:00:00 01-04-2009 00:00:00 01-04-2009 00:00:00 9 rijen zijn geselecteerd.
Is there a simpler way (in SQL), I hope that others join, and share their ideas/example/thoughts.
I feel that it is using more resources there.
But I have to cut the daisies before now, they interfere my 'grass-green-ess";) -
How to send emails to more than one contact in my files?
In the old Outlook Express, you can click the send to button "address" and your records would come to the top and you could choose the contacts in this folder and put it directly into the sending into space.
How can you do this in Windows mail?
I'm sorry, but I don't have the send to button "address" what's new in Outlook Express.
In Windows Mail, click on create a new message, then click on at: have your contacts show up. Select the contacts you want (Ctrl-click to select more than one), then click on FOR :-> to add them to the recipients of the message. Steve Winograd, Microsoft MVP (Windows desktop experience)
-
How to display more than 200 lines in the table?
Hi Experts,
Is it possible to display more than 200 rows in a Table.
When I query table, it has 1000 rows, I want to display all 1000 rows in the table.
When I have a query, the values are displayed up to 201 lines only,
When I then click on 200 and 201 he throws Exception says
* "The query exceeded 200 lines. Potentially more rows exist, please restrict your query. » *
I would like to know how to display every 1000 lines in a table without Exception.
Any idea will be highly appreciated.
Thank you
PascalineThe number of rows retrieved is controlled by the option to profile ' FND: view object Fetch Size Max. I think that 200 is the default value. PL see these Docs MOS
386402.1 - query exceeded 200 lines
275876.1 - oracle Application Framework profile Options version 11i (11.5.10)HTH
Srini -
Portege M800 - at startup "Please wait" message remains more than a minute.
Hello
I'm French and I bought a laptop Toshiba Portege M800-10v!
Currently, this pc is great! However, I noticed something disturbing.
In fact: when you start Windows Vista, I get the message "Please wait", which remains for more than a minute! I found that I was not alone! But I can't find any information on it.
You know more?
Thank you.
PS: Excuse me for my English.Hello
If you have any new laptop and if it is connected to the internet for laptop will automatically download new updates and each of them will be installed after restart. If you should not be worried about it.
Yesterday I installed some stuff on Satellite P300 friends and I waited about 3 minutes after the first and the second restart. It bothers me, but there is nothing to do. To avoid this problem, I changed the update settings and used the check for updates but let me choose whether to download and install them.
-
How to convert a PDF more than 100 MB file to a word doc
How can I convert a PDF file of more than 100 MB in a word dox
What Adobe program do you use to create/modify a PDF file?
-
How to install things on more than 1 computer at home?
I just bought 12 elements. During the instalation I girl my Adobe ID but I want to install both my laptop and my desktop pc. What should do?
You can install the software on as many machines as you like, but you are limited to activate on only two machines with a single user license. If you want to have more than two facilities enabled then you will need more of a single-user license.
Maybe you are looking for
-
Re: NB555D - uninstall these applications?
I bought a Toshiba netbook yesterday, model NB555D. My main computer is a Mac so I'm not so familiar with Windows these days, I use it years ago. This book is for occasional browsing in bed or in my chair so he won't have a lot of things on it. I wan
-
VGN-NW130J - 64Ult Win7 drivers
HelloI'll be upgrading my laptop Vaio VGN-NW130J for Windows 7 Ultimate 64 - bit Edition (running Vista). I'm having a hard time trying to find the drivers on the Sony site. I checked the drivers on the Sony site section but no luck. Can anyone help?
-
HP Mini 1000 system password has no fatal error CNU93214B9
Please help me
-
Video demonstration of rapid decline
Hello Whenever I attended an event of LabVIEW, it always seems that the inevitable question "wait...". How did you get that? "comes from the audience when quick drop made the demonstration of an instructor. Does anyone know if there are videos online
-
https://SkyDrive.live.com/redir.aspx?CID=d7389b68b3a275ad&RESID=D7389B68B3A275AD! 120 & Thierry = root a link to my disc of sky with the cleaning tool that I use. Took me 35 minutes to download the four files on the disc of sky so it is an estimate o