Popup lov in a report is not working if I have an order by caluse
I created a form manually using the document from the url:
http://otn.oracle.com/products/database/htmldb/howtos/tabular_form.html#MANUAL
I used the following query from that document.
select htmldb_item.hidden(1,empno) empno,
ename,
htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
wwv_flow_item.date_popup(6,null,hiredate) hiredate,
htmldb_item.text(7,sal,10) sal,
htmldb_item.text(8,comm,10) comm,
htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
from emp
This works fine.
But if I add an order by clause to the query the popup key for mgr column doesn't work.
select htmldb_item.hidden(1,empno) empno,
ename,
htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
wwv_flow_item.date_popup(6,null,hiredate) hiredate,
htmldb_item.text(7,sal,10) sal,
htmldb_item.text(8,comm,10) comm,
htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
from emp
order by ename
Is this a bug ?
Is there a work around ?
Thanks
Chandra.
Chandra,
Please refrain from asking the exact same question twice. It doesn't help the quality of this forum. If you have to, "bump" an existing unanswered question up (wait a day or two, please) in case it fell through the cracks.
Now for the answer:
select htmldb_item.hidden(1,empno) empno,
ename,
htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
htmldb_item.popupkey_from_query(4,mgr,'select ename d, empno r from emp',10) mgr,
wwv_flow_item.date_popup(6,null,hiredate) hiredate,
htmldb_item.text(7,sal,10) sal,
htmldb_item.text(8,comm,10) comm,
htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
from (select * from emp order by ename)
Use an inline view like in the example above to do the sorting first. If you sort a result set that includes Popup LOVS, then the Javascript used to populate the text fields doesn't work anymore.
Sergio
Similar Messages
-
Some reports do not work after upgraded to Crystal Report 2008
Hi All,
After upgraed from Crystal Report XI to Crystal Report 2008, some reports work fine. others not. All of the not-working reports have the same problem: Database connection failed.
And I can even not be able to create a brand new report. The problem looks like following:
1. Created a new ASP.NET solution in Visual Studio 2008. The page file is default.aspx
2. Created an empty Crystal Report file: CrystalReportTEST.rpt
3. Asign CrystalReportTEST.rpt to default.aspx
4. Run default.aspx. It works fine
5. Just connect to database without place any field to the report
6. Run default.aspx again. It does not work. It shows blank screen with the message "Database logon failed." on the top-left corner.
Regards,
TripleHi Amit,
I have tested many times again for creating new report in new solution. It looks like that, the preview in VS2008 always work fine, but when runing the application, sometimes it works sometimes does not work. I have not still found the role. Following step shows my testing process:
1. Start Visual Studio 2008
2. Go to menu "File->New->Web Site..."
3. In dialogbox "New Web Site"
a. Highlight "ASP.NET Crystal Reports Web Site"
b. Select location "File System"
c. Select language "Visual C#"
d. Select "E:\JL\CrystalReportsWebSite1"
e. Click button "OK"
4. It appears dialogbox "Crystal Reports Gallery"
a. Select "Using the Report Wizard" in portion of "Create a New Crystal Report Document"
b. Select "Standard" in portion of "Choose an Expert"
c. Click button "OK"
5. It appears dialogbox "Standard Report Creation Wizard"
a. Click button "Cancel"
6. It is back to page edit view of "CrystalReport1.rpt"
7. Click button "Main Report Preview". It shows the preview with blank page
8. Click button "Main Report". It came back to the edit view
9. Go to menu "Crystal Reports -> Database -> Database Expert...", dialogbox "Database Expert" appears. Select table u201Cactivity_cdu201D as showing in following screen shot:
10. Click button u201COKu201D. It returns to the edit view without any changes
11. Place some fields into the report, then click button "Main Report Preview". It shows the preview with data
12. Run application by pressing key F5 or key combinition Ctrl+F5, it shows up database connection import screen
13. Close the browser and back to file Default.aspx, change u201CEnableDatabaseLogonPromptu201D to u201DFalseu201D and run the application again, it shows following message "Database logon failed."
Regards,
Triple -
Discoverer Reports does not work in Multi-org Environment after R12 Upgrade
Discoverer Reports does not work in Multi-org Environment after R12 Upgrade. Created a simple report using the below query:
SELECT po_header_id, segment1, type_lookup_code
FROM po_headers
WHERE segment1 = '5000002'
Query works perfectly fine; when i set the ORG_CONTEXT in the database using the command:
EXEC mo_global.set_policy_context('S',129)
But the report doesn't fetch any data when ran from an Org based responsibility. We've ensured that the MO: Operting Unit is set accurately and general Oracle reports (PLSQL Program OR XML Publisher) are working perfectly fine.
===========
I followed the steps provided in Metalink Note: 732826.1 - It works for some responsibilities where the MO: Security Profile is not set; but fails for those responsibilities where the MO: Security Profile is set.
I am looking for specific solution that works irrespective of either the MO: Operating Unit profile is set of not.
Please suggest. Appreciate your response.
Thanks,
Kesava ChunduriHi Hussein,
Thanks for the quick response.
Yes, I've gone thru both the notes specified below:
Discoverer Workbooks Based On Organization Enabled Views Are Not Populated [ID 1293438.1]
- Tried this option; but this option is messing up a couple of Oracle Standard Functionalities.
- For ex: If i set this profile option; we are not able to create any receipts using Custom Responsibilities.
I am able to create the receipt, when i remove this profile option.
No Data Shows for Reports in Discoverer 10g with Applications Release 12 [ID 1054380.1]
- I see that the products i am running these reports from AR/GL - already exists in these tables.
Anything other options??
Thanks,
Kesava -
1. TACAS+ Accounting and Logged in Users report is not working on ACS 4.1(1
Hi,
I am facing problem with ACS 4.1 accounting, TACAS+ Accounting and Logged in Users report are not working, the csv file is been generated but nothing is showened in the file.
I have checked the documents related to ACS 4.1, it says that there is a bug related to command accounting âCSCsg97429 - TACACS+ Command Accounting does not work in ACS 4.1(1) Build 23â.
Tried upgrading the same with the patch applAcs-4.1.1.23.3.zip, still it is not working.
Other reports are working fine.
1. TACAS+ Accounting - not working
2. Logged in Users - not working
3. TACAS+ Administration - working
4. Passed Authentication - working
5. Failed Attempts - working
Any suggestions or any idea, please revert.
Regards
VineetHi,
Thanks
Yes I have configured the command âaaa accounting exec default start-stop group tacacs+â
As I have mentioned all the other reports are working. Which user and when he has logged in and what commands he has used. Only the TACAS+ Accounting and logned user is not working.
Regards,
Vineet -
Extraction and Reporting is not working in BI SYSTEM
Hi,
The BI developement r shows error an License Expire.Currently i change the system date and working fine. If changing the system date modeling part is working fine. But extraction and Reporting is not working. please help me to solve this problem.HI,
If the license is expired then appky for the permanent license from Service market place and install it in the system through SLICENSE TCode. For this you need to have S-user ID to access service market place to apply for license.
Regards,
Sharath -
Web reporting does not work in BW system
Hi-
I'm a BW consultant with very little BASIS knowledge and have been asked to look into why web reporting is not working on our system.
We get the following message when trying to run BW queries on the web:
Not found
The following error occured:
%3cpre%3e%0aLOCATION+++MessageServeronhosttongue%0aERROR+++++Grouptonguenotfound%0a%0aTIME+++++++TueMar2004%3a21%3a132007%0aRELEASE+++640%0aCOMPONENT+LG%0aVERSION+++5%0aRC++++++++-6%0aMODULE++++lgxx_mt%2ec%0aLINE++++++3518%0aDETAIL++++LgIGroup%0aCOUNTER++++10%0a%3c%2fpre%3e
I've checked SICF and all services are activated. I suspect that the problem is in the RZ10 parameters, but do not know what needs to be set there. Here are our settings:
rdisp/max_wprun_time 3600
abap/cache_area 10000000
abap/buffersize 1500000
login/system_client 100
INSTANCE_NAME DVEBMGS00
SAPSYSTEM 00
rdisp/wp_no_dia 10
rdisp/wp_no_btc 6
rdisp/wp_no_vb 2
rdisp/wp_no_vb2 1
rdisp/wp_no_enq 1
rdisp/wp_no_spo 1
DIR_TRANS /usr/sap/trans
ms/server_port_<xx> PROT=HTTP, PORT=8080
icm/server_port_0 PROT=HTTP,PORT=8080,EXTBIND=1
DIR_ORAHOME /oracle/BWD/920_64
ipc/shm_psize_10 104000000
ipc/shm_psize_14 0
ipc/shm_psize_18 0
ipc/shm_psize_19 0
ipc/shm_psize_30 0
ipc/shm_psize_40 114000000
ipc/shm_psize_41 0
Is there anything obvious missing?
Thanks,
TristanFollowing seems a little odd....
ms/server_port_<xx> PROT=HTTP, PORT=8080
I would expect something like:-
ms/server_port_0 = PROT=HTTP,PORT=8102 (or other relevent port number) -
hi
i tried to update to ios 8.2 on my iphone 5s when message popup to me now my iphone not working, please help i dont want to lose my dataWhat is the exact text of the message you got? And did you not back up before you updated?
-
Active Report Viewer not working in Internet Explorer 10
We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
We looked for the various workarounds but we did not succeed.
Some application does nothing when we click on a button to generate the report but some applications throws the below error:
"ActiveX
control failed to load! -- This control is required to use the Address Book and Attachment features. Please check your browser security settings and/or contact PC Support to install the digitally signed control."
We will be glad if we get any assistance on this issue.We have many legacy applications developed using ASP and VB(InterDev). Our organisation is moving to use Internet Explorer 10 in the near future.
We had a IE10 compatibility testing for our legacy applications and we observed that the applications using Active Report Viewer to generate the reports are not working. Applications works perfectly fine with the older version of Internet Explorer.
We looked for the various workarounds but we did not succeed.
Some application does nothing when we click on a button to generate the report but some applications throws the below error:
"ActiveX control failed to load! -- This control is required to use the
Address Book and Attachment features. Please check your browser security settings and/or contact PC Support to install the digitally signed control."
We will be glad if we get any assistance on this issue.
Hi,
There is a more dedicated forum for web development issues
https://forums.asp.net , I would recommend you post this issue in that forum to get more dedicated supports.
Thanks for your understanding.
Regards.
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Oracle 9iAS R2 - reports are not working - JSP Error
dear All
We are having issue in our Oracle 9i AS R2, the reports are not working, this thing happend suddenly , while runing any report the following messages are coming
==============
500 Internal Server Error
OracleJSP:
JSP Error:
Request URI:/repdemo/examples/Tools/test.jsp
Exception:
org.omg.CORBA.OBJECT_NOT_EXIST: minor code: 0 completed: No
at com.inprise.vbroker.ProtocolEngine.PortfolioImpl.getConnector(PortfolioImpl.java:79)
at com.inprise.vbroker.ProtocolEngine.ManagerImpl.getConnector(ManagerImpl.java:147)
at com.inprise.vbroker.orb.DelegateImpl._bind(DelegateImpl.java:196)
at com.inprise.vbroker.orb.DelegateImpl.verifyConnection(DelegateImpl.java:365)
at com.inprise.vbroker.orb.DelegateImpl.is_local(DelegateImpl.java:493)
at org.omg.CORBA.portable.ObjectImpl._is_local(ObjectImpl.java:356)
at oracle.reports.engine._EngineReportStub.doneReport(_EngineReportStub.java:36)
at oracle.reports.definition.RWJspProxy.doneReport(RWJspProxy.java:261)
at oracle.reports.definition.RWReport.done(RWReport.java:1087)
at oracle.reports.jsp.ReportTag.release(ReportTag.java:398)
at oracle.jsp.runtime.OracleJspRuntime.releaseTagHandler0(OracleJspRuntime.java:1109)
at oracle.jsp.runtime.OracleJspRuntime.extraHandlePCFinally(OracleJspRuntime.java:1213)
at examples.tools._test._jspService(_test.java:292)
[SRC:/examples/Tools/test.jsp]
at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:302)
at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterChain.java:59)
at oracle.security.jazn.oc4j.JAZNFilter.doFilter(JAZNFilter.java:283)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:523)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
-=================
please help to resolve this issue.
thanks in advance.
regardsDear All
Just to share the solution of the problem.
We restarted the XServer which is on the other machine then Oracle 9i AS Middle Tiere and Infra. Once we restarted the XServer machine, and restarted the reports server , every thing back to normal.
regards -
Crystal reports 2008 not working on 64 bit OS
Hello Everybody,
I have developed crystal reports in CR2008. My development environment is 32 bit OS with visual studio 2005 and it is working fine. When I deployed this applciation into 64 bit OS,application is working fine,but reports are not working/displaying.
Thanks
RamI moved your post to the .NET - SAP Crystal Reports forum. You'd never have gotten an answer on the CR Design forum
More info needed:
Exact version of CR (Help | About)?
Web or win app?
More details on:
reports are not working/displaying
Errors? Do you get the viewer? Or just an empty form?
Ludek
Follow us on Twitter http://twitter.com/SAPCRNetSup -
Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.How can I unlock my iPad if I forgot the passcode?
http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
iOS: Device disabled after entering wrong passcode
http://support.apple.com/kb/ht1212
How can I unlock my iPad if I forgot the passcode?
http://tinyurl.com/7ndy8tb
How to Reset a Forgotten Password for an iOS Device
http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
Using iPhone/iPad Recovery Mode
http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
You may have to do this several times.
Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
~~~~~~~~~~~~~
‘iPad is disabled’ fix without resetting using iTunes
Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
2. Open iTunes with the iPad disconnected.
3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
5. Click ‘Setup as new iPad’ and then click restore.
6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
~~~~~~~~~~~~~
Try it and good luck. You have nothing more to lose if it doesn't work for you.
Cheers, Tom -
Touch zoom not working and I have it checked in systems preferences
need help on Lion touch zoom, not working and I have it checked in systems preferances.
Mine is even weirder, but maybe I can help.
First, a number of people are reporting that the zoom feature seems to stop working after the computer goes to sleep. You get it back if you reboot. However, a simpler solution is that you can move the cursor to a screen corner - one you have set up to start a screen saver - and when you move the cursor away to stop the screen saver, the zoom works again. Still a bug, but fairly easy to deal with until your computer goes to sleep again.
Mine is really weird because, as I was working to try to get zoom to work before finding out this other stuff, somehow I ended up with a situation where if I turn on zoom, the screen instantly zooms and I can't get it to unzoom except by turning off zoom. However, even though zoom is then turned off, I can zoom the screen as if it is on!
So, besides trying the trick of activating the screen saver, you might try turning off zoom and see if it will still zoom. -
If my IPhone 5c is not working and I have to trade it for a new phone can I get a 5s or do I have to trade it in for another 5c?
A warranty or out of warranty replacement through Apple will be for the same model, same capacity, same colour.
-
Dear sirs,
Could you please help me on my problem with my apple ID
I create new account with security questions, and when I try to purchase paid application,it ask me for answers the questions but it's not working,
My account have 50$ and still didn't buy anythingYou need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
(100546) -
My iPhone 5 rear camera was not working, now the rear camera is also not working. I have procured the phone in 2012 from San Fransico. USA Can anyone help me, please?
No one here can help you. If your phone is no longer under warranty, a third-party repair shop will most likely be your best bet. You can't mail the phone to Apple, in the US, as Apple does not accept international shipments. You could mail it to a friend/relative, in the US, & they could take it to an Apple store for you. Some Apple stores repair iPhones. Otherwise, you're looking at an out of warranty replacement.
Good luck.
Maybe you are looking for
-
Creation of Custom Report in BI based on MM datasources.
Hi, I have a requirement wherein all the mentioned below fields needs to be in one report. PO #: PO Date: PO Amount: PO Period: GR #: GR Date: GR Amount: GR Period: Invoice #: Invoice Date: Invoice Amount: Invoice Period: Payment Due Date Plant Mater
-
Microphone Volume on MSI x48c Platinum
I purchased a logitech 600 analog microphone and tried plugging it into both my rear mic jack and the case mic jack which is wired to the HD audio header on the x48c. The mic is instantly recognized correctly by the Realtec audio manager and I have t
-
I am trying to get my iPod touch (3rd gen), to show up in "My Computer" and in iTunes. I am using a usb cable and it is connecting okay, because the battery is charging. It won't show up as an external drive on my computer, and nothing in iTunes ei
-
Usual problem - Yosemite killed my macbook. Please help
Upgraded to Yosemite on 2008 macbook pro which had worked perfectly until then. Now it's unusable. Any command prompts the wheel of death and endless waiting. Here's an EtreCheck download but I can't see anything really wrong. All your suggestions g
-
Hi, I've looked through hundreds of posts and even more internet articles/reviews but am still unclear on the Video situation for the iPad, If someone could help with the below questions i would be very grateful!! Does the iPad dock vga cable actuall