Load all the values of ADF select several component shuttles
Hi all
I have a selectmanyShuttle ADF component that was related to a view object. The result set has about 70 values of which only 25 are displayed in the component of the shuttle.
I am also pre-population of the selections... but I get the string is is not in the selectItems because its sitting in 50th position and can not find the same in the box to the left of Shuttl.
In any case do load all 70 values in the component of the shuttle?
Thanks in advance.
Try pageDef. to select the iterator and RangeSize =-1 set
Tags: Java
Similar Questions
-
Not able to load all the applications at the start?
When I restart my window, it will fail to load all the apps and constantly hear a click click of hard drives
After reboot XP several times, I get a message as follows
Playing a disc error has occurred
Press Ctrl + Alt + Delete to restart
After that
NTLDR is missing
I install XP on drive C and all applications on the D drive, how can I know which drive to get error?
When I go into my BIOS and see my drive C is not detected.
To make a virus? or hardware fails?
Does anyone have any suggestions?
Thanks in advance for your suggestions
Looks like your drive is toast. The clicks that you hear, it's very likely the arm broken in the hard drive.
-
How can I retrieve all the values in a single query in the oracle XML
Hi all
I have xml format below, how do I retrieve all the values in a single query.
< files >
< job > MANAGER < / job >
< details >
< ename > JONES < / ename >
< sal > 2975 < / sal >
< ename > BLAKE < / ename >
< sal > 2850 < / sal >
< ename > CLARK < / ename >
< sal > 2450 < / sal >
< / details >
< / documents >
Thank you
I prefer desgin a little more sophisticated xml and wrap the details in a separate label.
Then you could something like that
1 with testdata until)
2. Select xmltype)
3'
4MANAGER
5
6
7JONES
82975
9
10
11BLAKE
122850
13
14
15CLARK
162450
17
18
19
20 ') in the form x
21 double
22)
23 select
24 j.job
25, d.ename
26, d.sal
27 of testdata
28 join
29 xmltable ("Scriptures" in passing testdata.x)
30 columns
31 job varchar2 (30) path "job."
32, details xmltype path «details»
(33) j
34 (1 = 1)
left outer join 35
36 xmltable (' details/emp' in passing j.details)
37 columns
path of varchar2 (30) 38 'ename' ename
39, path of varchar2 (30) sal "sal".
(40) d
41 * (1 = 1)
>/JOB ENAME SAL
------------------------------ ------------------------------ ----------
JONES MANAGER 2975
BLAKE MANAGER 2850
MANAGER CLARK 2450 -
How to get the value of a selected character unicode?
Hi all
How to get the value of a selected character unicode?
The content property of a 'Character' InDesign object is a simple Unicode string. For access to the various characters is a basic javascript operation, and a google gives this as a good first result: http://www.w3schools.com/jsref/jsref_charCodeAt.asp
Therefore, the value of a selected character unicode is
App.Selection [0]. Characters [0].contents.charCodeAt (0)
-
Returns all the values in the table
Hi team
I want a query please help
I have a table emp in that we ename, empno, sal comm
as
Select ename, empno, EMP comm
where comm = 300
It will run 300 records
If I don't give any number of comm as null
so I want to run the date all the
I user nvl
as
Select ename, empno, EMP comm
where comm = nvl (& comm, comm);
output: bad.Yes, it's the query I use also and is to return all the lines
SQL > select * from emp where nvl (to_char (comm), '0') = nvl (to_char(&comm), nvl(comm,'0'));
Enter the value of comm: "
old 1: select * from emp where nvl (to_char (comm), '0') = nvl (to_char(&comm), nvl(comm,'0'))
new 1: select * from emp where nvl (to_char (comm), '0') = nvl (to_char (""), nvl(comm,'0'))EMPNO, ENAME, JOB HIREDATE DEPTNO COMM SAL MGR
---------- ---------- --------- ---------- --------- ---------- ---------- ----------
7369 SMITH COMMITTED 7902 17 DECEMBER 20 800 80
7499 ALLEN 7698 1600 20 FEBRUARY SALESMAN 81 300 30
7521 WARD 7698 1250 22 FEBRUARY SALESMAN 81 500 30
7566 JONES MANAGER 7839 2975 2 APRIL 81 20
7654 MARTIN 7698 28 - SEP - 81 1250 1400 30 SALESMAN
7698 BLAKE MANAGER 7839 2850 MAY 1, 81 30
7782 CLARK MANAGER 7839 2450 JUNE 9 81 10
7788 SCOTT ANALYST 7566 3000 APRIL 19, 87 20
PRESIDENT OF 7839 17 NOVEMBER KING 81 5000 10
7844 TURNER 7698 08 - SEP - 81 1500 0 30 SALESMAN
7876 ADAMS 7788 1100 23 MAY CLERK 87 20EMPNO, ENAME, JOB HIREDATE DEPTNO COMM SAL MGR
---------- ---------- --------- ---------- --------- ---------- ---------- ----------
7900 7698 DECEMBER 3, CLERK JAMES 81 950 30
7902 7566 3000 3 DECEMBER ANALYST FORD 81 20
7934 MILLER COMMITTED JANUARY 7782 1300 23 82 1014 selected lines.
Kind regards
Navneet -
Why doe iPhoto want to load all the pictures my camera took ever when I want just to upload 3 photos?
I have just three pictures I want to load my usb for my macbook camera style
Hey FYI Apple
Where is edit?
This is how it should look.
Why does he want iPhoto to load every photo, my camera never had (since the update) when I just want what he upload 3 photos?
I have just three pictures I want to load my usb for my macbook camera style.
The camera has only 3 pictures on it, but iPhoto seems to have a memory of each photo, that I took because I've updated to the latest iPhoto and it wants to load on the page which is for the camera.
-
Get and set the value to allow selected rolling Shuffle and facing page
Hello world
I work with the page and spread,
For now, I want to value page spead shuffle and type of document.
but I just find the function to get and set the value for the Document Pages allow Shuffle using the
InterfacePtr < IPageLayoutPrefs > iPageLayoutPrefs (static_cast < IPageLayoutPrefs * > (: QueryPreferences (IID_IPAGELAYOUTPREFERENCES, iDocument)))
It has no function to set and get the value of enable selected rolling Shuffle and facing page
No one knows about it?
I thank in advance
There is no code for this example in the SDK or internet. Just understand and apply the concept.
Find the code for the shuffle spread and together following spread shuffle...
// Get active spread UIDRef GetActiveSpread() { UIDRef spreadRef = UIDRef::gNull; InterfacePtr
layoutData(Utils ()->QueryFrontLayoutData()); if(layoutData) { spreadRef = layoutData->GetSpreadRef(); } return spreadRef; } // Get spread shuffle of passed in spread bool16 GetSpreadShuffle(UIDRef& spreadRef) { InterfacePtr spread(spreadRef, UseDefaultIID()); if(!spread) return kFalse; InterfacePtr iBoolData(spread, IID_IISLANDSPREAD); if(iBoolData) { return iBoolData->GetBool(); } return kFalse; } // Set spread shuffle of passed in spread // @param bValue: kTrue = no shuffle, kFalse = allow shuffle ErrorCode SetSpreadShuffle(UIDRef spreadRef, bool16 bValue) { ErrorCode status = kFailure; InterfacePtr spreadCmd(CmdUtils::CreateCommand(kSetIslandSpreadCmdBoss)); if(!spreadCmd) return status; spreadCmd->SetItemList(UIDList(spreadRef)); InterfacePtr iBoolData(spreadCmd, UseDefaultIID()); if(iBoolData) { iBoolData->Set(bValue); } status = CmdUtils::ProcessCommand(spreadCmd); return status; } -
Until a few days ago I was able to print a PDF from Acrobat Reader ms in Windows 7. Now I get "the document could not be printed." The next panel says "there are no pages selected to print," even if all the pages have been selected. I've uninstalled Reader and reinstalled, but the problem remains. I also tried to repair the installation and that doesn't work anymore.
Thanks for the tip. It turned out that kind Reader has been commissioning in protected mode. I changed the setting and it prints now as before.
Thank you
-
All of a sudden my Elements 7 won't load all the video files not saying not supported
Suddenly my Elements 7 won't load all the video files saying not supported, I rebooted, uninstalled and reinstalled but it refuses to work any ideas please
If you are video comes from a Hi8 camcorder, then it is analog, which has been digitized. And how and what facilities allowing you to scan this video may be important. But, since you say that you have changed this video before in Premiere Elements without a problem, I'll assume this isn't the question at the moment - although it could certainly be. Especially since you use a such relatively old version of Premiere Elements, one that requires you to manually configure your project.
In fact, try to download the trial version of the latest version of Premiere Elements and see if you experience the same problem. The current versions of the program are many more automatically and are capable of managing a much wider range of video file formats. You don't have to buy the program. Just try free trial and see if you still experience the same problems.
If nothing else, install the trial version 14 version COULD even repair what has been damaged in your codec library, if that's your problem in version 7.
-
How to load all the data without uncheck Journalized data only option?
Hi all
Currently, I have configured an option only logged data for many game data and interface.
But I need to load all the data (once) without clear logged Data Only. After that it will work with the CDC.
Please help me on this.
ARO
EBAHi Eba
Another way is to copy the source data to another table (two copies).
If you have 10 source table and then create another 10 tables in doubles in the backend.
Now truncate these original paintings. Then insert the data in table duplicated in the original table. Now CDC will detect these are inserted.
But I guess you have more than 300 paintings, which is again difficult to manage. -
ADF select several shuttles become read only when the value is
Hello
I want to ask about the select oracle ADF that many shuttle.
Recently, I want to create a shuttle a lot with the pre value is set in the right box, select. When I try to set the value of the shuttle to select several properties. The shuttle many select transformed into an object as input like the image below text
but when I'm not set to select several shuttles it became normal like that
the method that I put in the value property is like that
public list < BidClassification > getListBidClassificationTaken() {}
finalClassification = new ArrayList();
The OperationBinding class method = ADFUtil.getMethodBinding ("retrSupSupplierClassificationFindAllBySupplierId");
method.getParamsMap () .put ("supplierId", getSelectedSupplier () .getId ());
List < BidClassification > finalClassification = method.execute () (list < BidClassification >).
Return finalClassification;
}
the method that I use to set the position data is like this
public list < SelectItem > getListBidClassification() {}
retval = new ArrayList();
The OperationBinding class method = ADFUtil.getMethodBinding ("retrBidClassificationFindAll");
listBidClassification = (list < BidClassification >) method.execute ();
for (BidClassification bc: listBidClassification) {}
SelectItem item = new SelectItem();
item.setLabel (bc.getId ());
item.setValue (bc);
retval. Add (Item);
}
Return retval;
}
I have already replace the method equal in the BidClassification class so there will be no more no problem
Header 1 < af:selectManyShuttle label = 'Grading' id = 'sms1"binding =" #{backingBeanScope.backing_vendorEdit.sms1} ' "
leadingHeader = 'Ranking Master' trailingHeader = 'Grading of provider' >
< f: selectItems value = "#{backingBeanScope.backing_vendorEdit.listBidClassification}" id = "si1" "
Binding="#{backingBeanScope.backing_vendorEdit.SI1}"/ >
< / af:selectManyShuttle >
This the jsff xml where I put the shuttle several select no defined value
< af:selectManyShuttle label = 'Grading' id = 'sms1"binding =" #{backingBeanScope.backing_vendorEdit.sms1} ' "
leadingHeader = 'Ranking Master' trailingHeader = 'ranking of provider.
value = "#{backingBeanScope.backing_vendorEdit.listBidClassificationTaken}" >
< f: selectItems value = "#{backingBeanScope.backing_vendorEdit.listBidClassification}" id = "si1" "
Binding="#{backingBeanScope.backing_vendorEdit.SI1}"/ >
< / af:selectManyShuttle >
Select this the jsff xml where I put the shuttle well with the value
someone has an idea of what's going on with this code? ___. thx a lot btw
@
Yeay! I already fix it!
BTW who behave the same as me.
You must make a note on the setter and the Get accessor of the variable list you use
* in my case, I don't implement the
setter method and the list -
Select SQL statement - See all the value of the range of month of entry
Hi all
I have a vision that is a union of other views
But the description of the view is as below
-current data in the viewdesc dashboard_monthly_view Name Null Type ------------------------------ ---- ------------ MONTHS VARCHAR2(17) NUM_DEPENDENT_IN_ASSESSMENT NUMBER NUM_REFERRED_AODTC NUMBER NUM_AT_DETERMINATION_HEARING NUMBER NUM_ACCEPTED NUMBER NUM_NOT_ACCEPTED NUMBER NUM_EXITED_SUCCESS NUMBER AVERAGE_DAY_TO_EXIST NUMBER NUM_EXITED_UNSUCCESS NUMBER AVERAGE_DAY_TO_EXIST_UNSUCCESS NUMBER COURT_NAME VARCHAR2(9)
-My select query isMONTHS NUM_DEPENDENT_IN_ASSESSMENT NUM_REFERRED_AODTC NUM_AT_DETERMINATION_HEARING NUM_ACCEPTED NUM_NOT_ACCEPTED NUM_EXITED_SUCCESS AVERAGE_DAY_TO_EXIST NUM_EXITED_UNSUCCESS AVERAGE_DAY_TO_EXIST_UNSUCCESS COURT_NAME ----------------- --------------------------- ---------------------- ---------------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------------------ ---------- AUG 2012 1 0 0 0 0 0 0 0 0 AAA OCT 2012 8 1 3 1 1 1 44 1 4 AAA SEP 2012 2 0 2 2 0 0 0 0 0 AAA *UNDEFINED* 0 11 7 1 1 0 0 1 0 AAA NOV 2012 0 0 0 0 0 0 0 1 54 BBB OCT 2012 4 1 2 1 1 1 9 0 0 BBB SEP 2012 1 0 0 0 0 1 14 0 0 BBB *UNDEFINED* 0 5 4 1 0 0 0 1 0 BBB AUG 2012 1 0 0 0 0 0 0 0 0 COMBINED NOV 2012 0 0 0 0 0 0 0 1 54 COMBINED OCT 2012 12 2 5 2 2 2 26.5 1 4 COMBINED SEP 2012 3 0 2 2 0 1 14 0 0 COMBINED *UNDEFINED* 0 16 11 2 1 0 0 2 0 COMBINED 13 rows selected
- And the result isDEFINE startmonth = "Aug 2012"; DEFINE endmonth = "Nov 2012"; with all_months as ( select to_char(which_month, 'MON YYYY') month from (select add_months(to_date('&startmonth','MON YYYY'), rownum-1) which_month from all_objects where rownum <= months_between(to_date(NVL('&endmonth', '&startmonth'),'MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1)) order by which_month ) ) select nvl(months, '**ALL**') AS "MONTHS", TO_DATE(MONTHS, 'MON YYYY') AS MONTH_SORT , sum(num_dependent_in_assessment) AS num_dependent_in_assessment , sum(num_referred_aodtc) AS num_referred_aodtc , sum(num_at_determination_hearing) as num_at_determination_hearing , sum(num_accepted) AS num_accepted , sum (num_not_accepted) AS num_not_accepted , sum(num_exited_success) as num_exited_success , sum(average_day_to_exist) as average_day_to_exist , sum(num_exited_unsuccess) as num_exited_unsuccess , sum (average_day_to_exist_unsuccess) as average_day_to_exist_unsuccess from DASHBOARD_MONTHLY_VIEW right outer join all_months on DASHBOARD_MONTHLY_VIEW.months = all_months.month --where months in (select month from all_months) and upper(court_name) like 'AAA' group by (months) order by month_sort
-The requirement of results I have to produce isMONTHS MONTH_SORT NUM_DEPENDENT_IN_ASSESSMENT NUM_REFERRED_AODTC NUM_AT_DETERMINATION_HEARING NUM_ACCEPTED NUM_NOT_ACCEPTED NUM_EXITED_SUCCESS AVERAGE_DAY_TO_EXIST NUM_EXITED_UNSUCCESS AVERAGE_DAY_TO_EXIST_UNSUCCESS ----------------- ------------------------- --------------------------- ---------------------- ---------------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------------------ AUG 2012 01/08/12 1 0 0 0 0 0 0 0 0 SEP 2012 01/09/12 2 0 2 2 0 0 0 0 0 OCT 2012 01/10/12 8 1 3 1 1 1 44 1 4 **ALL**
On the tota (* EVERYTHING *) l, I tried to use the rollup but he total average too, which is not correct. I think the reason because he cannot read the form that was used to calculate the column.MONTHS MONTH_SORT NUM_DEPENDENT_IN_ASSESSMENT NUM_REFERRED_AODTC NUM_AT_DETERMINATION_HEARING NUM_ACCEPTED NUM_NOT_ACCEPTED NUM_EXITED_SUCCESS AVERAGE_DAY_TO_EXIST NUM_EXITED_UNSUCCESS AVERAGE_DAY_TO_EXIST_UNSUCCESS ----------------- ------------------------- --------------------------- ---------------------- ---------------------------- ---------------------- ---------------------- ---------------------- ---------------------- ---------------------- ------------------------------ AUG 2012 01/08/12 1 0 0 0 0 0 0 0 0 SEP 2012 01/09/12 2 0 2 2 0 0 0 0 0 OCT 2012 01/10/12 8 1 3 1 1 1 44 1 4 NOV 2012 01/11/12 0 0 0 0 0 0 0 0 0 **ALL**
How can I fix this, should I create, select another below one, with the sum of each column and the average for the other columns.
Also, the business analyst want to show all the months between the start and end of the month.
I used the right outer join, but apparently does not produce the right result.
If anyone of you have any ideas, please advise.
We use Oracle 11 g, it is a select statement for an Oracle APEX report.
The APEX version is 4.0.2. I'm a junior developer of the APEX and I still have to learn a lot about SQL Oracle analytic function.
Thank you very much in advance.
AnnHi, Ann.
Ann586341 wrote:
... I created a table to contain a simplified version of this viewThank you. It is much easier to work with.
... My query is
DEFINE startmonth = "Aug 2012"; DEFINE endmonth = "Nov 2012"; with all_months as ( select to_char(which_month, 'MON YYYY') month from (select add_months(to_date('&startmonth','MON YYYY'), rownum-1) which_month from all_objects where rownum <= months_between(to_date(NVL('&endmonth', '&startmonth'),'MON YYYY'), add_months(to_date('&startmonth','MON YYYY'), -1)) order by which_month ) ) , tbl_dashboard_active as ( select * from tbl_dashboard_monthly where months != '**UNDEFINED**' ) select tbl.months AS "MONTHS" --, TO_DATE(tbl.MONTHS, 'MON YYYY') AS MONTH_SORT , tbl.num_hearing , tbl.num_exited_success , tbl.avg_day_success_exist , tbl.num_exited_unsuccess , tbl.avg_day_unsuccess_exist from tbl_dashboard_active tbl right outer join all_months am on tbl.months = am.month and upper(tbl.court_name) like 'BBB' UNION ALL select 'ALL' AS "TOTAL" , SUM(tbl.num_hearing) , SUM(tbl.num_exited_success) , round(AVG(tbl.avg_day_success_exist),2) , SUM(tbl.num_exited_unsuccess) , round(AVG(tbl.avg_day_unsuccess_exist),2) --order by to_date(am.month,'MON YYYY') from tbl_dashboard_monthly tbl right outer join all_months am on tbl.months = am.month and upper(tbl.court_name) like 'BBB'
- And the result I got
MONTHS NUM_HEARING NUM_EXITED_SUCCESS AVG_DAY_SUCCESS_EXIST NUM_EXITED_UNSUCCESS AVG_DAY_UNSUCCESS_EXIST ----------------- ----------- ------------------ --------------------- -------------------- ----------------------- AUG 2012 1 0 0 0 0 OCT 2012 1 0 0 2 35 SEP 2012 1 0 0 0 0 ALL 3 0 0 2 11.67
I don't know why even I already filter all lines that the month is undefined, I still have a blank line in the result set.
This is the line for November. You do an outer join, in order to ensure that each value of am.month is displayed, even if it does not match what anyone in tbl. When it does not match anything, then all the columns tbl is supposed to provide will be NULL. You decide to view tbl. months, which is one of the following columns will be NULL. You should display mod. monmth instead.
But if I run for handset Court, I don't see this problem. The reason is that the Court combined have given for all four months?
When you say "on behalf of the combined Court", do you mean the unconditional "upper (tbl.court_name) as"BBB "?
If Yes, that would explain it.Also is it possible to list all the months between the start and end month assuring the user even if the statistics are 0.
Once again, in the case of lines that are present, even if they do not have the status of outer join, all of these columns will be NULL. Use NVL to map these nulls to 0.
and how to sort the month
GROUP OF two expressions, which depend on each other: one for sorting and the other for display.
For the sort expression, you can use months as a DATE. (It seems that you have tried this, but commented on the ORDER BY clause in your query is before the FROM clause.) The ORDER BY clause is always at the end of the query, after the FROM clause.)
Another expression of sorting is the number you used to generate the first month. That's what I used below.Here's a way to get the results you requested:
WITH got_months AS ( SELECT TO_DATE ('&startmonth', 'Mon YYYY') AS startmonth_dt , TO_DATE ( NVL ( '&endmonth' , '&startmonth' ) , 'Mon YYYY' ) AS endmonth_dt FROM dual ) , all_months AS ( SELECT rownum AS month_num , TO_CHAR ( ADD_MONTHS ( m.startmonth_dt , ROWNUM - 1 ) , 'MON YYYY' ) AS months FROM got_months m CROSS JOIN all_objects WHERE ROWNUM <= 1 + MONTHS_BETWEEN ( m.endmonth_dt , m.startmonth_dt ) ) SELECT NVL ( am.months , 'All' ) AS months , SUM (NVL (tbl.num_hearing, 0)) AS num_hearing , SUM (NVL (tbl.num_exited_success, 0)) AS num_exited_success , AVG (NVL (tbl.avg_day_success_exist, 0)) AS avg_day_success_exist , SUM (NVL (tbl.num_exited_unsuccess, 0)) AS num_exited_unsuccess , AVG (NVL (tbl.avg_day_unsuccess_exist, 0)) AS avg_day_unsuccess_exist FROM all_months am LEFT OUTER JOIN tbl_dashboard_monthly tbl ON am.months = tbl.months AND UPPER (tbl.court_name) = 'BBB' GROUP BY GROUPING SETS ( (am.month_num, am.months) , () ) ORDER BY am.month_num ;
Again, I used two GROUP BY expressions: one for sorting, the other for display. These depend on each other, that is, given one, you could derive from each other, and it is not sensible to dependent ROLLUP GROUP BY expressions like that, so I used GROUPING SETS ROLLUP instead, so it would be only 1 rank of great aggregate (in other words, 'all').
Output:
` AVG_ AVG_ NUM_ DAY_ NUM_ DAY_ NUM_ EXITED_ SUCCESS EXITED_ UNSUCCESS MONTHS HEARING SUCCESS _EXIST UNSUCCESS _EXIST --------- ------- ------- ---------- --------- ---------- AUG 2012 1 0 0 0 0 SEP 2012 1 0 0 0 0 OCT 2012 1 0 0 2 35 NOV 2012 0 0 0 0 0 All 3 0 0 2 8.75
-
Prevention of Mult. Select all THE values column of the pivot table
All,
Is there a way to prevent the behavior when viewing a PivotTable and using a Mult. Select guest, choosing mult. values and each pivot has all THE column values for all THE pivots on the screen?
For example, lets say we had the following in the pivot:
Column: STATE
Line: PRODUCT
and we had a Mult. Select a prompt on the REGION - East, West, Central, West
If I've chosen is in the prompt, I get all the States of the REGION of the East for the first values.
If I choose the East and the West in the prompt, I get a pivot showing amounts East and Southeastern States in the Western States AND top (no value, of course) at the top. I also have an another pivot below showing the amounts of the West and Western States, AND the Northeastern States (no values for the Eastern States).
In other words, all States that are in the mult. REGION show selected in each pivot.
Thank you.Uh, that's what I said...
-
By default, all the value in the selection list, so Select percent select list
Hello
I created the application process to extract the name of the State in the selection list based on the name of the city.
Now I need if I don't have the name of the city and I select % in city name select list then any name should come in the select list.
Now if I select % in select list and then he shows me empty in state name select list.
How can I extract all the name of the State if I select % in select list.
My application process
My city name TableBEGIN 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('<data>'); HTP.prn ('<select>'); FOR c IN (select S.NAME,S.CODE from STATE_MAS S,CITY_MAS C where C.STATE_CODE=S.CODE AND C.CODE =:SELECT5) LOOP HTP.prn ('<option value="' || c.CODE || '">' || c.NAME || '</option>'); END LOOP; HTP.prn ('</select>'); htp.prn('</data>'); END;
My name status TableCREATE TABLE "CITY_MAS" ( "CODE" VARCHAR2(3) NOT NULL ENABLE, "NAME" VARCHAR2(1000) NOT NULL ENABLE, "STATE_CODE" VARCHAR2(3) NOT NULL ENABLE )
How can I do that.CREATE TABLE "STATE_MAS" ( "CODE" VARCHAR2(3) NOT NULL ENABLE, "NAME" VARCHAR2(50) NOT NULL ENABLE ) /
Thank you
Published by: 805629 on January 25, 2011 02:06Change the cursor query loop to handle this
select S.NAME,S.CODE from STATE_MAS S,CITY_MAS C where C.STATE_CODE=S.CODE AND C.CODE =:SELECT5
TO
select S.NAME,S.CODE from STATE_MAS S,CITY_MAS C where C.STATE_CODE=S.CODE AND ( C.CODE =:SELECT5 OR :SELECT5 = '%' )
-
How to select all the values populated both of LOV
Hi all.
I developed a form containing fields in a table. I join these areas a LOV (which get values in the other table). Now, I have to select a value only once for each record.
But my question is how to map all the LOV values to these fields at a time. If it is possible what exactly is the way.
If this is not possible then what is the way to do that.
Thanks in advanceHello!
Try using this code.
You will get a lot of messages, but you can discover what column could not be red:declare l_group recordgroup := find_group ( 'lov27' ); l_result pls_integer; begin if show_lov --> show the lov and user selected a value then l_result := populate_group ( l_group ); clear_record; for i in 1..get_group_row_count ( l_group ) loop message ( 'reading personal no' ); :bill_detail.personal_no := get_group_char_cell ( 'lov27.personal_no', i ); message ( 'reading name' ); :bill_detail.name := get_group_char_cell ( 'lov27.name', i ); message ( 'reading desigantion' ); :bill_detail.designation := get_group_char_cell ( 'lov27.designation', i ); message ( 'reading rank' ); :bill_detail.rank := get_group_char_cell ( 'lov27.rank', i ); message ( 'reading basic scale' ); :bill_detail.basic_scale := get_group_number_cell ( 'lov27.basic_scale', i ); message ( 'reading basic pay' ); :bill_detail.basic_pay := get_group_number_cell ( 'lov27.basic_pay', i ); message ( 'reading basic pay' ); :bill_detail.vendor_no := get_group_number_cell ( 'lov27.vendor_no', i ); message ( 'reading branch code' ); :bill_detail.branch_code := get_group_number_cell ( 'lov27.branch_code', i ); message ( 'reading sr no' ); :bill_detail.sr_no := get_group_number_cell ( 'lov27.sr_no', i ); create_record; end loop; first_record; end if; end;
Maybe you are looking for
-
Any warranty on Apple USB adapter - C VGA Multipart that is not w / in 6 months?
Hello I bought a new Apple USB - C VGA Multipart adapter to my Mac dealer on July 23, 2015 and it failed on January 16. They say it is covered by the general Apple 1 year warranty, but I have to deal directly with Apple. I see on your page warranty i
-
Qosmio G50 - 12 H - screen goes black
I have the screen so he died in 20 minutes. In all what's going at some point retrieves no more and remains black.To whom it is due? Thank you
-
Generate a flexible-access license
How to build a flexible-access University license?
-
Hello world. I just follow the example below http://zone.NI.com/reference/en-XX/help/371361F-01/lvhowto/concatenating_two_strings/ but allways vc gives me an error like this: -Configuration: MyDLLTest - Win32 Debug-The compilation...MyDLLTest.cppWhic
-
Moreover, the fan for her but I can't seem to find a place to buy it. my computer is a HP h8-1030/computer tower. the fan does not always work and some time wherever I tried to contact the Microsoft site tech section, I had the same type of response