Oracle 9i Trigger not updating first time through

Hi,
I have read a lot of postings but this one seems to be unique. I am trying to update using from Access to Oracle backend database with a Trigger. When I put the code from the update in a test window in the PL/SQL, I step through the code and it doesn't update the first time through. The values from my :old and :new fields are null the first time through. When I change either proj_part_ppv_adj, incorp_date or end_date in the test window and step through the code again, it updates my table.
update statement:
-- Created on 10/17/2005
declare
-- Local variables here
i integer;
begin
-- Test statements here
update pcrit.tpcrit_proj_part
set proj_no = 'TestChris',
mat = '1080373',
plant = 'COR1',
vndr_code = '0000000564',
it_cat = '0',
incorp_date = '15-OCT-2005',
end_date = '31-DEC-2005',
unit_prce_chg = null,
proj_part_ppv_adj = 32500,
edit_id = 'XXXXXX',
edit_dt = to_date('17-OCT-2005 08:10:32 AM',
'DD-MON-YYYY HH:MI:SS AM')
where proj_no = 'TestChris'
and mat = '1080373'
and plant = 'COR1'
and vndr_code = '0000000564'
and it_cat = '0';
commit;
end;
Trigger:
create or replace trigger tpcrit_proj_part_trg_ubr
before update on tpcrit_proj_part
for each row
/* This trigger stores the key values of TPCRIT_PROJ_PART records for
later use by the after-update trigger.
The trigger must be disabled when running the loader or it will
interfere with loading documents from SAP/ODM.
declare
rowParts pcrit_mod_proj_part.typProjPartRowKey;
begin
if :new.proj_no <> :old.proj_no or :new.mat <> :old.mat or
:new.plant <> :old.plant or :new.vndr_code <> :old.vndr_code or
:new.it_cat <> :old.it_cat or :new.incorp_date <> :old.incorp_date or
:new.end_date <> :old.end_date or
:new.proj_part_ppv_adj <> :old.proj_part_ppv_adj then
-- Only perform the task if something other than the comment has changed.
-- Initialize the rowParts record to be added to the list.
rowParts.proj_no := :new.proj_no;
rowParts.mat := :new.mat;
rowParts.plant := :new.plant;
rowParts.vndr_code := :new.vndr_code;
rowParts.it_cat := :new.it_cat;
rowParts.incorp_date := :new.incorp_date;
rowParts.end_date := :new.end_date;
rowParts.proj_part_ppv_adj := :new.proj_part_ppv_adj;
-- Get the project type for this project.
begin
select proj_type
into rowParts.proj_type
from tpcrit_proj
where proj_no = :new.proj_no;
exception
when no_data_found then
rowParts.proj_type := null;
end;
-- Add this part row to the list for after-statement processing.
pcrit_mod_proj_part.add_to_list(rowParts);
end if;
end tpcrit_proj_part_trg_ubr;

Are you lookng at tpcrit_proj_part to see if the update happend, or are you looking for the results of the after update trigger?
I believe that this is exactly what you are doing, except I have left out the after update trigger.
SQL> CREATE TABLE t (id number, id_dt DATE,
  2                  descr varchar2(10), desc2 varchar2(10));
Table created.
SQL> CREATE TRIGGER t_bu
  2     BEFORE UPDATE ON t
  3     FOR EACH ROW
  4  BEGIN
  5     IF :new.id <> :old.id or
  6        :new.id_dt <> :old.id_dt or
  7        :new.descr <> :old.descr or
  8        :new.desc2 <> :old.desc2 THEN
  9        DBMS_OUTPUT.Put_Line('This is all your proceesing');
10     END IF;
11  END;
12  /
Trigger created.
SQL> INSERT INTO t (id, id_dt) VALUES(1, TRUNC(sysdate));
1 row created.
SQL> COMMIT;
Commit complete.
SQL> SELECT * FROM t;
        ID ID_DT       DESCR      DESC2
         1 09-NOV-2005
SQL> UPDATE t
  2  SET descr = 'Descr',
  3      desc2 = 'Desc2'
  4  WHERE id = 1 and
  5        id_dt = TRUNC(sysdate);
1 row updated.So your processing never happened but the update certainly did:
SQL> SELECT * FROM t;
        ID ID_DT       DESCR      DESC2
         1 09-NOV-2005 Descr      Desc2Now, even without a commit:
SQL> UPDATE t
  2  SET descr = 'CHANGED'
  3  WHERE id = 1 and
  4        id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.Now, fix the trigger to take NULL into account:
SQL> ROLLBACK;
Rollback complete.
SQL> SELECT * FROM t;
        ID ID_DT       DESCR      DESC2
         1 09-NOV-2005
SQL> CREATE OR REPLACE TRIGGER t_bu
  2     BEFORE UPDATE ON t
  3     FOR EACH ROW
  4  BEGIN
  5     IF (:new.id <> :old.id or
  6         (:new.id IS NULL and :old.id IS NOT NULL) or
  7         (:new.id IS NOT NULL and :old.id IS NULL)) or
  8        (:new.id_dt <> :old.id_dt or
  9         (:new.id_dt IS NULL and :old.id_dt IS NOT NULL) or
10         (:new.id_dt IS NOT NULL and :old.id_dt IS NULL)) or
11        (:new.descr <> :old.descr or
12         (:new.descr IS NULL and :old.descr IS NOT NULL) or
13         (:new.descr IS NOT NULL and :old.descr IS NULL)) or
14        (:new.desc2 <> :old.desc2 or
15         (:new.desc2 IS NULL and :old.desc2 IS NOT NULL) or
16         (:new.desc2 IS NOT NULL and :old.desc2 IS NULL)) THEN
17        DBMS_OUTPUT.Put_Line('This is all your proceesing');
18     END IF;
19  END;
20  /
Trigger created.
SQL> UPDATE t
  2  SET descr = 'Descr',
  3      desc2 = 'Desc2'
  4  WHERE id = 1 and
  5        id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.Now, all your processing happens on the first update, and all others:
SQL> SELECT * FROM t;
        ID ID_DT       DESCR      DESC2
         1 09-NOV-2005 Descr      Desc2
SQL> UPDATE t
  2  SET descr = 'CHANGED'
  3  WHERE id = 1 and
  4        id_dt = TRUNC(sysdate);
This is all your proceesing
1 row updated.But only when something changes:
SQL> UPDATE t
  2  SET descr = 'CHANGED'
  3  WHERE id = 1 and
  4        id_dt = TRUNC(sysdate);
1 row updated.If you really see something different, then post a cut and paste of a sqlplus session as I did showing the behaviour you are getting.
TTFN
John

Similar Messages

  • The most recent update erased all of my bookmarks. I tried the steps to find them and they are gone. This is not the first time this has happened and it extremely disuptive.

    the most recent update resulted in a loss of ALL of my bookmarks. This is not the first time this has happened and it is very disruptive. I tried the steps suggested to find the bookmarks but that failed.

    A possible cause is a problem with the file places.sqlite that stores the bookmarks and the history.
    * http://kb.mozillazine.org/Bookmarks_history_and_toolbar_buttons_not_working_-_Firefox

  • After updating itunes to the latest version it will now not open. I have tried reinstalling the programme, rebooting and all other suggestions, to no avail. this not the first time I have had issues with itunes. Frankly I find it completely unacceptable .

    I recently updated itunes to the latest version and now the programme will not open.
    I have tried all suggestions such as reinstalling the programme, rebooting you name it, nothing.
    This most frustrating and completely unacceptable, especially when a company such as Apple touts itself being the leader in music technology yet does not respond directly to questions about faults in their system, but prefers to leave to disgruntled customers to try and sort it out amongst themselves
    This not the first time I have had frustrating problems with the Apple system. Perhaps someone could suggest a more reliable system to switch to. Someone with a better troubleshooting system.

    Going all the way back to Firefox 3.0.5 is shear foolishness, it is 14 security versions behind the last 3.0.19 release. And that version is missing at least a dozen security updates that were applied to the 3.5 and 3.6 versions after support for 3.0.x ended.
    If you are not happy with Firefox 4, you should have installed Firefox 3.6.17. That is very similar to the 3.0 and has all the security fixes that have been released since support for Firefox 3.0.x ended last year.

  • How to get Edge to ignore a trigger after the first time it has played

    Hello all,
    I have a symbol that is activated by clicking on a button.  The symbol has two triggers at different points on its timeline.  Each trigger activates a separate symbol.  I want both triggers to work the first time through, but on the second and all subsequent times, I want the first trigger to be ignored.  There is probably a little bit of code that will do this very easily (maybe an if else statement?), but I'm afraid I am not very good at that.  Any ideas on how to accomplish this? Any help would be greatly appreciated!
    Cheers, and all the best!

    So here is a solution using a global variable: test1 revised.zip - Box
    compositionReady:
    sym.setVariable("firstRound", true);
    yellow trigger:
    if (sym.getComposition().getStage().getVariable("firstRound")) { // if firstRound is true i play, else nothing
      sym.getComposition().getStage().getSymbol("yellow2").play();
      sym.getComposition().getStage().setVariable("firstRound", false);

  • I did not update in time, now I have problems and I cannot seem to update ical.

    I did not update in time, now I have problems and I cannot seem to update ical. Can someone help guide me?

    Apple said to update ical. I guess I waited too long because my calendars and all my events disappeared. I tried syncing with my iPhone and it deleted my calendars off my iPhone. Double clicking on a calendar invite does not work either, it won't open or populate my ical. I requested an update through Mobileme to get ical working again and nothing..... It does not appear to want to update or start working again. Is this an issue with Apple ical in general?

  • Quiz Slides not appearing second time through

    Good afternoon,
    In my current project, I have used self-built quizzing slides using clickboxes (thank you lilybari!) and used some quiz slides.   In this part, I am not reporting the data as this is only the teaching section.  For SCORM purposes, I am only recording slide views.  I have also created my own navigation buttons for forward and back.
    When I view the section the first time through, I see the quiz and other slides properly. For some reason however, if they use the back button to see the section again, the quiz slides either appear again and get stuck or do not appear at all.  I would like for them to see all slides again if they go back as that is the whole purpose of the back button feature.
    I have attached a portion of my project where this is occuring.  Any suggestions would be greatly appreciated!
    Eric
    PS Thanks Captivatr for your help earlier!

    Hello Eric,
    Will try to have a look at your project later on today (exams for the moment). Cannot open your file, no CP here.
    Lilybiri

  • TS1702 I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to rein

    I have contacted EA about this and can find no help. I had this Scrabble on my iPad2 and began to have connection problems, it would lock in the "connecting" position. This is not the first time Scrabble has had problems with interface. Typically customers delete the Ap then download it again to reinstall it. During the process you sign in and approve the purchase KNOWING that another window will open saying that you have previously purchased it and that there is no charge. So what happened this time? It will not connect and all of my saved and current games are wiped out. I want my money back, this game interface is pretty junk and operates like some ancient DOS program,,bug,bug,buggy. I want my money back.

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store.
    Regards.

  • Mac mini restart because of a problem. Not the first time!

    Hi everyone!
    This morning, while I was simply listening to iTunes, browsing with Safari and a Time Machine Backup was going on I had the Grey Screen Of Death!
    This is not the first time it happens, I'm really worried about a real hardware problem.
    Here are the infos about the restart, I really don't know how to read them.... Please if someone could help me I will really appreciate!
    Thanks in advance for your help.
    A.A.R.
    Fri Aug 29 09:45:28 2014
    panic(cpu 0 caller 0xffffff80248bc6bc): "complete() while dma active"@/SourceCache/xnu/xnu-2422.110.17/iokit/Kernel/IOMemoryDescriptor.cpp:26 20
    Backtrace (CPU 0), Frame : Return Address
    0xffffff820eccb970 : 0xffffff8024422f79
    0xffffff820eccb9f0 : 0xffffff80248bc6bc
    0xffffff820eccba30 : 0xffffff7fa49f9b06
    0xffffff820eccba70 : 0xffffff7fa49efab2
    0xffffff820eccbac0 : 0xffffff7fa509c2ca
    0xffffff820eccbb10 : 0xffffff7fa509fc3a
    0xffffff820eccbb60 : 0xffffff7fa4a870d4
    0xffffff820eccbbb0 : 0xffffff7fa4a8114e
    0xffffff820eccbc00 : 0xffffff7fa4a8121c
    0xffffff820eccbc30 : 0xffffff7fa4d6a7cd
    0xffffff820eccbd30 : 0xffffff7fa515d126
    0xffffff820eccbde0 : 0xffffff7fa515df11
    0xffffff820eccbe20 : 0xffffff7fa516b82e
    0xffffff820eccbed0 : 0xffffff7fa5173469
    0xffffff820eccbef0 : 0xffffff80248b07f0
    0xffffff820eccbf30 : 0xffffff80248af292
    0xffffff820eccbf80 : 0xffffff80248af367
    0xffffff820eccbfb0 : 0xffffff80244d7417
          Kernel Extensions in backtrace:
             com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7fa49ec000->0xffffff7fa4a10fff
             com.apple.iokit.IOUSBFamily(683.4)[7595281D-D047-3715-9044-98F46B62F845]@0xffff ff7fa4d67000->0xffffff7fa4dc7fff
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7fa4abe000
             com.apple.driver.AppleUSBXHCI(683.4)[4C9A2D47-0723-387A-9C4B-6199093960A9]@0xff ffff7fa515c000->0xffffff7fa5178fff
                dependency: com.apple.iokit.IOUSBFamily(683.4.0)[7595281D-D047-3715-9044-98F46B62F845]@0xff ffff7fa4d67000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[4662B11D-2ECA-315D-875C-618C97CDAB2A]@0xffffff 7fa4abe000
             com.apple.iokit.IOSCSIArchitectureModelFamily(3.6.6)[C7B04E3E-37FF-3DC4-A0ED-92 DDCE6FCB98]@0xffffff7fa4a7c000->0xffffff7fa4aa6fff
             com.apple.iokit.IOSCSIBlockCommandsDevice(3.6.6)[160F02BC-97C1-3119-BD28-4B2ED1 21C501]@0xffffff7fa509b000->0xffffff7fa50affff
                dependency: com.apple.iokit.IOSCSIArchitectureModelFamily(3.6.6)[C7B04E3E-37FF-3DC4-A0ED-92 DDCE6FCB98]@0xffffff7fa4a7c000
                dependency: com.apple.iokit.IOStorageFamily(1.9)[9B09B065-7F11-3241-B194-B72E5C23548B]@0xff ffff7fa49ec000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    13E28
    Kernel version:
    Darwin Kernel Version 13.3.0: Tue Jun  3 21:27:35 PDT 2014; root:xnu-2422.110.17~1/RELEASE_X86_64
    Kernel UUID:
    Kernel slide:     0x0000000024200000
    Kernel text base: 0xffffff8024400000
    System model name: Macmini6,2 (Mac-F65AE981FFA204ED)
    System uptime in nanoseconds: 1057344563610
    last loaded kext at 419151165914: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fa63b7000, size 49152)
    last unloaded kext at 542203040150: com.apple.driver.AppleIntelMCEReporter 104 (addr 0xffffff7fa63b7000, size 32768)
    loaded kexts:
    com.motu.driver.FireWireAudio 1.6 60625
    com.apple.filesystems.autofs 3.0
    com.apple.driver.AudioAUUC 1.60
    com.apple.iokit.IOBluetoothSerialManager 4.2.6f1
    com.apple.driver.AGPM 100.14.28
    com.apple.driver.ApplePlatformEnabler 2.0.9d6
    com.apple.driver.X86PlatformShim 1.0.0
    com.apple.driver.AppleMikeyHIDDriver 124
    com.apple.driver.AppleHDA 2.6.3f4
    com.apple.driver.AppleUpstreamUserClient 3.5.13
    com.apple.driver.AppleMCCSControl 1.2.5
    com.apple.driver.AppleMikeyDriver 2.6.3f4
    com.apple.iokit.IOUserEthernet 1.0.0d1
    com.apple.driver.AppleIntelHD4000Graphics 8.2.8
    com.apple.Dont_Steal_Mac_OS_X 7.0.0
    com.apple.iokit.BroadcomBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleHWAccess 1
    com.apple.driver.AppleLPC 1.7.0
    com.apple.driver.AppleSMCPDRC 1.0.0
    com.apple.driver.AppleIntelFramebufferCapri 8.2.8
    com.apple.driver.AppleThunderboltIP 1.1.2
    com.apple.iokit.IOUSBAttachedSCSI 1.0.5
    com.apple.driver.AppleIRController 325.7
    com.apple.AppleFSCompression.AppleFSCompressionTypeDataless 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeLZVN 1.0.0d1
    com.apple.AppleFSCompression.AppleFSCompressionTypeZlib 1.0.0d1
    com.apple.BootCache 35
    com.apple.driver.XsanFilter 404
    com.apple.iokit.IOAHCIBlockStorage 2.6.0
    com.apple.driver.AppleUSBHub 683.4.0
    com.apple.driver.AppleSDXC 1.5.2
    com.apple.iokit.AppleBCM5701Ethernet 3.8.1b2
    com.apple.driver.AirPort.Brcm4331 700.20.22
    com.apple.driver.AppleFWOHCI 5.0.2
    com.apple.driver.AppleAHCIPort 3.0.5
    com.apple.driver.AppleUSBEHCI 660.4.0
    com.apple.driver.AppleUSBXHCI 683.4.0
    com.apple.driver.AppleACPIButtons 2.0
    com.apple.driver.AppleRTC 2.0
    com.apple.driver.AppleHPET 1.8
    com.apple.driver.AppleSMBIOS 2.1
    com.apple.driver.AppleACPIEC 2.0
    com.apple.driver.AppleAPIC 1.7
    com.apple.driver.AppleIntelCPUPowerManagementClient 217.92.1
    com.apple.nke.applicationfirewall 153
    com.apple.security.quarantine 3
    com.apple.driver.AppleIntelCPUPowerManagement 217.92.1
    com.apple.kext.triggers 1.0
    com.apple.iokit.IOSerialFamily 10.0.7
    com.apple.driver.DspFuncLib 2.6.3f4
    com.apple.vecLib.kext 1.0.0
    com.apple.iokit.IOAudioFamily 1.9.7fc2
    com.apple.kext.OSvKernDSPLib 1.14
    com.apple.iokit.IOBluetoothFamily 4.2.6f1
    com.apple.iokit.IOSurface 91.1
    com.apple.iokit.IOBluetoothHostControllerUSBTransport 4.2.6f1
    com.apple.driver.AppleSMBusController 1.0.12d1
    com.apple.iokit.IONDRVSupport 2.4.1
    com.apple.driver.AppleHDAController 2.6.3f4
    com.apple.iokit.IOHDAFamily 2.6.3f4
    com.apple.driver.AppleSMBusPCI 1.0.12d1
    com.apple.iokit.IOFireWireIP 2.2.6
    com.apple.iokit.IOAcceleratorFamily2 98.22
    com.apple.AppleGraphicsDeviceControl 3.6.22
    com.apple.iokit.IOGraphicsFamily 2.4.1
    com.apple.driver.X86PlatformPlugin 1.0.0
    com.apple.driver.AppleSMC 3.1.8
    com.apple.driver.IOPlatformPluginFamily 5.7.1d6
    com.apple.driver.AppleUSBHIDKeyboard 170.15
    com.apple.driver.AppleHIDKeyboard 170.15
    com.apple.iokit.IOSCSIBlockCommandsDevice 3.6.6
    com.apple.iokit.IOSCSIArchitectureModelFamily 3.6.6
    com.apple.driver.AppleUSBMergeNub 650.4.0
    com.apple.driver.AppleThunderboltDPInAdapter 3.1.7
    com.apple.driver.AppleThunderboltDPAdapterFamily 3.1.7
    com.apple.driver.AppleThunderboltPCIDownAdapter 1.4.5
    com.apple.iokit.IOUSBHIDDriver 660.4.0
    com.apple.driver.AppleUSBComposite 656.4.1
    com.apple.driver.AppleThunderboltNHI 2.0.1
    com.apple.iokit.IOThunderboltFamily 3.3.1
    com.apple.iokit.IOEthernetAVBController 1.0.3b4
    com.apple.driver.mDNSOffloadUserClient 1.0.1b5
    com.apple.iokit.IO80211Family 640.36
    com.apple.iokit.IONetworkingFamily 3.2
    com.apple.iokit.IOUSBUserClient 660.4.2
    com.apple.iokit.IOFireWireFamily 4.5.5
    com.apple.iokit.IOAHCIFamily 2.6.5
    com.apple.iokit.IOUSBFamily 683.4.0
    com.apple.driver.AppleEFINVRAM 2.0
    com.apple.iokit.IOHIDFamily 2.0.0
    com.apple.driver.AppleEFIRuntime 2.0
    com.apple.iokit.IOSMBusFamily 1.1
    com.apple.security.sandbox 278.11.1
    com.apple.kext.AppleMatch 1.0.0d1
    com.apple.security.TMSafetyNet 7
    com.apple.driver.AppleKeyStore 2
    com.apple.driver.DiskImages 371.1
    com.apple.iokit.IOStorageFamily 1.9
    com.apple.iokit.IOReportFamily 23
    com.apple.driver.AppleFDEKeyStore 28.30
    com.apple.driver.AppleACPIPlatform 2.0
    com.apple.iokit.IOPCIFamily 2.9
    com.apple.iokit.IOACPIFamily 1.4
    com.apple.kec.corecrypto 1.0
    com.apple.kec.pthread 1
    Model: Macmini6,2, BootROM MM61.0106.B03, 4 processors, Intel Core i7, 2.6 GHz, 16 GB, SMC 2.8f0
    Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x10E), Broadcom BCM43xx 1.0 (5.106.98.100.22)
    Bluetooth: Version 4.2.6f1 14216, 3 services, 23 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Network Service: Wi-Fi, AirPort, en1
    Serial ATA Device: APPLE HDD HTS541010A9E662, 1 TB
    Serial ATA Device: KINGSTON SH103S3240G, 240,06 GB
    USB Device: Porsche Desktop
    USB Device: Hub
    USB Device: Keyboard Hub
    USB Device: USB Receiver
    USB Device: Apple Keyboard
    USB Device: Hub
    USB Device: Hub
    USB Device: IR Receiver
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    FireWire Device: Vendor 0x1F2 Device 0x106800, 0x1F2, Up to 400 Mb/sec
    Thunderbolt Bus: Mac mini, Apple Inc., 23.4

    I'll do... but it sounds strange to me... this LaCie is brand new (I've bought it a month ago) and it seems to be a good brand for drives, especially for Mac OS X, isn't it?
    All this problems started after a Mavericks fresh install...
    I hope to solve this problem quickly.

  • HT201401 The clock on my iPhone 5C is not updating the time

    The clock on my iPhone 5C is not updating the time unless the phone is totally turned off and rebooted, or the airplane mode is turned on for a few seconds and then turned off.  A "reset" and a full "erase all..." did not help. Any ideas?

    Time comes from the cell tower.
    Check Settings > General > Date & Time >
         Set Automatically: ON?
         Time Zone: your city?

  • I was almost done my project. I hadn't published it anywhere. Then, the next day, the clips from my timeline went all grey and there was an "out of date" icon. My project was lost. What happened? It's not the first time it's done that!

    I was almost done my project. I hadn't published it anywhere. Then, the next day, the clips from my timeline went all grey and there was an "out of date" icon. My project was lost. What happened? It's not the first time it's done that!

    You can undo your permission changes. Probably the most relevant one is cookies. Try one or both of these methods:
    (1) Page Info > Permissions tab
    While viewing a page on the site:
    * right-click and choose View Page Info > Permissions
    * Alt+t (open the classic Tools menu) > Page Info > Permissions
    (2) about:permissions
    In a new tab, type or paste '''about:permissions''' and press Enter. Allow a few moments for the list on the left to populate, as this information needs to be extracted from a database.
    Then type or paste ''rcn''' in the search box above the list to filter it to the most relevant domains. When you highlight a domain, you can adjust its permissions in the right pane.
    Any luck?

  • Audio is not playing first time in Flex app with 11.2 Flash player.

    Hi,
    I am playing an audio fle as flv in a flex application with flash player 11.2  but it is not playing first time and it is playing afetr pause/play and page refresh. Loacally it is playing fine. Please help and guide me.
    thanks in Advance
    Rangrajan.

    Taha,
    Not sure that I understand your workflow there. For editing, the 48KHz 16-bit is the "standard." The 32KHz is not.
    Now, what is the Sample-Rate of your original material?
    What is the CODEC used in that muxed (multiplexed, i.e. combined Audio & Video) file?
    Did you allow Conforming complete 100%? This ARTICLE will give you some background.
    Do you see the Waveform Display for that Clip? Alt+click on the Audio portion of the Clip, and then Dbl-click on it to get it into the Source Monitor. Do you see the Waveform Display there?
    Have you added any Keyframes, or Effects to that Audio? Toggle the Keyframe Display in the Track Header, to see if there are any Clip, or Track Keyframes there.
    Have you accidentally Muted that Track? Look at the Visibility (eyeball) icon in the Track Header. Then, look in Audio Mixer to see if that Track is Muted.
    Good luck,
    Hunt

  • Oracle and Pentium 4. It;s a ****** shame !! Not the first time...

    Just some frustration
    I don't like it to be a beta-tester for a company like Oracle
    which makes that much profit.
    Five examples:
    1999: Oracle Application Server 4.0.7. (OAS) on Windows NT.
    Service pack 5 is installed on most NT boxes (even in
    Afghanistan). Oracle logic...OAS 4.0.7 has to be installed with
    SP3....:-)
    2000: The Oracle installer has a Y2K bug. No public
    announcements made. A simple statement on Metalink and a hell of
    a job to find the patch "installer 3.3.0.1 (??)"
    1999/2000: Release of Developer 6 and Oracle 8.1.5.
    First step: you've to install Developer 6. Second step: install
    the database.
    Typical Oracle logic...:-). I do not start with the roof when
    I'm building a house.... A few months after the 8i release ,
    Oracle published the proper installation procedure for this
    combination.
    2000/2001: Designer 6iR2 cannot be uninstalled on Windows W2K.
    A "beta tester" in the field (so..you or me), with the name
    Dimitri, had to make a remark on OTN. Compliments to Brian Duff
    of Oracle who initiated the release 4 of Designer.
    2001: Oracle 8i cannot be installed on Pentium 4
    machines..Cause..a bug in the universal installer.
    Only with workarounds which partly work or do not not work at
    all. ... Oracle ..it's a shame.
    Larry..many thousands of "oracle-fans" cannot appreciate your
    arrogant attitude. These people want to work with stuff which
    can do the job !
    They do not want to be beta-testers for the sake of increasing
    Oracle profits. This policy reflects itself in higher costs for
    the smaller companies..ie: buying Oracle software which does not
    work.
    Regards
    Martin Vonk

    Hi,
    I don't think so. As soon as a question / request is too "hard
    to answer" Oracle reacts with "radio silence" (like with the Y2K
    bug in Oracle installer).
    The Intel website emphasis this bug in Oracle 8i products.
    It states:
    If you are installing into Windows* 2000, one workaround
    recommendation by Oracle for this problem is:
    Install the latest Windows* 2000 Service Pack patch:
    http://www.microsoft.com/windows2000/downloads/
    Create a temporary directory on your Intel Pentium. 4 processor
    server (e.g. \TEMP).
    Copy the contents of the Oracle* Server CD to the temporary
    directory created in step 2.
    Search the directory structure created in step 2 for the
    existence of the filename SYMCJIT.DLL.
    Rename each copy of the SYMCJIT.DLL to SYMCJIT.OLD.
    Run the SETUP.EXE from the \TEMP\install\win32 directory and
    install Oracle 8.1.x.
    If you have any other questions on this work around, please
    contact Oracle
    Up to now no reaction. Oracle sucks
    Regards
    Martin Vonk

  • Report which contain subreports is not rendered first time is processed.

    when I try to render report contains subreports from first time is not rendered but when i select regresh button the input screen is promb again and then i fill all input again and submit, as a result the report was rendered.
    why this happen? is this a know issue?

    after more testing that issue i discovered that when i try to render report of type "Table" then the report is rendered fom rthe first time i pass/set the input values of the report, but when i use reports of type "chart" the report is not rendered from first time and it need a refresh and then manually entering the values for the input.
    i am using the folloing version of JRC:
    com.businessobjects.sdks_.jrc_.11.8.0_11.8.5.v1197
    my code is a s follow:
    =========================
    <%@ page contentType="text/html; charset=utf-8" %><%@ page import="com.crystaldecisions.reports.sdk.ReportClientDocument"%>
    <%@ page import="com.crystaldecisions.report.web.viewer.*" %>
    <%@ page import="com.crystaldecisions.reports.sdk.DatabaseController" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKException" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.PropertyBag" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.IStrings" %>
    <%@ page import="com.crystaldecisions.reports.sdk.ParameterFieldController" %>
    <%@ page import="com.crystaldecisions.reports.exportinterface.ExportFormatType" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%@ page import="java.io.ByteArrayInputStream" %>
    <%@ page import="java.io.FileOutputStream" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PrinterDuplex" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PrintReportOptions" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PaperSource" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.PaperSize" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase" %>
    <%@ page import="com.crystaldecisions.sdk.occa.report.exportoptions.*" %>
    <%@ page import="java.io.OutputStream" %>
    <%@ page import="org.t2k.bl.reports.ReportsViewerManager" %>
    <%@ taglib prefix="lms_reports" tagdir="/WEB-INF/tags/lms/reports" %>
    <%!
    Utility method that demonstrates how to write an input stream to the server's local file system.
        private void writeToBrowser(ByteArrayInputStream byteArrayInputStream, HttpServletResponse response, String mimetype, String exportFile, boolean attachment) throws Exception {
            //Create a byte[] the same size as the exported ByteArrayInputStream.
            byte[] buffer = new byte[byteArrayInputStream.available()];
            int bytesRead = 0;
            //Set response headers to indicate mime type and inline file.
            response.reset();
            if (attachment) {
                response.setHeader("Content-disposition", "attachment;filename=" + exportFile);
            } else {
                response.setHeader("Content-disposition", "inline;filename=" + exportFile);
            System.out.println("aaaaaaaaaaaaaaaaaaaaaaaaaaaa");
            response.setContentType(mimetype);
            System.out.println("aaaaa1111");
            OutputStream outs = response.getOutputStream();
             System.out.println("aaaaa2222");
            //Stream the byte array to the client.
            while ((bytesRead = byteArrayInputStream.read(buffer)) != -1) {
                outs.write(buffer, 0, bytesRead);
            System.out.println("bbbbb");
            //Flush and close the output stream.
            outs.flush();
    //        outs.close();
            System.out.println("ccccc");
        /* Include the file AlwaysRequiredSteps.jsp, which contains the code to:
           - Create an Enterprise SessionMgr object
           - Log on to the CMS
           - Create an IInfoStore object
           - Query for and select a report
           - Create an IReportAppFactory object
           - Use the IReportAppFactory object to create a ReportClientDocument object with the IInfoObject that is retrieved from the query
    Logs on to all existing datasource
    @param clientDoc The reportClientDocument representing the report being used
    @param username    The DB logon user name
    @param password    The DB logon password
    @throws com.crystaldecisions.sdk.occa.report.lib.ReportSDKException
        public static void logonDataSource
                (ReportClientDocument
                        clientDoc,
                 String username, String
                        password
                throws
                ReportSDKException {
            clientDoc.getDatabaseController().logon(username, password);
    Changes the DataSource for each Table
    @param clientDoc The reportClientDocument representing the report being used
    @param username  The DB logon user name
    @param password  The DB logon password
    @param connectionURL  The connection URL
    @param driverName    The driver Name
    @param jndiName        The JNDI name
    @throws ReportSDKException
        public static void changeDataSource
                (ReportClientDocument clientDoc,
                 String username, String password, String connectionURL,
                 String driverName, String jndiName
                throws
                ReportSDKException {
            changeDataSource(clientDoc, null, null, username, password, connectionURL, driverName, jndiName);
    Changes the DataSource for a specific Table
    @param clientDoc The reportClientDocument representing the report being used
    @param reportName    "" for main report, name of subreport for subreport, null for all reports
    @param tableName        name of table to change.  null for all tables.
    @param username  The DB logon user name
    @param password  The DB logon password
    @param connectionURL  The connection URL
    @param driverName    The driver Name
    @param jndiName        The JNDI name
    @throws ReportSDKException
        public static void changeDataSource
                (ReportClientDocument
                        clientDoc,
                 String
                         reportName, String
                        tableName,
                                     String
                                             username, String
                        password, String
                        connectionURL,
                                  String
                                          driverName, String
                        jndiName
                throws
                ReportSDKException {
            PropertyBag propertyBag = null;
            IConnectionInfo connectionInfo = null;
            ITable origTable = null;
            ITable newTable = null;
            // Declare variables to hold ConnectionInfo values.
            // Below is the list of values required to switch to use a JDBC/JNDI
            // connection
            String TRUSTED_CONNECTION = "false";
            String SERVER_TYPE = "JDBC (JNDI)";
            String USE_JDBC = "true";
            String DATABASE_DLL = "crdb_jdbc.dll";
            String JNDI_OPTIONAL_NAME = jndiName;
            String CONNECTION_URL = connectionURL;
            String DATABASE_CLASS_NAME = driverName;
            // The next few parameters are optional parameters which you may want to
            // uncomment
            // You may wish to adjust the arguments of the method to pass these
            // values in if necessary
            // String TABLE_NAME_QUALIFIER = "new_table_name";
            // String SERVER_NAME = "new_server_name";
            // String CONNECTION_STRING = "new_connection_string";
            // String DATABASE_NAME = "new_database_name";
            // String URI = "new_URI";
            // Declare variables to hold database User Name and Password values
            String DB_USER_NAME = username;
            String DB_PASSWORD = password;
            // Obtain collection of tables from this database controller
            if (reportName == null || reportName.equals("")) {
                Tables tables = clientDoc.getDatabaseController().getDatabase().getTables();
                for (int i = 0; i < tables.size(); i++) {
                    origTable = tables.getTable(i);
                    if (tableName == null || origTable.getName().equals(tableName)) {
                        newTable = (ITable) origTable.clone(true);
                        // We set the Fully qualified name to the Table Alias to keep the
                        // method generic
                        // This workflow may not work in all scenarios and should likely be
                        // customized to work
                        // in the developer's specific situation. The end result of this
                        // statement will be to strip
                        // the existing table of it's db specific identifiers. For example
                        // Xtreme.dbo.Customer becomes just Customer
    //                    System.out.println(newTable.getQualifiedName() + "  -  " + origTable.getQualifiedName());
                        newTable.setQualifiedName(origTable.getAlias());
    //                    newTable.setAlias(origTable.getAlias());
                        // Change properties that are different from the original datasource
                        // For example, if the table name has changed you will be required
                        // to change it during this routine
                        // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                        // Change connection information properties
                        connectionInfo = newTable.getConnectionInfo();
                        // Set new table connection property attributes
                        propertyBag = new PropertyBag();
                        // Overwrite any existing properties with updated values
                        propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                        propertyBag.put("Server Type", SERVER_TYPE);
                        propertyBag.put("Use ODBC", USE_JDBC);
                        propertyBag.put("Database DLL", DATABASE_DLL);
                        propertyBag.put("JNDIOptionalName", JNDI_OPTIONAL_NAME);
                        propertyBag.put("Connection URL", CONNECTION_URL);
                        propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                        // propertyBag.put("Server Name", SERVER_NAME); //Optional property
                        // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                        // propertyBag.put("Database Name", DATABASE_NAME); //Optional property
                        // propertyBag.put("URI", URI); //Optional property
                        connectionInfo.setAttributes(propertyBag);
                        // Set database username and password
                        // NOTE: Even if the username and password properties do not change
                        // when switching databases, the
                        // database password is not saved in the report and must be set at
                        // runtime if the database is secured.
                        connectionInfo.setUserName(DB_USER_NAME);
                        connectionInfo.setPassword(DB_PASSWORD);
                        // Update the table information
                        clientDoc.getDatabaseController().setTableLocation(origTable, newTable);
            // Next loop through all the subreports and pass in the same
            // information. You may consider
            // creating a separate method which accepts
            if (reportName == null || !(reportName.equals(""))) {
                IStrings subNames = clientDoc.getSubreportController().getSubreportNames();
                for (int subNum = 0; subNum < subNames.size(); subNum++) {
                    Tables tables = clientDoc.getSubreportController().getSubreport(subNames.getString(subNum)).getDatabaseController().getDatabase().getTables();
                    for (int i = 0; i < tables.size(); i++) {
                        origTable = tables.getTable(i);
                        if (tableName == null || origTable.getName().equals(tableName)) {
                            newTable = (ITable) origTable.clone(true);
                            // We set the Fully qualified name to the Table Alias to keep
                            // the method generic
                            // This workflow may not work in all scenarios and should likely
                            // be customized to work
                            // in the developer's specific situation. The end result of this
                            // statement will be to strip
                            // the existing table of it's db specific identifiers. For
                            // example Xtreme.dbo.Customer becomes just Customer
    //                        System.out.println(origTable.getQualifiedName());
                            newTable.setQualifiedName(origTable.getQualifiedName());
                            newTable.setAlias(origTable.getAlias());
                            // Change properties that are different from the original
                            // datasource
                            // table.setQualifiedName(TABLE_NAME_QUALIFIER);
                            // Change connection information properties
                            connectionInfo = newTable.getConnectionInfo();
                            // Set new table connection property attributes
                            propertyBag = new PropertyBag();
                            // Overwrite any existing properties with updated values
                            propertyBag.put("Trusted_Connection", TRUSTED_CONNECTION);
                            propertyBag.put("Server Type", SERVER_TYPE);
                            propertyBag.put("Use JDBC", USE_JDBC);
                            propertyBag.put("Database DLL", DATABASE_DLL);
                            propertyBag.put("JNDIOptionalName", JNDI_OPTIONAL_NAME);
                            propertyBag.put("Connection URL", CONNECTION_URL);
                            propertyBag.put("Database Class Name", DATABASE_CLASS_NAME);
                            // propertyBag.put("Server Name", SERVER_NAME); //Optional property
                            // propertyBag.put("Connection String", CONNECTION_STRING); //Optional property
                            // propertyBag.put("Database Name", DATABASE_NAME); //Optional property
                            // propertyBag.put("URI", URI); //Optional property
                            connectionInfo.setAttributes(propertyBag);
                            // Set database username and password
                            // NOTE: Even if the username and password properties do not
                            // change when switching databases, the
                            // database password is not saved in the report and must be
                            // set at runtime if the database is secured.
                            connectionInfo.setUserName(DB_USER_NAME);
                            connectionInfo.setPassword(DB_PASSWORD);
                            // Update the table information
                            clientDoc.getSubreportController().getSubreport(subNames.getString(subNum)).getDatabaseController().setTableLocation(origTable, newTable);
    %>
        try {
            // Create the ReportClientDocument object.
            ReportClientDocument clientDoc = new ReportClientDocument();
            clientDoc.open("Class Progress by AI.rpt", 0);
            //start sheeet code            -  work
            changeDataSource(clientDoc, "root", "eatmyshorts",
                    "jdbc:mysql://localhost:3306/lms",
                    "com.mysql.jdbc.Driver", "LMS_MySQL5.1");
            ParameterFieldController paramController = clientDoc.getDataDefController().getParameterFieldController();
            paramController.setCurrentValue("", "Type", "en_US");
            paramController.setCurrentValue("", "SchoolName", "general");
            paramController.setCurrentValue("", "StudyClassName", "classss");
            paramController.setCurrentValue("", "SegmentId", 6);
            paramController.setCurrentValue("", "LAID", 30);
            paramController.setCurrentValue("", "AIID", 205);
            paramController.setCurrentValue("", "LOID", 1);
            IReportSource reportSource = clientDoc.getReportSource();
            // Create a Viewer object
            CrystalReportViewer viewer = new CrystalReportViewer();
            // Set the report source for the  viewer to the ReportClientDocument's report source
            viewer.setReportSource(reportSource);
            // Set the name for the viewer
            viewer.setName("Crystal_Report_Viewer");
            viewer.setPrintMode(CrPrintMode.PDF);
            viewer.setEnableParameterPrompt(true);
            viewer.setEnableDrillDown(true);
            viewer.setOwnPage(false);
            viewer.setOwnForm(true);
            viewer.setDisplayToolbar(false);
            viewer.setDisplayGroupTree(false);
            viewer.setHasPageBottomToolbar(false);
            // Process the http request to view the report
            viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
            // Dispose of the viewer object
            viewer.dispose();
            // Release the memory used by the report
            clientDoc.close();
        } catch (ReportSDKExceptionBase e) {
            e.printStackTrace();
    %>

  • I can not update Quick Time.  I get the message "a connection with the server could not be established"  I AM connected to the internet.  I have purchased QuickTime pro but can not get it uploaded.  Help.

    I have purchased Quick Time Pro and received my key.  I am told to go to QuickTime settings to update and I do not have Quick Time in my control panel.
    When I bring up QuickTime and click Help to Update I am told that a connection to the server could not be made due to either the server being down or my computer not having an internet connection.  I am connected to the internet so I know that is not the problem.
    How do I update my Quick Time player from 7.7.2 to QuickTime Pro that I have purchased?

    Launch the QuickTime Player and go "Edit > Preferences > Register", as per the following screenshot:
    ... that should get you through to the Register Tab in your QuickTime Control Panel.

  • Hub Does not update many times

    Many a times, when I get a new message notification and see the hub, the message is not updated. I need to go inside the hub menu and into individual account and then see. When i come back to the hub, the message then appears. Whats the purpose of having a hub if the messages dont appear instantaneously.

    First, in your Hub screen, swipe down from the top right corner to the center of the screen FIVE times in a row.
    You should see a one second black screen and then a message "Preparing Hub". That should reset your Hub.
    ALSO: You have your mobile phone number listed as your "My Mobile Provider" or carrier. Putting your phone number out on the internet on these public forums for the world to see, is not wise. To change that, at the top of this page click on My Settings > Personal Profile > Personal Information, and in the entry block for "Carrier" type the name of your mobile provider.
    1. If any post helps you please click the below the post(s) that helped you.
    2. Please resolve your thread by marking the post "Solution?" which solved it for you!
    3. Install free BlackBerry Protect today for backups of contacts and data.
    4. Guide to Unlocking your BlackBerry & Unlock Codes
    Join our BBM Channels (Beta)
    BlackBerry Support Forums Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

Maybe you are looking for