Not able to compare dates with apex in tabular form point and point

Hello

I need some help

Workspace: REEMATEST

email ID:- [email protected]

password:-reematest

Application No.:-52796

page 5

I have a table

create the table trial_master

(

Identification number,

date of act_st_date,

date of ac_end_date

)

I send you the ac_end_date and the id of page 5 page 4

in a modal popup window

all employees associated id is displayed as a table

whose values are fethcing of

create table trial

(

Identification number,

date of act_start_date,

date of act_end_date,

VARCHAR2 (1) flag.

number of res_id);

My problem: -.

on page 4, please see the plsql process

Impossible to compare dates

Hi Reema,

Control your process,

you compare with the value of the element to Date with date of beginning not with the end date that is why it is updating an incorrect value.

changing your date in the code below, columns

in lieu of f03, f04 replaced by State, check the modified process

DECLARE

L_ACTL_START_DATE  TRIAL_MASTER.act_st_date%TYPE;
L_ACTL_END_DATE    TRIAL_MASTER.ac_END_date%TYPE;

begin

FOR i in 1 .. APEX_APPLICATION.G_F01.COUNT LOOP

IF  trim(upper(APEX_APPLICATION.G_F04(i))) != trim(upper(:P4_END_DATE))
THEN
UPDATE TRIAL SET
    act_start_date = TO_DATE(APEX_APPLICATION.G_F03(i)),
    act_end_date = TO_DATE(APEX_APPLICATION.G_F04(i)),
    FLAG='Y'
    WHERE RES_ID = APEX_APPLICATION.G_F01(i);

    ELSIF  trim(upper(APEX_APPLICATION.G_F04(i))) = trim(upper(:P4_END_DATE)) THEN

    UPDATE TRIAL SET
    act_start_date = TO_DATE(APEX_APPLICATION.G_F03(i)),
    act_end_date = TO_DATE(APEX_APPLICATION.G_F04(i)),
  FLAG='N'
    WHERE RES_ID = APEX_APPLICATION.G_F01(i);

end if;
END LOOP;

end;

Hope this helps you,

Kind regards

Jitendra

Tags: Database

