Problem: trying to update all detail rows on pre-commit (MASTER DETAIL FORM
Hi:
I got a MASTER DETAIL form... and I need to update every detail row of this form (if the master was updated) before commiting the changes. the problem is that i cannot do that for instance in PRE-COMMIT or ON-COMMIT... it's an "illegal operation". I achieved part of it by coding KEY-COMMIT... but that did not solve the all problem. first take a look of the kind of code i want execute before commiting.
form trigger key-commit code is is somehow like this:
DECLARE
tot_line NUMBER (3);
line NUMBER (3);
begin
IF NAME_IN ('system.form_status') = 'CHANGED'
THEN
GO_BLOCK ('DETAIL');
LAST_RECORD;
tot_line := GET_BLOCK_PROPERTY ('DETAIL', current_record);
FIRST_RECORD;
line:= 1;
LOOP
:detail.quant := :detail.quant + 1;
EXIT WHEN line= tot_line;
next_record;
line:= line+ 1;
END LOOP;
FIRST_RECORD;
GO_BLOCK ('MASTER');
END IF;
COMMIT;
end;
The problem is for instance when the users close form in the "X" button (right top, near minimize form) ... If they do that Forms ask "Do you want to save changes?" ... and with this i do not execute the update of the detail rows...
But there are other situations when this happens... for instance if EXECUTE_QUERY when i change a record...
Anyone help?
Joao Oliveira
Use PRE-UPDATE trigger (Master block).
begin
update <detail_table>
set quant + 1
where <detail_table>.<relaition_column1> = :<Master_block>.<relaition_item1>
and <detail_table>.<relaition_columnN> = :<Master_block>.<relaition_itemN>
and <detail_block_WHERE>;
EXCEPTION WHEN OTHERS THEN NULL;
end;
Similar Messages
-
my itunes id is blocked by apple because of an internal problem trying to update the itunes version, apple support is not helping at all and I need to update all my application. Is anybody you had this problem before? and how did they help? thanks
Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order. -
After trying to update all in app store the icons are just staying on waiting position and noting happens
I have posted this quite a few times and some of these suggestions have worked for others in the past. See if anything works for you.
1. Tap the "waiting" icon and see if you can pause it. If it does pause, then tap it again and see if it will resume. If that works, repeat the same steps for each "waiting" icon.
2. Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider - let go of the buttons.
3. Make sure that you do not have a stalled download in iTunes - a song or podcast .... if you have a download in there that did not finish, complete that one first. Only one thing can download at a time on the iPad so that could be what is causing the problem.
4. If that doesn't work - sign out of your account, restart the iPad and then sign in again.
Settings>iTunes & App Store>Apple ID. Tap your ID and sign out. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.
Go back to Settings>iTunes & App Store>Sign in and then try to update again. Tap one waiting icon only if necessary to start the download stream.
5. You can also try deleting the waiting icons - tap and hold down on an icon until it wiggles - the tap the X on the icon to delete it. Then try to download again. You can also dete apps in Settings>General>Usage>Storage.
6. You can try resetting all settings. Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered.
7. If all else fails, download the updates or the apps in iTunes on your computer and then sync the content to your iPad. -
How to update all the rows of table using stored procedures
Hi,
I want to update all the rows of a table of a specific column
sp_a male
sp_b female
sp_c male
sp_d female
in above table
gender of all the columns has to be interchanged.Sir table is like this detail(name varchar(10),gender varchar(10))
Where Details are like this
Name Gender
sp_a
male
sp_b
female
sp_c
male
sp_d
female
I want to create a stored procedure which automtically updates gender from male to female and female to male
for all the rows . i.e., all the rows are updated for column gender by just running a stored procedure.
So after execution of stored proc the above table looks
Name Gender
sp_a
female
sp_b
male
sp_c
female
sp_d
male -
HT201210 im always having problems trying to update my ipod touch why
Im always haing problems trying to update my ipod youch why
You'll have to tell us how you are trying to update, and what happens when you try.
-
I installed Aperture from the App Store, it was working ok, then suf=ddenly it wont load, I get the "Aperture encountered problem" message, have updated all OSX and Aperture but I still cant get it to work, any ideas ?
I installed Aperture from the App Store, it was working ok, then suf=ddenly it wont load, I get the "Aperture encountered problem" message, have updated all OSX and Aperture but I still cant get it to work, any ideas ?
-
Is there a direct download link for AE 12.1? Many problems trying to update.
I haven't seen this issue resolved anywhere in the forum...
I have had so many problems and wasted a whole day (and a half) on trying to ressolve this when I should have been working.
No surprises that I have installed OS Mavericks recently. Yesterday I was prompted to update the Creative Cloud desktop app, which I did without issue.
I tried to open After Effects CC and got the infamous error everyone's been getting:
So after Googling, I saw that there had been a 12.0.1 patch, but that it was no longer nesessary to install as there is a new version 12.1 - but Creative Cloud Desktop shows that my software is up to date:
So I have been hunting for the direct links and managed to get hold of both the 12.0.1 and the 12.1 update files:
But when I try to run ether of them, I get this message:
I am the 'Administrator' and don't understand why I am getting this error.
I've tried uninstalling/reinstalling all adobe products. On one occasion upon opening AE I got this error:
I've also tried updating through other CC software via the Help > Updates menu. In Photoshop and Premiere the option is greyed out, and in Bridge I get a similar Admin issue error:
So I am thinking perhaps I could try installing a direct download of the full version of 12.1 rather than an update. Does this exist anywhere? Any help would be hugely appreciated!
Thanks> I am the 'Administrator' and don't understand why I am getting this error.
That message has nothing to do with whether you have administrator privlieges for your computer.
That message is telling you that whoever deployed your Adobe software as part of an enterprise deployment disabled the ability to install updates. This is something that you need to work out with the IT person who configured and deployed your volume-licensed Adobe software. -
Timeout problems trying to update to iOS 8.1
iPhone 6 was updated to iOS 8.1 on the first day of release. It took more than ten hours (!!) but it completed.
However I can't complete an update on iPad 3. Five or six attempts in several days have all gone the same way: the update starts, asks me to accept the legal stuff, and download begins. An estimate of time required appears - I've seen estimates from 3 hours to 16 hours - but after 1-3 hours the update aborts, says the server has timed out.
I have reset and hard-reset (I think*) the device. I've also tried a Restore through iTunes, same timeout error. There is more than 15Gb of free space on the device. Nothing wrong with internet service here... everything else including an experiment with downloading an 11Gb file across the internet has worked fine and as fast as expected.
Can I do anything to make this process complete? Mine is a 64Gb WiFi + Cellular, Model A1430 / MD368C/A, already running iOS 8.02.
Thanks in advance for any advice.
* Instructions found online for hard-resetting the iPad with the Home and On/Off buttons have appeared to go through the steps but the device still contains all of my apps and data. Is there a way to factory-reset the device and wipe it clean before trying to update it to 8.1?Two more attempts since posting this. One failed with a 9006 error, so Microsoft Security Essentials was turned off on the PC (never been a problem before). The next one failed with another server timeout error.
All 7-8 failed attempts have been with the iPad wired to the iTunes on PC. About 8-9 Apple devices have been updated this way for years. Desperate to try anything, I unplugged the iPad and told it to use its wireless connection to update itself. THE 8.1 UPDATE COMPLETED IN ABOUT 20 MINUTES!
I've spent HOURS on this! iPad connected wirelessly to the exact same router and network that it has been plugged into during all previous attempts! NOTHING on the PC was changed since previous successful updates (including iPhone 6 to 8.1 just a week ago).
The Apple is losing its shine. -
S4 Problems Trying to Update 4.3
My phone starts out fully charged but within 2 hours the battery completely dies. I never have wifi, mobile data, GPS, screen pause, or any other features on and I always close my applications, clear the task manager, and the cache. This problem persists every day. The phone also gets very hot, but it is not in the sun or anything. I have tried the update since Monday, but my phone resets and the screen turns black, the blue notification light turns on, and the two touch sensitive buttons light up but do not work. I have to take the battery out to turn my phone on again. The screen also freezes at times and again I have to take the battery out. When I simply try to restart my phone, the same thing with the blue light and touch sensitive keys happens. I also can not send or receive texts half the time, even when I have full service. My wifi has started to lag as well. Though the software update continues to fail, at times it says 100% updated then it says software update failed. It does not seem to be going through, whether I do it over wifi or mobile data. This is causing me a lot of inconvenience as I can not communicate through text easily and I am constantly having to take the battery out and put it back in. I am thinking the only option right now is a factory reset which I am trying to avoid. The phone is only a few months old and it has not been dropped in or on anything.
You would not want to install a major update onto a phone with so many problems, it would just compound the issues.
The very best way to install an update is by doing a factory reset prior to the update download then also after the install. This will eliminate any potential problems of conflicting software already installed by you previously. I know a lot of people here do not bother with factory resets prior to updating because it is a lot of work reconfiguring your phone and some have been sucusseful not doing so, but the majority have not, hence all of these S4 problem threads. I have not installed this update first, as I always wait a few weeks to see what problems people have after they update, and there is a ton of it. If I do decide to update it will be from a factory reset phone. -
I have a iPhone 4 on 4.2.6. Tried to update to 5.0.1. On iTunes 10.5.1. Download wouldn't start originally so I downloaded manually from Apple website and tried to update. I got as far as "Initializing iPhone for Update" is what I think the bar said. After 10 or 15 minutes I got an error. The phone is now stuck in recovery (the symbol telling me to plug in to iTunes). I can hold the power button to shut it off. Turn it back on; Apple logo and then recovery again. iTunes won't recognize the phone at all. But, my PC does make the "bong" noise when I plug/unplug the phone. What gives? Did 5.0.1 brick my phone?
Use the steps in this support document to put your phone into recovery mode:
http://support.apple.com/kb/ht1808 -
Problem trying to update new version of software!
I am trying to update to the 4.1 software and it keeps telling me "There are purchased items on the iPhone .....that have not been transferred to your iTunes library....transfer before updating."
I have gone to Transfer Purchases from iPhone numerous times but it still doesnt work. Any ideas?I solved it.
I, originally, download and installed the software under the Mac App Store when I was using OS X Mavericks.
I was getting all sorts of error messages from the Mac App Store under Snow Leopard.
I simply copied that version to my working OS X Snow Leopard disc and it is working fine, now.
Thank goodness for having multiple backups on three drives!
Whoo! Spent a good chunk of the day trying to figure this one out! -
Trying to update to iOS7. Update successful except a few more things to do. Now it is in "updating iCloud settings" and has been updating all night and day. Do not understand why it is taking so long? Any suggestions?
Try a Hard Reset.....
Press and hold the Wake / Sleep button AND the Home button at the same time, keep them both pressed until the Apple Logo appears on the screen, it can take 10 or more seconds. Ignore the swipe to turn off message. -
Problem trying to update with yaourt
Im trying to update the package chromium-browser-bin doing:
yaourt -Suy --aur
When yaourt detects the new version, it asks me to update, so far, so well...
Suddenly htis message appears:
==> Edit the PKGBUILD (highly recommended for security reasons) ? [Y/n]("A" to abort)
==> ----------------------------------------------
==>n
Wathever i reply, whatever i do, i allways get throwed back to the shell, no update done.............. is there a way to fix this?
Thanks!you should check out packer or bauerbill, yaourt isn't maintained and there are a lot of problems with it
-
ICal trying to update all the time at start up
I am using a iMac with Mountain Lion software. When ical starts up under login items it also says it is trying to update the software (the old way with a bar) but it never does anything so I just cancel the command. Does anyone have a solution or answer to this problem. Thanks Dennis
Just to advise everyone, after a lot of discussion with other Mac users, I removed ical from startup items and it worked fine as a normal opening of the app. I them re-entered ical into my startup items and rs-started and it now works fine.
-
WriteBack Report tries to UPDATE a new row
I have created a new report that I have enabled WriteBack on. When updating existing items, all is OK. When I go to create a new item, it sometimes attempts to do an UPDATE rather than an INSERT ( which fails ). However, sometimes it works OK.
XML as follows:
<?xml version="1.0" encoding="utf-8" ?>
<WebMessageTables xmlns:sawm="com.siebel.analytics.web/message/v1">
<WebMessageTable lang="en-us" system="WriteBack" table="Messages">
<WebMessage name="WriteBack">
<XML>
<writeBack connectionPool="ConnectionPool">
<insert>INSERT INTO OBIEE_USERS (USERNAME, GROUPNAME, OFFICE_ID) VALUES ('@{c0}', '@{c1}', '@{c2}')</insert>
<update>UPDATE OBIEE_USERS SET GROUPNAME='@{c1}', OFFICE_ID='@{c2}' where USERNAME='@{c0}'</update>
</writeBack>
</XML>
</WebMessage>
</WebMessageTable>
</WebMessageTables>
The "ConnectionPool" is an Oracle XE connection and I have insert/update access to the file and I created an empty in the file with a USERNAME of "new" and nothing else so when I go to update it should see it as a new item (as the rest of the record is null ).
The log file for my session is definitely trying to UPDATE rather than INSERT:
-------------------- SQL Request:
EXECUTE PHYSICAL CONNECTION POOL ConnectionPool UPDATE OBIEE_USERS SET GROUPNAME='testgroup', OFFICE_ID='testoffice' where USERNAME='testuser'
+++Administrator:410000:410012:----01/03/2010 14:35:57
-------------------- Sending query to database named EPMUAT (id: ExecutePhysical Gateway):
UPDATE OBIEE_USERS SET GROUPNAME='testgroup', OFFICE_ID='testoffice' where USERNAME='testuser'
+++Administrator:410000:410012:----01/03/2010 14:35:57
-------------------- Query Status: Successful Completion
Can anyone point me to why this is happening or an alternative way to insert new items correctly.
Thankshttp://siebel.ittoolbox.com/groups/technical-functional/siebel-analytics-l/insert-and-update-for-the-writeback-1573962
you should have usename as null too instead of 'new'
Maybe you are looking for
-
Hi all! In PLD, when i enter quite information on End of Report but these information are displayed in next page( of End of Report) only at middle of page. It's not display on the top of pgae. Therefore, there is space in nect page. How can i delete
-
Changing Vendor Master Record to specify payment method
Hi May I ask, how can we change the vendor master record to specify payment method. I would like to choose automatic payment processing for my vendor. I am using T. Code XK-02, but where can we specify the payment method. Please assist. Thanks Mohi
-
Persuading Boss on benefits of ORacle and XML
We had reports built with VB6 running against Oracle 9i to create Excel reports: ) User request a report from ASP web interface. 2) VB6 makes inline call to ORacle 9i to create reports. There is a call for each data cell. (a YTD report can take over
-
Cant delete something? Help!
Basically I tried installing an app, but something happened, I don't really know, and now, I can't delete it. If press and hold it, there wont appear any X's on the installing app, and I cant think of anything else that would allow me to delete it. T
-
Multipl selection not working in Select Options, NO-EXTENSION not specified
Hi, My code for the selection screen is as given below: data: v_bukrs type ekko-bukrs. select-options: s_one for v_bukrs default '1234', s_two for ekko-lifnr, s_three for ekko-ekgrp. select-options: s_last for