Compare start date with the end date

Hello

I'm a newbie in the apex. And my plsql programming skills are also not much.

I have a request to the apex. I have a page where I insert the username and organization and begindate and the enddate.
A user can belong to more than one organization.
A user can also be belong to the same organization, several times, but then the new begindate must be greater than the old endate that already exist for this user and the organization.

Can someone please help me on my way with the code?

Thank you

Instead of using a button, use a PL/SQL Expression:

: ASK ('CREATE', 'APPLY_CHANGES')

Be careful, the CREATION and the APPLY_CHANGES are the names of button the text displayed on the button. These two things can be different.

Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
-------------------------------------------------------------------

Tags: Database

Similar Questions

  • Remove MS Office Starter came with the computer

    I have a HP p6837C, AMD Athlon II X 4 running under Windows 7 64-bit.

    I want to totally remove the MS Office Starter came with the computer and install a previous MS Office Professional, I had bought.

    How safely get rid of which came with the computer

    Hello

    Download and install the free version of Revo Uninstaller from the link below.

    http://www.revouninstaller.com/download-freeware-version.php

    Run revo and use it to uninstall the software.  Make a right click on the program icon you want to remove and select uninstall.  During the process, that you may be asked to remove the registry entries, simply select all and then click on remove.  Do the same for any left over files and folders.  Once the uninstall is complete, reboot the PC.

    Kind regards

    DP - K

  • All of a sudden my 5.7 LR on win10 64-bit start fails with the error message something like "error reading from the cache of the preview... Please restart." reboot, repair, reinstall, or rename SLCache helps to repair.

    All of a sudden my 5.7 LR on win10 64-bit start fails with the error message something like "error reading from the cache of the preview... Please restart." reboot, repair, reinstall, or rename SLCache helps to repair.

    Unbenannt.PNG

    Hello

    Greetings!

    Close to Lightroom.
    Navigate to the location where the catalog is present (default value is within the pictures folder lightroom file)

    And delete the file previews.lrdata.

    Note: do not delete the catalog with the extension .lrcat file.

    Concerning

    Jitendra

  • Windows 8 will not start even with the CD after uninstalling Linux

    Hi, I am currently faced with problems with my Dell Inspiron with Windows 8 3520 is installed. I had been dual-boot it with Linux Mint for a while with no problems until I decided to go completely back using Windows for convenience.  As I had installed Linux by creating a partition I followed online guides to remove the partition on which it was found, and expand the partition holds Windows to its original size. This seemed to go off without incident, until I tried to delete Grub and got to the start of the back straight to Windows computer. I followed a couple of different guides without result and finally ran a program called Boot Repair that just make things worse. After you run the program, my computer began to start directly on a screen of recovery with the error message:

    Boot your pc configuration data is missing or contains errors
    File: \EFI\Microsoft\Boot\BCD
    Error code = 0xc000000f

    After that happened, I called Dell and pushed them to send a disk of Windows 8 for me, so I could try a clean reinstall, I thought I'll fix it. Unfortunately it allows me to boot the disk. Everytime I try (when entering the BIOS and selecting the CD drive to boot from the disc) I get a message saying missing operating system, along with various things I can provide if required, and ending in asking me to insert the bootable media in the selected drive, press which just repeated the same message again. I ' v read on various fixes online without result, most who ask me to change the CD in first priority which I can't do is not listed as an option in the menu accessed by pressing F2 BIOS. I tried to add my CD drive option, but when I click in it, instead of getting the readers of CD or something like that, I get a menu called select Media Driver with options like this:

    WDC WD10JPVT-75A1YTP - Partition 1

    the only difference between them being the partition to which they are assigned, 1, 2, 4, 5 and 6. If I press on enter on any of this that it brings me to another menu called select media with a variety of different options, which change depending on the partition that I chose, which none means nothing to me. I don't know enough to try anything more, and even people at Dell seem to be at a loss. Any help would be much appreciated because I am completely lost at this point and this is my first laptop.

    Hello

    I'm not 100% sure the disks that you actually... The drive set to restore your computer to the factory should be at least 2 or 3 DVD...

    You can reinstall windows only... which, I imagine, would solve the immediate problem.

    Delete the partition with your old windows 8 on this... Don't you say that you developed it in the first partition or something... There may be a small 300 MB partition as the first and possibly a 30 GB or more, depending on the order in which Dell installed their...

    Go by your memory as to the size of the partition that you expanded 8 Win...

    The thing with reinstalling windows just is that you do not have a Dell preinstalled stuff.

    Then you would not be able to do a full restore to factory...

    Manufacturers have made significant changes as to how it's done with Win 8... as there are now several types of Bios...

    You really can't find worse off than you are now.

  • Starting problem with the gray screen on iMac

    Hello everyone

    I'm a bit puzzled with a problem I'm having with my iMac 27 "a model late 2009, bought in early 2010, I had built at the time with 8 GB ram, 2 TB HD and fastest i7 Quad core processor available at the time.

    I'm running El Capitan, and all wise OS is perfectly up to date.

    The other week, after a systematic restart, I have a gray screen and little else.  Another reboot and everything was "normal", so I did not concern me unduly.

    Today, after that the Mac had been idle for a time during a call, the screen fell asleep as usual (I do not SLEEP the computer itself), but during his return and touch the SPACEBAR and key "ESC", the screen remains black.

    So I made a forced shutdown and restart.

    I get the screen gray and normal startup (no other sounds) chime followed by the apple logo and the startup progress bar.  He gets to halfway through the long, and then instead of bring to the top of the login page, it's just going to a gray screen Uni.

    So I restarted in safe mode, OK and ran disk utility a couple of times - at the first crossing, he noted, there a problem with the map of partition which can cause problems starting, but on the second passes and the following, everything has been noted to be OK - and the SMART status of disk has been verified.

    After a reboot - the same question as above - of carillon, gray screen with the apple logo, progress bar and then just a gray screen.  I did another secure boot and re-run of disk utility, rebooted into recovery mode and run disk utility.  And again, no problems reported.

    Another reboot and the issue was always there.

    So this time I rebooted into recovery again mode and downloaded a new installation of El Capitan.

    Unfortunately, there is no set - it is always start on a gray screen after the startup chime, the apple logo and progress bar.

    I have also removed all my account account startup items and disconnected all USB devices.

    I'm a bit lost for what to do next to be honest!

    Is there anything else I can do software wise, at home, or is it time for the repair material re shop perhaps?

    Thank you very much for your words of wisdom and support

    Kind regards

    John... :-)

    John here again: :-)

    Just a quick update which may help to determine what the problem is: I restarted in safe mode, after the reinstallation of the operating system was unable to initialize properly - grey screen again.

    However, as I have a home network, I found that I can not connect on the network with my MacBook Pro to the iMac, see all my files user on the iMac and even copy them across to the MacBook Pro with no problems.

    Everything on the iMac is saved via Time Machine on a Western Digital Firewire HD 3to.

    I also have uncompressed manual 'straight' copies of my music, movies, documents folders, etc, for an old time Capsule, currently acting as a bridge to my ethernet network wireless, and provide additional backup for those critical files - my music for example is ripped 350 odd CD, all legally purchased in ALAC on iTunes on the iMac - which represents a couple of months of work... lol... no way I want to lose that!

    So I'm a bit of a loss.  Disk utility reported no problem with the drive... I can boot into safe mode and recovery, but normal mode 'mode '... I always get the chime, the screen with apple logo and progress of the gray bar, then goes to just a gray screen instead of the login page.

    Help!

    My beloved Einstein had a hiccup!

    All comments appreciated and thanks again - hope this extra info helps

    Kind regards

    John... :-)

  • vmrun start exists with the error: the operation has been cancelled after the upgrade to workstation 9

    My backup scripts stopped working after I upgraded my win7 x 64 welcome to the workstation since version 8 9.

    My simple script looks like this:

    vmrun.exe suspension myvm.vmx

    .. copy on the backup device...

    vmrun.exe start myvm.vmx nogui

    It's used to work without fault. But start with the return of order:

    Error: The operation has been cancelled

    What is interesting to note that if I run the command start again at a later date, it works fine.

    Any ideas?

    Thank you.

    gui.lastPoweredViewMode = full screen
    gui.viewModeAtPowerOn = full screen

    I wonder if this parameters are good for a virtual machine, you start with nogui option?

    Do you really need support of 3d? -did you try with deactivated 3d support?

  • [8i & 10g XE] How to compare a column with the text of a column with numbers

    This is probably a simple question, but I can't seem to find the answer. I tried variations on use to_number to_char and interpreters, all nothing will do.

    The real problem is that I have a table with a column of numbers in a database 8i (datatype = NUMBER (3)) and a column with the text (datatype = CHAR (3)), and I need to compare two values.

    This table has thousands of lines, but here's an example of the data in these two columns:
    TXT     CHR
    -----------
    001     1
    001     2
    002     2
    XXX     1
    003     3
    What I want to do is select the lines where the TXT and CHR VALUES do not match, then it would be (given my example):
    TXT     CHR
    -----------
    001     2
    XXX     1
    But, I'm having difficulties in comparing two columns, because they are not the same type of data.

    I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:
    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    But this also returns any line, and it isn't even the "XXX" in the text column to treat in this example.

    Can someone help me understand what it is that I'm missing?

    Thank you!

    Hello

    user11033437 wrote:
    This is probably a simple question...

    Simple if you know the secret; maddening if you do not have.

    ... I tried to work on a simplified version of the problem in the 8i database both my 10g XE database:

    SELECT     *
    FROM     (
         SELECT     1.000               AS nbr
         ,     TO_CHAR(1.000,'000')     AS txt
         ,     CAST('001' AS CHAR(3))     AS chr
         FROM     dual
         )
    WHERE     txt = chr
    ;
    

    Try:

    TO_CHAR (1.000, 'FM000')
    

    By default, TO_CHAR leaves place the beginning of the string to a sign less, in which case he should ever one, TO_CHAR (1,000, '000') returns makes 4 characters, not 3. "FM" in the format said TO_CHAR do not add a space.

    If it does not, after the release of DUMP (txt) for the few lines that you can't match, so that we can see exactly what is in them.

  • get an FLV to start playing with the no sound

    Hello

    I'm trying to get my to start flv file to play when the page is loaded with no sound, but I have no chance. The flv file begins to play very well with the sound and I can turn off the sound with my volume control, but I need to start to play with no sound. Help, please.

    var restartTimer:Timer = new Timer (19000,1);

    restartTimer.addEventListener (TimerEvent.TIMER, startTimer)

    var myImage:mcImage = new mcImage;

    var myReplayBtn:mcReplayBtn = new mcReplayBtn;

    -Control of the video-

    var videoConnection:NetConnection = new NetConnection();

    videoConnection.connect (null);

    var videoStream:NetStream = new NetStream (videoConnection);

    videoStream.play ("sebring09.flv")

    var metaListener:Object = new Object();

    metaListener.onMetaData = onMetaData;

    videoStream.client = metaListener;

    Video: video of var = new Video (195,132);

    video.attachNetStream (videoStream);

    addChild (video)

    swapChildren (whiteOutline, video)

    Video.Mask = myMask

    Video.x = 7.5;

    Video.y = 3;

    function onMetaData(data:Object):void

    {

    }

    //------------------------Timer---------------------

    function startTimer(event:TimerEvent):void

    {

    addChild (myImage)

    myImage.x = 9;

    myImage.y = 20;

    addChild (myReplayBtn)

    myReplayBtn.x = stage.stageWidth/2;

    myReplayBtn.y = stage.stageHeight/2-12;

    myReplayBtn.addEventListener (MouseEvent.CLICK, replayMovie)

    myReplayBtn.buttonMode = true;

    }

    function replayMovie(event:MouseEvent):void

    {

    videoStream.play ("09_Sebring_incar_Cut.flv");

    removeChild (myImage)

    removeChild (myReplayBtn)

    restartTimer.start ();

    }

    restartTimer.start ();

    //-------------------------Audio Controls---------------------------------

    var soundVol:SoundTransform = new SoundTransform();

    var soundVolume:Number = 1;

    Code that handles the volume slider

    var trackBounds:Rectangle = track_mc.getBounds (track_mc);

    var xPos:Number = trackBounds.x;

    var yPos:Number = trackBounds.y;

    var widthPos:Number = trackBounds.width - track_mc.slider_mc.width;

    var heightPos:Number = 0;

    limits: var Rectangle = new Rectangle (xPos, yPos, widthPos, heightPos);

    track_mc.slider_mc.x = widthPos;

    track_mc.mouseEnabled = false;

    track_mc.slider_mc.buttonMode = true;

    track_mc.slider_mc.addEventListener (MouseEvent.MOUSE_DOWN, dragSlider);

    stage.addEventListener (MouseEvent.MOUSE_UP, stopSlider);

    function dragSlider(event:MouseEvent):void {}

    event.target.startDrag (false, bounds);

    addEventListener (Event.ENTER_FRAME, setVolume);

    }

    function stopSlider(event:MouseEvent):void {}

    track_mc.slider_mc.stopDrag ();

    removeEventListener (Event.ENTER_FRAME, setVolume);

    }

    function setVolume(event:Event):void {}

    soundVolume = track_mc.slider_mc.x/widthPos;

    soundVol.volume = soundVolume;

    SoundMixer.soundTransform = soundVol;

    }

    You can use the soundmixer soundtransform to control the volume of all, but unless you have several sounds, you should probably use the netstream's soundtransform.

    in both cases, to start your video with no sound, assign the volume property you function onMetaData:

    function onMetaData(data:Object):void {
    var st:SoundTransform = videoStream.soundTransform;
    st.volume = 0;
    videoStream.soundTransform = st;
    }
    
  • Help blackBerry Smartphones! Bold 9700 is frozen on start up with the new sim card

    I tried looking for similar topics but could not find more relevant. everyone seems to have no problem with swapping of cards sim on their fat. If there is a thread already open, I'm sorry. I am really frustrated and really need my blackberry to be operational.

    I have a Bold 9700, updated to the latest OS, everything works fine. I recently had some problems with my old sim card so I went to my service provider to change to another (same number, same line, same contract, just a new sim card).

    As it is expected that I was told that when my old sim is disabled, simply insert my new and I use my phone as normal.

    However, when I did this, the phone was stuck at the loading screen (the bar is all white) for eternity (maybe 5 minutes or more) before moving on to the home screen. There is no charge "security check" bar, the phone is completely frozen, no buttons work, the touch pad does not work, it shows 3G top right without the sign of blackberry, there is no service provider name and from time to time the little loading logo clock is displayed.

    I pulled the battery a couple of times and the problem persists. I called the service provider to reactivate the new sim card, they did 3 times, same problem. I inserted the SIM in other non-blackberry phones that I have and it works on all phones. When I put my old sim card in the 9700 disabled, the phone start end in 2-3 minutes, 'check' safety bar according to normal, everything moves, just no connection to the service. When I turn on the phone without sim card it starts fine with a message to say out loud the card sim.

    I even went down to the assistance service technique blackberry from my service provider and they were no help. all they could say was 'we must wipe your phone and reload the software' that I'm trying to avoid, and I can do it myself anyway.

    My phone is unlocked, comes unlocked here in Singapore, I even checked using the method 'MEPD', all disabled.

    This was very frustrating, especially when I need my blackberry for work. What is the problem with my phone? How can the simple replacement of a sim card if difficult on a blackberry when there is problem free for ANY other phone I've ever used? I am now fear when I travel abroad for business and requires a foreign sim card.

    had the same problem and eventually happeing is that I had to reload my os permeable, and then insert the sim card and upgrade again.

    consusming time, but worth it

  • Help starting out with the idea of site Web business

    Hello world

    I am totally going to embarrass me with my lack of knowledge of actionscript... but I hope someone can point me at least in the right direction.

    Here's what I'm trying to do:

    I'm designing a flash site that has 5 buttons, each corresponding to a different company. When a button is pressed, this company's logo appears in the body of the site and a brief description of company. So far, it's all very easy I know. But here's where things get complicated (at least for me):

    I implemented the motion tweens (25 to be exact) so that every logo can 'interpolation' in any of the other logos. The goal is to have it so that when you click on one of the buttons of the company, the logo will shape tween of the current logo displayed the logo of the company button you clicked. Make sense? I hope so.

    When a key is pressed, the script needs know basically what logo is displayed, so that he may know what shape tween movieclip to play.

    I put up all the tweens on the timeline with image tags: logo1ToLogo2, Logo1ToLogo3 and so on. And then Logo2ToLogo1, Logo2ToLogo3 and so on...

    Can someone help me get started? It would be very appreciated!

    Thank you.

    MEB

    First, one thing, you'll probably want to do is to create a function that will disable/enable your buttons, so that you can prevent anyone from use during a transition period.

    Interpolation selection from which to choose, you will need to create a variable to keep track of who is currently displayed logo.  The value that the shims variables will be a string that identifies the logo... 'Logo1', "Logo2", etc Let's say you name this variable 'currentLogo '.

    When you click a button, the button code will use a gotoAndPlay call that incorporates the variable currentLogo with the logo associated with the button...

    gotoAndPlay(currentLogo+"ToLogo#");

    where you put the number of the planned logo instead of #.  Following this line that you want to assign the new value followed currentLogo of a call to the deactivation of the buttons function.  The activation of the buttons call can be made at the end of each of your pre-teen.

  • Slow start upward with the Satellite P300 - 18 M (PSPCCE)

    This question has already partly been requested, however, I would like to ask everyone this question specifically:

    -What someone knows a slow start at the top with the P300 - 18 M?

    Please, even if your computer starts correctly, I would appreciate a response, so I can see if it's a problem with all of these machines, or if there is a problem with mine.

    By starting slowly, I mean that:

    After the vista screen "Loading" and "Orb" appear:

    http://vistasupport.MVPs.org/images/install_vista/Vista%202%20copy.jpg

    http://www.WindowsReinstall.com/WinVista/images/Image57.gif

    I get the screen below, for 2 minutes:

    http://farm4.static.Flickr.com/3033/2853070854_91b4b7dcfa_b.jpg

    I tried to disable ALL startup at startup (using MSCONFIG)

    Pourraient people please share their experiences with the P300 - 18M

    Thank you, Jack

    Hello

    Check it please my ad - http://forums.computers.toshiba-europe.com/forums/thread.jspa?messageID=134947

    Good bye

  • Windows Vista starts only with the loading screen

    Original title: Problem with Vista Business

    I have a pc with vista professional in this regard, there is a problem with the windows and it does not start, just on the loading screen. The machine came with a disc of recovery for xp only. I'm trying to find a download of Vista business so I can fix it rather than having to restore to XP. Anyone know where I can download it?

    Hello RussellNolan,

    It may be possible to solve this problem without having to reinstall the operating system.

    What exactly happens when you try to start normally?

    Let's start with the safe boot mode:

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    If it works, we can try to boot minimum troubleshooting:

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    Let us know if this helps out.

    Best regards

    Matthew_Ha

  • Vista starts successfully with the message "the user profile failed" (or something of the sort)

    I have windows vista basic, it connects but not a lot of my files or programs loading, then I get a pop up one down left corner of the screen that says "the user profile service failed" or something in that sense. I did a backup of my files. How can I solve this problem?... is there a way I can do without running a system restore

    Hello

    1st thing to try is the system in safe mode restore to before the problem

    http://www.windowsvistauserguide.com/system_restore.htm

    If necessary do in safe mode

    Windows Vista

    Using the F8 method:

    1. Restart your computer.
    2. When the computer starts, you will see your computer hardware are listed. When you see this information begins to tap theF8 key repeatedly until you are presented with theBoot Options Advanced Windows Vista.
    3. Select the Safe Mode option with the arrow keys.
    4. Then press enter on your keyboard to start mode without failure of Vista.
    5. To start Windows, you'll be a typical logon screen. Connect to your computer and Vista goes into safe mode.
    6. Do whatever tasks you need and when you are done, reboot to return to normal mode.

    If that does not solve it read more

    read the tutorial below

    http://www.Vistax64.com/tutorials/130095-user-profile-service-failed-logon-user-profile-cannot-loaded.html

    When you log on a Windows Vista-based or a Windows 7 computer by using a temporary profile, you receive the following error message:

    The user profile Service has not logon. User profile cannot be loaded.

    http://support.Microsoft.com/kb/947215#letmefixit

    Your user profile was not loaded correctly! You have been logged on with a temporary profile.

    http://support.Microsoft.com/kb/947242

    If you tried to log on to Windows and received an error message telling you that your user profile is damaged, you can try to fix it. You will need to create a new profile and then copy the files from the existing to the new profile.

    http://Windows.Microsoft.com/en-us/Windows-Vista/fix-a-corrupted-user-profile

  • Computer hung over the Windows, restarted, update now it does not start even with the installation CD, Get blue screen with the stop message.

    Hi, I installed a Windows update when my computer froze, so I turned it off and back on, now I can't even boot to the installtion disk supplied with the computer. When I hit F8 reapeatedly and select one of the available options, the computer contiually restarts and will not even go into safe mode. I tried hitting ctrl-alt-del, which brings me just for the system configuration menu. I even tried a software that is supposed to start any computer with any problem, and I get the same results I get with the installation CD. (Blue screen with error message: STOP 0x0000c1F5 (0x00000000, four times).) I can't do anything with it, can you help me!

    Windows Update Forum:

    You will get the best help for any problem of Update/Service Pack in the Windows Update Forum; the link below:

    http://social.answers.Microsoft.com/forums/en-us/vistawu/threads

    When you repost here, kindly understand exactly what happened when you tried this update.

    In this way, you will receive the best help.

    See you soon.

    Mick Murphy - Microsoft partner

  • Mid 2012 MacBook Pro starts only with the external hard drive

    I have a MacBook 2012 mid Pro and whenever I try to start it only shows the folder with question mark flashing. But, whenever I plug in my external hard drive, it boots. I also tried selecting the boot drive and the interns don't show, but once in the external plug-in, it shows externally as Macintosh HD. I also tried to reinstall OS X but it says I can't you this player.

    Thank you

    While in the drive external hard, that I hope has the same operating system, can you go to utilities utilities disk-file and run a repair of the internal drive and repair permissions? You could also do the same thing in starting mode of recovery-command keys R at startup. Using the recovery disk utilities. If you can't get the internal drive to show everyone, most likely the drive is bad. Then, you will need to replace it.

Maybe you are looking for