Similar Questions

  • I get the message when you set up a new user "a temporary user profile is loaded because Windows was not able to connect you with your local profile."

    Dear all,

    I have a Windows PC in my office. Because of some configuration issue, I deleted the domain user and tried to connect to the system with the same user credentials. It identify you with the credentials of the user, but I get a message saying: "a temporary user profile is loaded because Windows was not able to connect you with your local profile."
    This system is joined to the domain and the profile is an Active Directory user.
    Here are the details of the event ID:

    Details

    Product:

    Windows operating system

    Event ID:

    1515

    Source:

    Userenv

    Version:

    5.2

    Symbolic name:

    EVENT_PROFILE_DIR_BACKEDUP

    Message:

    Windows has backed up this user's profile. Windows will automatically try to use the saved profile the next time the user connects.

    Explanation

    A temporary user profile is loaded because Windows was unable to connect with your local profile.

    A possible cause of this is if your local profile has been corrupted or that you no longer have the correct privileges for profile records.

    Note: Any changes made to the temporary profile is lost once you disconnect.

    User action

    Search the profiles additional events in the event log for more information on the reason why this happened or contact the system administrator for further assistance.

    There is currently no article for this specific error Microsoft Knowledge Base or an event message. For more information on other technical support options, you can use to find answers online, see http://support.microsoft.com/default.aspx.

    Please, help me to create the same user profile in the system with formatting system.

    Hello

    I suggest you to refer to this link and check if it helps:

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

    It will be useful.

  • Not able to copy data from forms

    We are not able to copy data from forms and paste it in the local machine (Notepad or excel).

    Even if the copy is enabled when you right-click after selecting data, we are not able to paste it in Excel or Notepad

    Apps Ver.R12

    Kind regards.

    PL see if these MOS Docs can help you

    Copy / paste does not work in forms (Doc ID 944963.1)
    Impossible to copy/paste in forums 12.0 or 12.1 (Doc ID 1088148.1)

    HTH
    Srini

  • I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.

    Original title: problem e mail

    I click on the links in the email and get a box that says: "this file does not have a program associated with it for performing this action" and the link cannot be opened.

    Suggestions;

    1. make sure that your e-mail program is your default program.

    2. make sure that your Internet Explorer, or your main browser has all its faults.

    You can do both of the above by following these steps...

    Start button > right column, click default programs > click Set Your Default programs...

    1. click on your e-mail program > it doesn't say "this program has all its defaults"?
    If not, click on choose by default for this program > check all boxes below the list > click on save when finished.

    2 do the same as above for your Internet Explorer, or your main browser.

  • Ubuntu is not able to detect Bluetooth (with A2DP) v2.0

    Hello

    I have install Ubuntu 11.04 'Natty Narwhal"on my system of Satellite C640.

    When I on Bluetooth integrated in Ubuntu-, it is not able to detect
    Bluetooth - v2.0 (with A2DP) in my laptop.

    No specific configuration is required?

    Alexander

    Hi cindy

    Please tell me - is this specific service / profile that is not detected / work, or the Bluetooth does not work?

    BR
    Tom

  • LabVIEW is not able to extract data from a HP4194A and gives me the error code 1073807202.

    I'm trying to get a graph of the impedance of a capacitor of the HP4194A to my laptop and use one or GPIB-USB-HS connection. I downloaded the latest drivers and am using LabView 8.2. Initially I thought it was a connection problem because demand measurement and automation could find the HP4194A, but he has not answered the * IDN? query. However, the HP4194A responded to the ID of the request? which I found by looking at the user manual. What else should try to get the data I need?

    Thank you

    The HP4194A is an old instrument, and as such, it is not unusual for ancient instruments to does not implement does not the SCPI standard commands. Therefore, to have "ID?" instead of "* IDN? That said, what driver do you use? Is this? When you say that you aren't able to pull data, please be more descriptive. Are you an error? If so, what is it? What screws do you use? Do you use an example VI? If so, which? We are not mind readers, don't forget.

  • Not able to download files with the iPhone from the outside

    Hello

    I'm not able to download files from my iPhone when the iPhone connects to the workspace to external. We have deployed nginx as reverse proxy in our DMZ which transmits requests internally will bridge.

    The download start (number of bytes transferred to the top), then the transfer ends with "error".

    I could not find errors in the log files, but maybe I didn't look in the right places

    If the iPhone is connected to the internal workspace, the problem does not occur

    Any ideas on this subject?

    Thank you

    What is the waiting period that you define in the nginx Server in the DMZ? All other additional configurations?

  • Member not found when loading data with SQL

    Hello everyone:

    I created a cube map extract all information with SQL statements and it works perfectly. Now I'm trying to load data in the same way, but I can't.

    I created a view that returns data in this format:

    Dimension 1 < tab > axis 2 < tab > member... Member of dimension 5 < tab > measure 1 < tab > 2 < tab > measure 3

    I designed a new rule, indicating for each column in the dimension; and for each measure which specific member of dimension of accounts must be used. I have check and everything is ok, but when I try to load data, it does not work and tells me error:

    + "Data value [3.5] met before that all the selected Dimensions, [1] Records duly filled.
    + Essbase error unexpected 1003007 "+"

    If I get the names of the members with quotes (because they contain spaces, and it is perhaps the reason for the previous error, although the rule analysis correctly) with the SQL statement, when Essbase import, it deletes these quotes. I must use another symbol, and as a rule change this another symbol quotes. Is this normal? I know that this issue when importing formulas, but not here.

    Why in 'Dimension building' I don't have this problem with quotes?

    And when changing the symbols of quotes, this error occurs:

    + "Member x not found in the database" +. " But I check the Member and there are in general terms. What's wrong with that? »


    Thanks in advance

    Concerning

    Javier

    Published by: Javi M on 26-mar-2011 05:52

    Yes, the SQL files and data (of all kinds) are supported by more than one column of data. As you noted, you just point to the Member that represents the column.

    That said, I bet that if you look at your view/table and load the rule against your outline, I bet you find a dimension be mismapped, for example, you think that this column 4 points to the scenario, but you really repointe it produces and which purported to be the column 1, or you missed a dimension. Happens to me all the time.

    Kind regards

    Cameron Lackpour

  • iTunes is not able to find the USB controller on PC desktop computer and laptop

    Hello

    Since the two versions of iTunes for Windows (10) diagnostic program tells me a green dot in front of "USB-connections", but didn't tell behind the "no-USB controllers found. That's why my iTunes is not able to connect to the iPhone 5. I have the same problem on my desktop and on my laptop. Windows detects all my USB Ports, well. If someone can solve it? Thank you.

    If your iOS device does not appear in iTunes, try the following:

    1. Open Control Panel > Device Manager
    2. Plug in your device
    3. Locate Bus USB Controllers > Apple Mobile Device USB Driver.
      It is also possible that the device may appear under imaging devices, portable devices or other devices or as a device USB of MTB.
    4. Right-click and select software update of the driver...
    5. Click Browse my computer for driver software
    6. Go to C:\Program Files\Common Apple Mobile Device Support\Drivers or
      C:\Program Files (x 86) \Common Files\Apple\Mobile Device Support\Drivers
    7. Click on let me pick from a list of drivers for devices on my computer
    8. Click on Apple Mobile Device USB Driver
    9. Click Next, then close and exit the Device Manager

    To step 3 above, open the Device Manager. Expand one of the articles that are listed.

    • USB Bus controllers
    • Imaging devices
    • Portable devices
    • Other devices

    Plug in the appliance. You should hear the telltale Windows sound device connection and a Division must acquire a new entry. This should be your device. It cannot be labelled properly at this point. If you do not hear a suspicious noise cable damaged.

    Or try If iTunes does not your iPad, iPhone or iPod - Apple Support Apple version of the above opinion.

    If not try a complete tear down and rebuild iTunes in accordance with the resolution of the problems with iTunes for Windows updates. 64-bit users might also try the build replacing iTunes for Windows (64-bit-for older video cards) which is sometimes a useful workaround.

    Or try to go back to the last version of iTunes that has worked for you. See the programs installation of iTunes to download links. If you roll back to 12.4.0.119 to 12.3.3.17 or 12.3.2.35, for example, then you will also need restore the database of the library in the manner described in the empty/corrupted after upgrade/crash iTunes library. The tip makes suggestions to reintroduce recent purchases, so at worst, you lose a few meters or a newly created playlist.

    TT2

  • What is an effective way to way logarithmic bin data with a constant number of points per decade?

    Hi all

    I would like to clean a logarithmic field of PSD in binning and averaging so that I have a constant number of points per decade (say 10, just for the sake of argument). Generally, means simpler and cleaner, I can think about getting this is research in the table entering all points between the frequencies A and B, with an average of these points and assigning a frequency (A + B) / 2 of the new average bin. However, I cannot find how to access frequency information, I need to achieve this. To be more clear, I can imagine if I had two tables, one who holds the frequencies calculated from my stream of incoming data, and the other which held and the amplitude of each corresponding frequency, that I might look for clues in the frequency table with values between A and B, then the average of the values in the table of amplitude which lie between the indices back put them in a new table with a new array of corresponding frequency. The process is a little more general that just on average every ten points, to say, as the number of points per decade continues to grow. My main obstacle at the moment, however, is that the amplitudes of the voltage are a set of values that receive through the operation of PSD, while the part of the frequency of the wave seems to be a DBL continues single-valued. I hope I've explained that well enough for someone to shed some light on my problem. Also, if anyone has a suggestion for a better way to approach the problem please let me know - there must be a pretty simple answer there, but it's deceiving me right now. Thanks in advance for the help.

    -Alex

    Hello

    If I get you right. you have:

    a table with the frequencies

    a table with the corresponding values of amplitude

    Then you want to merge parts of the data by averaging on the specific frequency ranges. I think that there is no VI 1 solution, you will need to write this on your own ():

    I start to get the min/max of frequencies and then interpolate a scale from your needs (like logarythmic) mounting with the quantity of bins you want. This should be an array again.

    Next step is to browse the frequency table, check (the first and) the last value in the location wanted (stop the loop, return the index). This should end up with an array of index. [I guess that's where you can save some computation time most by smart]

    Finally, use these indices to browse the amplitude values and make your average. Should return an array of the length of your array of locations.

    Ground in color fantasies and enjoy.

    Just what you intend to do?

  • Comparing date with SYSdate entered APEX

    Hello

    I have a form with request to the user enter the date (using the date picker), which must not be greater than the current date. Is there a way to achieve this in the shape of the APEX DML?

    Your answer will be highly appreciated.

    Create a validation like this,

    Type: Function that returns the error text

    begin
    
    if to_date(:P3_RELEASING_DATE,'DD-MON-YYYY') 
    

    Thank you

    Lacombe

  • Country NOT found in Anycharts cards with APEX 4.2

    I was wondering how hard it or even if it is possible to add the country to the list of available for display in the build-able by APEX 4.2 cards? We have a set of data to display by countries and found that the Serbia is NOT the mapable associated countries throughout...

    Should I try too ask Anychart? Hilary would pick up on that since it's trace in the APEX of thought...

    Running on Apex 4.2, Oracle 10.2, Solaris with http server...

    Thank you

    Tony Miller
    Ruckersville, WILL

    Hi Tony,.

    On the attributes of map page, you have defined a value for the marker to be something other than "None"? If the series marker type is selected for a chart or map, you must also select the marker type that you want to use for example the circle. If all goes well, once you have defined this point, you will be able to see the countries represented on the map... and thanks in advance for the identification of the missing countries. I am to you logging a bug to include countries that you have already identified.

    Kind regards
    Hilary

  • I'm not able to compare two strings in OpenScript

    Hello

    I'm trying to compare two string in if condition. But it's going through.

    My code is:

    String PATTERN_TYPE = eval ("{{db. INPUTS_CREATE_REPRICING_PATTERN. PATTERN_TYPE}} ")." ToString();

    String REPRICING_TYPE = eval ("{{db. INPUTS_CREATE_REPRICING_PATTERN. REPRICING_TYPE}} ")." ToString();

    If (PATTERN_TYPE is 'Absolute')

    {

    Info ("absolute section");

    If (REPRICING_TYPE is "FLAT")

    {

    Info ("absolute section PLATE");

    }

    }

    Data Bank is to have values like "Absolute" and "FLAT" only if the two if conditions must have passed and the two info should come. But it's not going inside.

    Note: I also tried without function toString().

    Please advice.

    Kind regards

    Abhay

    Hi Abhay,

    Please use below...

    World in java, strings are compared with equivalent to...

    ==tests for equality of references.

    .equals()tests for equality of the values.

    String PATTERN_TYPE = eval ("{{db. INPUTS_CREATE_REPRICING_PATTERN. PATTERN_TYPE}} ")." ToString();

    String REPRICING_TYPE = eval ("{{db. INPUTS_CREATE_REPRICING_PATTERN. REPRICING_TYPE}} ")." ToString();

    If (PATTERN_TYPE.equals ("Absolute")

    {

    Info ("absolute section");

    If (REPRICING_TYPE.equals ("FLAT")

    {

    Info ("absolute section PLATE");

    }

    }

  • Does not touch the iPhone 6 after 18 months of use.  Apple Service Center is not able to solve the problem it could material being associated and returned the phone, now I'm stuck with this expensive junk, the Iphone above 6 serious problem?

    I am in India, I was using Iphone 6, 16GB, for the last 18 months, bought in Australia, progressively, the touch screen not responding. Then the problem started to happen frequently. I said, all ideas update, (9.3.2) reset, restore, etc., etc., nothing helped, finally the Apple so-called service center has confirmed that it is a hardware problem, is not repairable and advised me to return the phone and scrap it or to pay nearly 60% of the phone cost to get another phone as replacement. (It might be a refurbished phone).  As I see a lot of complaints in the blogs on the problems of the iphone 6, Apple has not taken any measure to solve my problem and trying to make more money on behalf of replacement... Now I'm stuck with such a pricey gadget... should I buy new Iphone?

    Sorry, but an iPhone can be repaired by Apple or a Service provider authorized Apple in the country of purchase. If you think of buying a new device, buy it in the country where you will use it will save you a lot of trouble if you need service.

    And, according to usage, a 16 GB model might not have enough free space left to work properly, which can also cause the phone to lag and unresponsive at times.

  • Cisco TP Codec C20 is not able to speak CEC with LG LCD screens

    I was waiting for the CEC on / stand by the possibilities of the software TC4.2.1 for awhile only discover that it does not work with LG CEC (aka SimpLink), but on the other hand, it works very well with the Sony BRAVIA Sync.

    Has anyone encountered this same problem?

    Hello Mihail,

    We also tested with LG SimpLink and seller sends specific commands and will not respond to requests for confirmation.  This limitation will be added the release notes.

    Thank you!

    Paula

Maybe you are looking for

  • How can I delete log data?

    When I open google mail, and I start typing, a list of connections are presented to me... I erased all my history, but this is not enough, these names are always appearing. How can I remove it please?

  • new ThinkCentre M92z AIO?

    How to remove the screws of the cover for the replacement of hard drive?

  • Error code while upgrading windows... 0x800706BA

    Error code while upgrading windows... 0x800706BA Best regards, Sohail Patel "MCSE 2003 | ITILv3 | "A journey of a thousand miles begins with a first step."

  • How can I reinstall the RTL 120 BPL file?

    Original title: rtl 120 bpl How can I reinstall the RTL 120 BPL file

  • Heavy fax HP CM4540 tone

    We have 'Fax dial Volume' and 'Ring Volume' set to 'off' in Fax Send Setup and configuration to receive faxes, but our entire office can hear this thing to receive faxes.  Any ideas of what settings I'm missing?