Multi update region with 5 checkboxes - problem in updating
Hi,
I have a multi update region with more 5 checkboxes which 2 tables LO & SCLO. LO ID is the unique id for each row.
1st checkbox - If we select 1st checkbox, I am adding a record to SCLO with LO ID.
2nd Checkbox - yes/no attribute in SCLO table.
3rd - 5th checkboxes - T/F attributes in LO table.
Everything is working well if there is LO ID, because I will have a hidden item for LO ID and process where I am only updating LO and adding SCLO.
When I add a new LO, the trouble occurs for updating 3rd - 5th ck boxes because there will be null value for all the columns in the row.
What I did is, I first insert LO and gets LO ID from OUT parameter, sets 3rd - 5th ckboxs as null. Then get the out parameter (LO ID) and tried to update again the LO table which is causing some problem and the code, loops are getting very tricky.
Is there any easy way to handle this?
Try waiting, a lot of people are also interested in updating to iOS 5.1 so it's probably server related.
Hope I helped,
Simmm
Similar Messages
-
I recently received an update option with the iOS 6 for my iphone. After clicking ok, my phone wanted to conect to itunes. After that it wanted me to reset the phone and after all of this was done my iphone had a grey screen and now turns on and off again on its own with out ever going past a grey screen. It will not reconect with itunes of function at all. Please help
http://support.apple.com/kb/HT1808
-
Updating regions with setDataFromArray()
Hey people,
I have a Spry Region "players" that has a Spry.Data.DataSet "dsPlayers" that is EMPTY onload
on an unrelated event I "add" rows to the dataset by first acquring any array of rows currently in the dataset and adding a new row on to it.
I then setDataFromArray(rows) with the new array of rows. My problem is that the spry:region DOES NOT update and list out the data.
here is the code
var dsPlayers = new Spry.Data.DataSet();
//........ on event function { ...
var rows = dsPlayers.getData();
var player = {ds_RowID: rows.length, fbid: row['id'], passes:0, defense:0, scored:0, shots:0, played:0 };
rows.push(player);
dsPlayers.setDataFromArray(rows);
inside a div spry:region="dsPlayers" .................
<table spry:state="ready" class="fbgreybox">
<thead>
<tr>
<!--<th>Jersey No</th>-->
<th>Player Name</th>
<th>Time Played</th>
<th>Scored</th>
<th>Passess</th>
<th>Passes Intercepted</th>
<th>Shots at Goal</th>
</tr>
</thead>
<tbody>
<tr spry:repeat="dsPlayers">
<!--<td>{ds_RowNumberPlus1}</td>-->
<td><img src="http://graph.facebook.com/{fbid}/picture?type=small"/> <!--{function::getPlayerNameById}--></td>
<td align="center" valign="middle">{played}</td>
<td align="center" valign="middle">{scored}</td>
<td align="center" valign="middle">{passes}</td>
<td align="center" valign="middle">{defense}</td>
<td align="center" valign="middle">{shots}</td>
</tr>
</tbody>
</table>
Note that in debugging I see the dataset recieving the data and the regions notification events go off.the definition for setDataFromArray() is
Replaces the data inside the data set with the row data in the specified array. If the row data does not have a ds_RowID column defined, it will automatically create one and assign an ID that is the equivalent of the row's index within the array.
Developers should be aware that the data set takes ownership of the objects within the array that is passed in. That is, it uses those objects as its row object internally. It does not make a copy of the objects.
By default, this function will trigger a synchronous "onPreLoad" notification, followed by asynchronous "onPostLoad" and "onDataChanged" notifications that are made sometime *after* the function has exited. If developers want these notifications to happen synchronously before the function exits, they can pass a true for the optional 2nd argument to the function. Developers should be aware that synchronous notifications could cause potential notification cycles in complex situations where data sets and regions are used together, so use sync notifications with caution.
Are you guys NOT suggesting that even though the notifications happen after they DON'T affect the regions? -
Help me plz with a problem after updating to ios 6.1
Hello guys, i have a iphone 4S runnig ios 5.1.1 today
i updated him to the last version wich is ios 6.1
before that i did a back up using the itunes.
so far so good i did the update via itunes..
and then i choose to restore mine informantion from the back up that i did earlier..
the back up succes all my photos, apps and wahtever came back to the phone, and one problom with it...
after the back up, on the settings app i have on the right top corner a red icon with the number "1"
wich tell me that i have a update or notficition.. whan i go to setting to see what is about
i cant fing anything, the phone is updated to the last version..
how can i delete the annoying red simble from my settins app??
please help meHi,
To solve the contacts problems try to create a "dummy" new contact. I have created new contact in the phone and all contacts appeared. Seems like the contacts app problem.
Not sure about messages and other stuff..
Cheers,
Elena -
Updating email with iCloud problems
After switching to icloud, while icloud updates for my calendar and email they are not progressing. What's the problem?
POP depends on emails being downloaded to the accessing computer, usually deleting the messages from the server once downloaded, so that they are not visible to other devices.
You can usually set the mail clients not to delete the messages, or to delete them after a specified period, so that they can be downloaded by other devices. Of course if you answer a message on one device it won't show as answered on the others, so you have to keep mental track of which ones you've dealt with. Also sent messages won't be visible to other devices.
With IMAP the messages live on the server and are read from there by all the devices (like webmail) so that the whole process of multiple devices works much better (as you see it's not actually 'syncing' at all). -
5530 V.20 update - anybody with these problems?
Hey, So the update is available for the UK phones and I updated my 5530 to the v.20 firmware. Unlike what most users say that the phone is faster, I dont really find that to be the case. When I startup, it takes awhile longer. Sometimes the wallpaper appears and then disappears and then reappears again with the contacts bar and everything. The problem really seems to be the home screen. Every time I go back to the home screen or click on menu, theres a black line in the center, a flash n nothing happens or a flash n it works. Sometimes, the flash is not there and the menu just opens up. I dont really know how to explain that, but I hope uve got an idea of what i'm saying. I'm wondering if I should soft reset.
You could always soft reset and make sure you store everything on E instead of C, but I have one little question. Do you have a wallpaperpicture in bigger size than the screen allows by pixles?
-
Afraid to install update; anyone with NO problems?
Hate to sound like such a fraidy cat, but having read all the posts reporting serious issues after installing the latest update (I guess it's 10.4.9 since I'm running 10.4.8 and am getting update notices via Software Update), I'm hesitant to install it!
Is there anyone out there with an iBook like mine (G4, 1.42 Ghz) who has installed the update withOUT problems?
iBook 14", G4 1.42GHz; 1.5GB Mac OS X (10.4.8)Hello Bud.
IMO, checking your boot volume for any directory errors via Disk First Aid repair via Disk Utility when booted from your Tiger install disc is more important than repairing disk permissions beforehand.
I've installed every major OS update when released with Jaguar, Panther and now Tiger without repairing disk permissions beforehand without a single problem but I always check my boot volume for any directory errors with Disk First Aid repair beforehand.
After using the Migration Assistant with my PB when new 1&1/2 years ago, Software Update indicated there was a major OS update available along with some additional updates. Although my PB was brand new and had not been on for more than an hour, I ran Disk First Aid repair on my boot volume before installing the available updates. Lo and behold there were some directory problems that were successfully repaired. I venture to say that I probably would have experienced some sort of problem after installing the updates had I not done so. As always, I didn't repair disk permissions beforehand and the updates were installed without any problems.
I usually repair disk permissions afterwards which is where any problems with permissions can turn up. -
As above, was using the updated version for a short time before this happened
You may have installed an extension that made changes to the connection settings.
Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
*Don't make any changes on the Safe mode start window.
*https://support.mozilla.com/kb/Safe+Mode
*https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes
Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily. -
Update calendar with holiday problem
Hi Experts,
I have a small problem, I'm not managing to add a holiday into my holiday calendar.
In SCAL in public holiday - my holidays is well created but when i want to edit holiday calendar I'm chosing the calendar and then i have a screen to assign the holiday. When i click on the assign holiday my holiday that before was present in public calendar is not exisiting. What to do?Hello,
Please check
- http://help.sap.com/erp2005_ehp_04/helpdata/EN/f0/e702041d3fdd448629b4ee7c00de09/frameset.htm
and
- http://help.sap.com/erp2005_ehp_04/helpdata/EN/2a/fa00e9493111d182b70000e829fbfe/frameset.htm
Regards,
Bentow. -
Deleting With Checkboxes Problem
I have created queries and processes as per the How To's etc. for deleting rows via check boxes. The problem I am having is that if the query returns 3 records for example and I select only 1 via the check box, all 3 records end up being deleted.
This is my query which is in an SQL Query (updatable report) region;
select
htmldb_item.checkbox(1,"a"."FUNDING_ID") "DEL",
"a"."FUNDING_ID",
"b"."CONSTRUCTOR",
"a"."YEAR",
"a"."CAPEX",
"a"."OPEX"
from "BCR_Funding" "a", "BCR_Constructor" "b"
where "PROJREV_ID" = :P10_REVIEWID
and "a"."CONSTRUCT_ID" = "b"."CONSTRUCT_ID"
and "a"."REQ" = :P10_REQ
order by "b"."CONSTRUCTOR", "a"."YEAR"
Note that "FUNDING_ID" is the primary key in "BCR_Funding".
I have a "Delete Checked" button and the process behind it is as follows;
delete from "test_tab";
for i in 1..htmldb_application.g_f01.count
loop
insert into "test_tab" values (BCR_SEQ.nextval, htmldb_application.g_f01(i));
delete from "BCR_Funding" where "FUNDING_ID" = htmldb_application.g_f01(i);
end loop;
I am using "test_tab" to see which values are being returned by the htmldb_application function.
At the completion of the process, "test_tab" contains the following
test id
5052 5049
5053 5050
5054 5050
5055 5051
"test" is simply the PK for the "test_tab" table. "id" contains the values of "FUNDING_ID" returned and deleted. Note that only id = 5050 was selected for deleting via the checkbox, yet 5049 and 5051 were deleted also.... @#$%#@
I want this to work such that only 5050 would be deleted...I have modified the process code to the following to try and see what's going on;
declare
str varchar(5);
begin
delete from "test_tab";
str:= to_char(htmldb_application.g_f01.count);
for i in 1..htmldb_application.g_f01.count
loop
insert into "test_tab" values (BCR_SEQ.nextval, to_char(htmldb_application.g_f01(i))||' ('||to_char(i)||' of '||str||')');
delete from "BCR_Funding" where "FUNDING_ID" = htmldb_application.g_f01(i);
end loop;
end
It would appear that if the query returns x rows and I select the checkbox in y rows, then the process attempts to delete x+y rows.
I have before and after screen images, i.e. before and after the "Delete Checked" button is hit which I can e-mail.
Hope someone can help.... -
I have a process that approves activities by clicking on the checkbox of my report. This is my first column called htmldb_application.g_f01. When I try to approve activities and I try to return the value of htmldb_application.g_f11(i), it always stays on the first value. Here is my code :
Declare
--Niveau_Approb number;
Retard number;
Date_Prevue_Active date;
Approbation1 number;
Delegue2 number;
Approbateur2 number;
Approb2 number;
l_count number;
Usager_Approb2 number;
Niveau number;
Begin
for i in 1..htmldb_application.g_f01.count
loop
select count(*)
into Usager_Approb2
from Approbateur, tache, activite
where activite.code_activite = htmldb_application.g_f01(i)
And activite.code_tache = tache.code_tache
And tache.code_tache = approbateur.code_tache
and approbateur.niveau_approbation = 2
and approbateur.pein = :USAGER_ACTIF
and code_activite not in
select code_activite
from Delegation, tache, activite
where activite.code_activite = htmldb_application.g_f01(i)
And activite.code_tache = tache.code_tache
And tache.code_tache = delegation.code_tache
and to_date(activite.date_prevue, 'YYYY-MM-DD')
between to_date(delegation.date_debut, 'YYY-MM-DD') and to_date(delegation.date_fin, 'YYYY-MM-DD')
and delegation.niveau_approbation = 2
and delegation.pein = :USAGER_ACTIF);
select count(*)
into Approbation1
from approbation
where code_activite = htmldb_application.g_f01(i)
and niveau_approbation = 1;
into Delegue2
from Delegation, tache, activite
where activite.code_activite = htmldb_application.g_f01(i)
And activite.code_tache = tache.code_tache
And tache.code_tache = delegation.code_tache
and delegation.niveau_approbation = 2;
select count(*)
into Approbateur2
from Approbateur, tache, activite
where activite.code_activite = htmldb_application.g_f01(i)
And activite.code_tache = tache.code_tache
And tache.code_tache = approbateur.code_tache
and approbateur.niveau_approbation = 2;
Niveau :=htmldb_application.g_f11(i);
RAISE_application_error(-20000,Niveau,TRUE);
IF (htmldb_application.g_f11(i)=2) And (Approbation1 <= 0)
THEN
RAISE_application_error(-20000,' An approbation from level 1 needs to be done before you approve level 2./ Une approbation de niveau 1 doit avoir été effectuée pour que vous puissiez approuver avec un niveau 2.',TRUE);
elsif (htmldb_application.g_f11(i)=1) and (usager_approb2 >= 1)
then
RAISE_application_error(-20000,'You already have to approve level 2 so you can not approve level 1/ Vous devez déjà approuver un niveau 2 alors vous ne pouvez approuver un niveau 1.',TRUE);
ELSE
Insert into Approbation (PEIN, CODE_ACTIVITE, DATE_APPROBATION, DATE_CREATION, PEIN_CREATION,
NIVEAU_APPROBATION, PEIN_REVISION, DATE_REVISION)
Values (:USAGER_ACTIF, htmldb_application.g_f01(i),sysdate, sysdate,
:USAGER_ACTIF,htmldb_application.g_f11(i), :USAGER_ACTIF, sysdate);
commit;
Select NBJRS_RETARD into Retard from tache, activite where activite.code_activite =
htmldb_application.g_f01(i) and activite.code_tache = tache.code_tache;
Select date_prevue into Date_Prevue_Active from activite where activite.code_activite =
htmldb_application.g_f01(i);
if (trunc(sysdate) > trunc(Date_Prevue_Active)+Retard)
then
if (htmldb_application.g_f11(i)= 1 ) And (Delegue2 <=0) And (
Approbateur2 <= 0)
then
Update activite set succes = 'T', STATUT_QUALITE = 'En Retard',DATE_REVISION = sysdate,
pein_revision = :USAGER_ACTIF
where code_activite = htmldb_application.g_f01(i);
elsif (htmldb_application.g_f11(i) = 1) And ((Delegue2 > 0) OR (
Approbateur2 > 0))
then
Update activite set succes = 'C', STATUT_QUALITE = '2',
DATE_REVISION = sysdate,
pein_revision = :USAGER_ACTIF
where code_activite = htmldb_application.g_f01(i);
elsif (htmldb_application.g_f11(i) = 2) and (Approbation1 > 0)
then
Update activite set succes = 'T', STATUT_QUALITE = 'En Retard',
DATE_REVISION = sysdate,
pein_revision = :USAGER_ACTIF
where code_activite = htmldb_application.g_f01(i);
end if;
else
if (htmldb_application.g_f11(i)= 1 ) And (Delegue2 <=0) And ( Approbateur2 <= 0)
then
Update activite set succes = 'T', STATUT_QUALITE = 'À Temps',
DATE_REVISION = sysdate,
pein_revision = :USAGER_ACTIF
where code_activite = htmldb_application.g_f01(i);
elsif (htmldb_application.g_f11(i) = 1) And ((Delegue2 > 0) OR ( Approbateur2 > 0))
then
Update activite set succes = 'C', STATUT_QUALITE = '2',DATE_REVISION = sysdate,
pein_revision = :USAGER_ACTIF
where code_activite = htmldb_application.g_f01(i);
elsif (htmldb_application.g_f11(i)= 2) and (Approbation1 > 0)
then
Update activite set succes = 'T', STATUT_QUALITE = 'À Temps',
DATE_REVISION = sysdate,
pein_revision = :USAGER_ACTIF
where code_activite = htmldb_application.g_f01(i) ;
end if;
end if;
Anyone can help me ??
Thanks
Chantale
commit;
end if;
-- RAISE_application_error(-20000,Niveau,TRUE);
end loop;
end;Hi all,
I have the same problem with another report, here is part of my code :
DECLARE
q VARCHAR2 (30000);
tbl VARCHAR2 (30000);
w varchar2(500);
n varchar2(3);
BEGIN
q := ' select APEX_ITEM.CHECKBOX(14,rownum) id,x.Nom,' ||
'APEX_ITEM.SELECT_LIST_FROM_LOV(11,x.IdHoraire,''' ||
'LISTE DES HORAIRES DE TRAVAIL' || ''',null,''' || 'NO' || ''') as Horaire,' ||
'APEX_ITEM.CHECKBOX(12,x.TechAccredite,' ||
'decode(x.TechAccredite,null,null,' || '''CHECKED''' || ')) Accredite, ' ||
'APEX_ITEM.TEXT(13,x.Numero,10,10,' ||
'''onblur="javascript:if(!valider_telephone(1,this.value)){alert(''' ||
'''Numero non valide''' || '''); this.focus();};"''' || ') Tel, ' ||
'APEX_ITEM.HIDDEN(10,x.IdCT) as ICT';
q := q || ' from (';
tbl := ' a valide select statement';
q := q || tbl || ' ) x ';
w := ' where ';
w := w || ' x.IdDepot = decode(:P97_IDDEPOT,-1,x.IdDepot,:P97_IDDEPOT) ';
w := w || ' or x.IdDepot is null ';
w:= w || ' order by 2';
q := q || w;
RETURN q;
END;
and I created a process :
declare
res varchar2(100);
id number;
Begin
res := 'res';
for i in 1..APEX_APPLICATION.G_F14.count loop
id := to_number(APEX_APPLICATION.G_F14(i));
res := res || ' i=' || i || ' rownum ' || id || ' th ' ||
APEX_APPLICATION.G_F11(APEX_APPLICATION.G_F14(i));
end loop;
:P97_POUB := res;
End;
My process just print the 'res' in an item named P97_POUB, so I can see if evry thing works.
But I still have a no data found error.
Benn -
To solve the iTunes store problem, I have tried the suggestions suggested by Apple on the website to no avail. Since downloading the last iTunes update, I can no longer access radio broadcasts. It tries to connect to tuning service, but the refreshing catagory list notice never stops and connection is never made. No store connection and no classical radio connection--What will I loose with the next update? I'm not a computer person and don'y know what to do! Help would be much appreciated. Thank you!
No store connection
Could you walk us through what happens when you try to connect to the Store in some more detail, please? -
Hello,
I have a quick question. A client I work with has a need to use Java 1.6 update 7 to access their Oracle applications. We need to have the plugin (Next Generation) work with this version, even though I am aware that it does not come with it. I tried moving the npjp2.dll plugin in to the Firefox plugins, and although it shows up as the plugin inside Firefox, Java never loads.
Is there a way to force upon Java 1.6 update 7, the Next Generation plugin for it to be compatible with Firefox? I am currently trying this on Firefox 10 due to browser security features that killed my testing in later versions.
Disclaimer:
1.) I understand Firefox 10esr is old, and prone to security vulnerabilities
2.) I understand Java 1.6u7 is also old and prone to security vulnerabilities
Please advise. Thanks!
DanYou would have to create a registry key that points to the other Java version, just like there is one for the current Java release.
64 bit Windows:
HKLM\Software\Wow6432Node\MozillaPlugins\@java.com/JavaPlugin,version=xx.xx.xx
32 bit Windows:
HKLM\Software\MozillaPlugins\@java.com/JavaPlugin,version=xx.xx.xx
*https://developer.mozilla.org/Adding_Extensions_using_the_Windows_Registry#Plugins
*https://developer.mozilla.org/Gecko_Plugin_API_Reference/Plug-in_Basics#How_Gecko_Finds_Plug-ins -
V19 Update: Articles with Audio contents - New, Update, Preview Error
After v19 ipdate,
Articles with Audio contents (worked well on v18) don't work New/Update (Folio Builder), Preview (Overlay Creator).
Articles with Video contents, they work well, Create, Update, Preview is OK.
How am I wrong?
shimoawazuI set transparence Audio Skin to Audio,
it seems worked well at this time.
shimoawazu -
Multi row insert with checkboxes and textfield
i'm trying to build a multi row insert on tabular form.
i have checkboxed to choose the rows which i want to insert.
in this row i have to insert a value into the textfield.
but when i'm looping my checkec checkoxes my prcedure always takes the first textfields in my report.
what's going wrong?
select apex_item.checkbox(30,ar_id, 'class="checkThis"') as ar_id
,apex_item.display_and_save(31,ar_nr) as ar_nr
,ar_name
,apex_item.text(32,null) as Menge
from ar
FOR i IN 1.. APEX_APPLICATION.G_F30.COUNT LOOP
insert blabla (st_profil_id, ar_id,menge)
values(:P5_st_profil_id,APEX_APPLICATION.G_F30(i),APEX_APPLICATION.G_F32(i));
end loop;Hi,
Please read the following
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_app.htm#CHDGJBAB
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_item.htm#CHDDCHAF , especially the Creating an On-Submit Process.
Cheers,
Maybe you are looking for
-
Two network cards configuration
Hi I have problem with my network - I have two network cards and it seems they can't live both but I need them both so: 1st card (rtl8139) is connected to cable modem and gets ip by DHCP (eth0="dhcp" in rc.conf) 2nd card (nv forcedeth) is connected t
-
There are some related threads to this, and I've also posted a similar problem (left unresolved) in the past, but the symptoms are alive and well again. I recently purchased a new ATA100 hard drive, formatted it, installed Tiger, did the updates, and
-
Leave mails send to specefic email adresses on the server?
I have several email adresses at my mail account, but for different users. I want Mail just to download my emails (send to my email adress) and leave the rest (send to other email adresses, but on same account) on the server. In Windows Mail I could
-
MacBook 7,1 CS4206a audio driver crashes on Windows 8 Developer Preview
I'm experiencing crash on about every 20minutes on Windows 8 Developer Preview.(MacBook 7,1 late 2010 model)(BootCamp 4.0.0 installed) It seems that Built-In audio driver is the one that causes the problem. I disabled CS4206a driver in Driver Manager
-
Hello, Yesterday I've downloaded the new OSX Maverick for my Macbook Pro 15' Retina display 16GB, 512 SSD, and after restarting the laptop again, I've noticed that whenever I'm scrolling down or up on the browser screen, the imagery appears to be lag