Problem with the Collection
I have problems of filling of a collection.I created my collection on page load of the Page 7 for help
BEGIN
apex_collection.create_or_truncate_collection
(p_collection_name => 'PEOPLE');
END;
The user then clicks on the "Copy" button that brings them to the Page 13.That's where I'm trying to complete my collection, by clicking on the link add to the report of the population.
for x in (select * from gus_people_2 where id = :P13_ID)
loop
apex_collection.add_member(p_collection_name => 'PEOPLE',
p_c001 => x.id,
p_c002 => x.rank,
p_c003 => x.first_name,
p_c004 => x.surname,
p_c005 => x.dob,
p_c006 => x.job,
p_c007 => x.disp_seq);
end loop;
Once added, the Member of the collection should appear in the report of the full Collection.select c001, c002, c003, c004, c005, c006, c007, 'Remove' remove
from apex_collections
where collection_name = 'PEOPLE'
I use Apex 4.1 on the Oracle websitehttp://Apex.Oracle.com/pls/Apex/f?p=4550:1:0:
Workspace: GUSCRIGHTON
Username: ANGUS. [email protected]
Password: terminator
Application name: EXCEL_UPDATE_TEST
Same username and password as described above.
It's probably something really obvious, but I can't place it today.
Any help appreciated.
Gus
Hi gUS,.
Now, run your page, it will work.
Thank you
Loga
Add the collection process
Ask = exp1
'ADD' - removed single quotes
Remove the collection process
Ask = exp1
DEL - I gave this string.
You will add later with link or a button.
Published by: Logaa on May 18, 2012 06:04
Tags: Database
Similar Questions
-
problem with the collection and refcursor
I have the 'ServerDisconnect2' function below. It should return as 'ref_cursor' on the parameter that is a data container of deleted rows slider, Java developers insist on using this type of data/collection. I don't know how to code to return the values of ID removed as 'ref_cursor '. See commented "open pDeleteList" - sentence, it is commented as does not compile.
Is it possible to convert the variable 'vDeleteList' in ref_cursor?CREATE OR REPLACE PACKAGE oe_ctx AS TYPE gIntegerTable IS TABLE OF INTEGER INDEX BY BINARY_INTEGER; TYPE cursor_type IS REF CURSOR; .... PROCEDURE ServerDisconnect2(pCasinoCode NUMERIC, pCasinoServerCode NUMERIC, pChannelServerCode CurrentLogins.ChannelServerCode%TYPE, pDeleteList OUT cursor_type) IS vDeleteList oe_ctx.gIntegerTable; BEGIN DELETE FROM ( SELECT cl.* FROM CurrentLogins cl, Accounts a WHERE cl.CasinoCode = pCasinoCode AND cl.CasinoServerCode = pCasinoServerCode AND cl.ChannelServerCode = pChannelServerCode AND cl.Code = a.code AND a.Type = 'lplayer' ORDER BY a.code ) RETURNING Code BULK COLLECT INTO vDeleteList; /* OPEN pDeleteList FOR SELECT * FROM TABLE(vDeleteList);*/ COMMIT; END ServerDisconnect2;
So my only solution would be to open the ref_cursor BEFORE delete-clause with the same query delete clause has. But I'm afraid that then after opening the instant cursor after a milliseconds the deletion clause removes different lines and the procedure would be data incorrect in pDeleteList.
Published by: CharlesRoos on August 26, 2010 06:10You need a collection of sql (created with CREATE TYPE...):
I'll use the predefined collection sys.odcivarchar2list demonstation purposes:
SQL> var cur refcursor SQL> declare ret_coll sys.odcivarchar2list; begin delete from emp returning ename bulk collect into ret_coll; open :cur for select * from table (ret_coll); end; / PL/SQL procedure successfully completed. SQL> print COLUMN_VALUE ----------------------------------------------------------------------------------------------------------------------------- SMITH ALLEN WARD JONES MARTIN BLAKE CLARK SCOTT KING TURNER ADAMS JAMES FORD MILLER 14 rows selected.
-
Problem with the collection xmltype column - tags endangered
Hello
Apex 4.0, I have a traditional relationship with this query:
The xmltype001 column is set to display text (special escape characters). What I see on the page of this something column is:SELECT c.collection_name, c.seq_id, c.c001, c.c002, c.xmltype001.getclobval() xmltype001 FROM apex_collections c
This column is filled by calling a web service using this package Apex web service utility, and this is the content for this column. However, when I export to CSV, what I see in the text file is the following:<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"> <env:Header/> <env:Body> <m:tag1 xmlns:m="http://cosservices/COSServices.wsdl"> <result xmlns:typ="http://cosservices/COSServices.wsdl/types/"> <typ:tag2> <typ:subdepartmentCode>AUTO</typ:subdepartmentCode> <typ:subdepartmentName>Automotive</typ:subdepartmentName> <typ:itemNumber>0000610</typ:itemNumber> ...
In case you missed it: all tags have disappeared and that the actual data remained. If I change the type of column to Column Standard in the report, the same thing is happening on the page.AUTO Automotive 0000610 ...
My findings to date are:
-Tags are present in the column, as it is sort of the column display in text type is smart enough to display the data correctly.
-It seems that this has something to do with the character encoding, but I don't know how to fix it. I tried to use the convert() function but no luck.
Any ideas?
Thank you
LuisHi Luis,.
It is not something as simple that the attribute "Strip HTML" report, is it?
(ie - change no.)Scott
-
Im trying to sign on a MSN chat game when I do a page appears saying that there is a problem with the security certificate from the Web site.
It gives you three choices
leave the Web site
continue to this website (not recommended)
more imformation
When I click on continue he don't go to the game it won't let me play and a page comes up saying (open ports)
also when I try to log in to yahoo Messenger, a message pops up saying
We cannot connect to yahoo messenger
then he gives me a choice of output or troubleshooting
When I use troubleshooting, it is said that there could be a problem with your internet connection
I have listed these two items because they were both working at the same time now their not.
Any site, I try to get shows this message cerificate
I did a scan on my computer and it says (fichier-\device\mfeavfk01.sys) (masked driver infection)
so im collecting it is all related to the same problem
Hello
1. what browser you use to play games online?
2. If you are using Internet explorer, version of Internet explore you use?
Method 1:
If you use Internet Explorer, I also suggest you to see link and check.
"There is a problem with the security certificate from the website" when you try to visit a secure in Internet Explorer Web site
http://support.Microsoft.com/kb/931850
Method 2:
How to reset Internet Explorer settings
http://support.Microsoft.com/kb/923737
WARNING: Reset Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.
If you are facing any issue links to the yahoo Messenger, I suggest you to contact yahoo messenger support forums and check.
-
Photoshop has encountered a problem with the display driver cs6 - win7 64 bit
Hello
I installed collection CS6 Mater, whan I tried to enter in photoshop I got this window «photoshop has encountered a problem with the display and temporarily disabled driver development using graphics hardware...» »
Whan I get is window, the "parameters of the graphics processor is gray - «photoshop detected a problem in your display driver...»» »
I have laptop with AMD Radeon R7 M260
Win7 64 bit
PC Toshiba laptop satelite l50 - b
Hi doriv,
- Update your graphics card driver.
- You have the graphical configuration Swichable?
- As Mylenium says you must add this parameter in graphic control panel so that Photoshop can detect your card.
- Open graphic switchable Configuration and add sniffer.exe and Photoshop.exe (from C:\Program Files\Adobe\Adobe Photoshop Cs6). See graphics switchable troubleshooting questions unde... | Community
Kind regards
Assani
-
Problem with the LR 2015 CC trial
Hi there, I downloaded the trial, CC lightroom 2015 (no problems with the download) but it doesn´t work properly. It seems fair to freeze several functions, it might work well for 5 minutes, and suddenly I can't put pictures (or use only parts of the functions) or drag and drop them to a collection. He also won´t open photoshop when I want to send pictures of LR. I wonder if something was wrong during the download and if I can get a new trial? I m using a Macbook Pro OSX 10.9.5. See you soon!
You cannot restart your trial period on your current computer, if it's part of your question.
You can uninstall everthing cc, restart your computer, clean by use the CC cleaning tool to resolve installation problems. CC, CS3 - CS6, restart your computer, and then reinstall the application of cc, Download Adobe Creative Cloud apps desktop | CC free trial Adobe
Use the desktop application to reinstall your lr test.
but who could also terminate your trial so if it is better than nothing of what you have now, you can leave it alone.
-
Hello, I am a beginner, I have a problem with the CLOB type, please help me
I want to write the input file is filename and string base64, then output decoded base64 content in dicrectory location (for example C:\),my code was executed but if entry with base64 long string, it displays error)
And this is my codeORA-29285: file write error ORA-06512: at "SYS.UTL_FILE", line 136 ORA-06512: at "SYS.UTL_FILE", line 813 ORA-06512: at "SYSTEM.WRITED", line 9 ORA-06512: at line 1 29285. 00000 - "file write error" *Cause: Failed to write to, flush, or close a file. *Action: Verify that the file exists, that it is accessible, and that it is open in write or append mode.
Thank youcreate or replace directory dir_temp as 'C:\'; / create or replace procedure writed(filename varchar2,code clob) as f utl_file.file_type; v_lob BLOB; begin v_lob := UTL_ENCODE.BASE64_DECODE( UTL_RAW.CAST_TO_RAW(to_char(code)) ); f := utl_file.fopen('DIR_TEMP', filename, 'w'); utl_file.put_line(f,to_clob(utl_raw.cast_to_varchar2(v_lob))); utl_file.fclose(f); end;
DBMS_XSLPROCESSOR.clob2file( cl => l_clob , flocation => 'XML_LOG' , fname => myfile_name );
for example
SQL> ed Wrote file afiedt.buf 1 declare 2 type t_emps is table of emp%ROWTYPE; 3 v_emps t_emps; 4 -- 5 v_clob clob; 6 v_newline varchar2(2) := chr(13)||chr(10); 7 begin 8 -- get the rows into a PL/SQL collection of records 9 select * 10 bulk collect into v_emps 11 from emp; 12 -- build up the CLOB 13 v_clob := 'EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,COMM,DEPTNO'; 14 for i in 1..v_emps.count 15 loop 16 v_clob := v_clob||v_newline|| 17 to_char(v_emps(i).empno,'fm9999')||','|| 18 v_emps(i).ename||','|| 19 v_emps(i).job||','|| 20 to_char(v_emps(i).mgr,'fm9999')||','|| 21 to_char(v_emps(i).hiredate,'YYYYMMDD')||','|| 22 to_char(v_emps(i).sal,'fm99999')||','|| 23 to_char(v_emps(i).comm,'fm99999')||','|| 24 to_char(v_emps(i).deptno,'fm99'); 25 end loop; 26 -- write the CLOB to a file 27 DBMS_XSLPROCESSOR.clob2file(cl => v_clob, flocation => 'TEST_DIR', fname => 'myfile.csv'); 28* end; SQL> / PL/SQL procedure successfully completed.
-
Clear the cache in connection with the collection
Hello
I create a report by using the .one problem collection has to happen when I hide any column in the report.
Enter the value in the report and press Add button line to add the new line to insert the new record, and the previous value is to clear the cache.
How can I remove this problem.
and another question
could you send me a link or sample report where the collection is used with multiple cascading select list more then select three list.
Thank you
MauryMaury,
Have you written a PL/SQL process that updates the data in the collection, whenever any button is clicked? A collection is not updated by the SUBMIT button or add a LINE unless you write the code to make - table normal function tabular forms can use the MRU deals, but it can not be used when you use a collection, so you must write code to update the collection every time that the page is sent.
I sent a link to an application that uses three LOVs cascading - as I said in my other thread, this is not based on a collection, but the LOV is nothing to do with the collections. In addition, even if it is based on 3 lists, you can extend that to 4, or more, lists easily enough as it is still used for each list after the first principle.
Andy
-
Anyone having problems with the new iPhone LTE connection 7 on Verizon?
I am now on my iPhone second 7 with Verizon. I had four phones for me and my family. I have now had issues where I have no signal in the same areas where my signal allows to be strong. I can't solve the problem with the activation/deactivation of the airplane and then mode again in normal mode. My phone will rest with no signal for 5 minutes, then going to LTE with three bars. I also had the problem where I had only 1 x signal, while my son standing right next to me has LTE. And he had the same questions, where I'm on LTE and it gets no signal. I use to have LTE where I live and work all the time, now it's spotty at best. Apple has replaced me and my sons iPhones but not luck. Still do. Any ideas or an any other suffering?
(1) go to settings/cell phone/cellular data Options/enable LTE and select ONLY the DATA. This seems to solve the problem (as a temporary solution) for most of the people affected by this problem. The bad part is your request might not be as clear (since they cannot use the highest LTE signals) and you can make calls and data at the same time. But it does not solve the issue.
(2) there are rumors (but you didn't hear that from me that we only are not supposed to discuss beta software program Apple in this forum) that the new version of Apple Beta for iOS (which also includes an update of the software carrier Verizon to 26.0) seems to solve this problem. So, there's a light at the end of the tunnel.
-
Sierra Siri, «I have some problems with the connection...» »
Guys,
I just installed Sierra on my MacBook Pro (retina, 13 inches, early 2015) version 10.12. I can't get Siri at work, the app tracks, he hears what I'm saying, but after awhile, he returns with two messages, both on the screen and verbally "I have some problems with the internet connection. Please try again in a moment. "&"Sorry, I'm having problems with the connection. Please try again in a moment. »
Any ideas?
Thank you
N
It's a network problem.
Check the proxy settings that blocks maybe, or a firewall.
System Preferences > network > Advanced (for your current connection) > Proxies
Something there?
-
Siri does not (problems with the connection)
Hello
I installed macOS Sierra yesterday. Everything seems to work fine, except Siri. With Siri I always get an error message "I am having some problems with the connection. Please try again in a moment. ». But this seems to appear every time. The network connection works fine, I can't access the Internet without problem.
No idea how solve the problem?
I use an iMac (27 inch, mid-2011). Internal microphone is connected, I also see the 'waves' change while I am speaking.
Concerning
Thomas
Hey, thochstrasser. Thank you for using communities of Apple Support.
It seems that Siri is reluctant to make his debut on your iMac after upgrade to Mac OS Sierra. I want to make sure that you get the benefit of this new feature on a Mac.
1 try safe mode if your Mac does not start -even if your iMac to market, safe mode makes sure it starts successfully.
2. How to test a question in an another user account on your Mac - since this is most likely a software problem, test to another user will indicate if it is right to your user account or throughout your system.
3. use Time Machine to back up or restore your Mac - if it seems to be systemic, the next step should not cause problems. But it is always better "to have" a backup to the "need".
4. on OS X Recovery - the issue as part of the operating system, reinstall should do.
Have a great weekend!
-
iOS 10 problems with the Mail application
Dear Apple and community support,
Here's my problem:
I have upgraded to iOS 10 on my iPhone 5s this afternoon (September 13), and now I'm not able to open e-mail - Yahoo!, and Gmail. I can receive emails, I'm not able to view the body of these emails. When I press on them, all I see is a blank white page. I can't answer emails either. I can only their flag or remove them. However, I am able to compose new e-mail messages.
Here are the steps that I've taken to try to solve my problem:
- Restarted my phone
- Remove and re-add my Mail accounts
- Made a backup and a restore full while that plugged into my laptop with the latest version of iTunes.
I should be grateful if you would help or more information on this issue.
Thank you
Emily
I also have problems with the Mail application. On my iphone, ipad, and Mac Pro. I have several addresses, a MSN, another on Go Daddy and Gmail. I have various weird problems with threads and every day he re-charge my emails, like if I have never read before. Something is really problematic with Mail.
Can the people of APPLE, you help me?
-
Problem with the installation of iOS 10
I tried to install iOS 10 earlier but it did not work, so now that I'm trying to reinstall iOS 9 if my phone will work again, if this does not work I have to reset my phone (but I am a fool and did not a back-up because I never had a problem with the software updates in the past if all data will be lost).
< published by host >
The same problem with me too. After installing ios 10 nuer OTA my iphone brick! I'm trying to re - install ios 9 i-Tunes, but 2 hours now always stop installation... what happent?
-
I'm trying to figure if someone has my problem with the haptic on Macbook 12 "2016 function. The option is checked in the preferences system, but it does not work.
Thank you
Hello luigi10m,
Thanks for posting on the Community Support from Apple. From your post, it looks like your haptic feedback does not work when you click using your trackpad and the setting is enabled. I know that this is a great feature and it is important to make it work. I'll be happy to help you.
First of all, I would like to assure you that in system preferences > Trackpad > clicking silencer is not checked, that might help. In addition, it would be useful to reset the settings of the SCM. You can find instructions here: reset the management system (SCM) controller on your Mac - Apple Support
I'll also include those for you here:
- Stop the Mac.
- Plug the MagSafe or USB - C adapter to a power source and to your Mac.
- Use the built-in keyboard, press shift-control-Option on the left side of the keyboard, then press the power button at the same time.
- All the keys to unlock, then press the power button to turn on your Mac
Take care!
-
Hello.
I have a problem with the content of spam. Somewhere in the Fox appeared script that's choking me audio spam. Every 30 minutes he's playing an audio clip that is malicious. I can't find the settings as it eliminated. Now, I don't have any plug-ins and Add-ons strange that were not initially in the Fox, but the problem is there.
I use the Fox years. The problem, he had 1.5 months after Fox cleaning. If the problem can't win, I'll be forced to give up the browser, and I wouldn't.Could test you mode without failure of Firefox? It is a standard diagnostic tool to disable some advanced features of Firefox and extensions. More info: questions to troubleshoot Firefox in Safe Mode.
Does not work if Firefox: Hold down the SHIFT key when you start Firefox.
If Firefox is running: You can restart Firefox in Mode safe mode using either:
- button "3-bar" menu > "?" button > restart with disabled modules
- Help menu > restart with disabled modules
and OK reboot.
Two scenarios: A small dialog box should appear. Click on 'Start mode safe' (not update).
Any improvement?
If the problem persists in Mode without failure, could reinstall you Firefox in this way:
Clean reinstall it
We use this name, but it isn't about deleting your settings, this is to ensure that the program, files are clean (not incompatible, corrupt or exotic code files). As described below, this process does not disrupt your existing settings. Don't uninstall NOT Firefox, that does not need.
(1) download a fresh Installer for Firefox 38.0.5 of https://www.mozilla.org/firefox/all/ in an ideal location. (Scroll down your preferred language).
(2) close Firefox (if applicable).
(3) to rename the program folder, either:
(Windows 64-bit folder names)
C:\Program Files (x86)\Mozilla Firefox
TO
C:\Program Files (x86)\OldFirefox
(Windows 32-bit folder names)
C:\Program Files\Mozilla Firefox
TO
C:\Program Files\OldFirefox
(4) run the installer you downloaded in the #1. It should automatically connect to your existing settings.
Any improvement?
Note: Some plugins can only exist in this OldFirefox file. If it is missing something essential, present in these files:
- \OldFirefox\Plugins
- \OldFirefox\browser\plugins
Maybe you are looking for
-
How to replace battery Satellite Pro 4310
Hi all I would like to know how to replace the battery on my old of Satellite Pro 4310, I read it in my paper user. We're supposed to a locking system, but I have not found anything close to the battery... only a drawing with two positions lock and u
-
Windows updates fails with the error code 'E '.
Original title: Error Code 'E '. What does the error code E? Keep saying I need updates and then fails with the E. help error code, please.
-
I write from my alternative system running the good old XP. My system Vista Ultimate (a Pentium D 840 3.2 GHz with 4 GB of RAM) was download and try to install the latest updates. After the installation, he said he would restart. With the disconti
-
I'm trying to recover my small speaker on the taskbar to control the volume
I tried to get it back, but I told myself that the program is not downloaded. Will add and remove programs. I can't control the sound on my computor or speakers. I must have accidentally he removed when more space on my hard drive. I don't know a
-
Is it true and OK that Microsoft Security Essentials turns turn off Windows Defender?