Add zeros at the end when the values of less than 4 digits

Hi all

I want to be 4-digit only with the addition of ar the zero end of the query. Plese see the following table and the date and below the output
create table tt (id number(10));
insert into tt values(.100);
insert into tt values(.21);
insert into tt values(.4);
insert into tt values(.851);
insert into tt values(.11);
insert into tt values(.1);
output like this
id
.1000
.2100
.4000
.8510
.1100
.1000
concerning
Isabelle
create table tt (id number(10,5));
insert into tt values(.100);
insert into tt values(.21);
insert into tt values(.4);
insert into tt values(.851);
insert into tt values(.11);
insert into tt values(.1);

Select RPAD (id, 5, 0) in tt;

gives

o/p =
.1000
.2100
.4000
.8510
.1100
.1000

Published by: Vanessa B on 29 November 2012 10:49
-added o/p

Tags: Database

Similar Questions

  • How to create a validation script that sets my value to a minimum of 1 (even if the calculation of the value is less than 1)?

    I use a notation simplified field to calculate the value

    (kg1 * 1.5) - diaporama1

    I want my value to only a minimum of 1 at any time, even if the actual value itself is less than 1

    Thank you!

    Add this code in the custom validation script:

    If (event.value<1) event.value="">

  • Script where the zero is not displayed when no value is selected, indicates when a value of zero is selected

    How can I write a calculation script where the zero is not displayed when no value is selected, but when a value field null is selected as part of the zero calculation will show?

    Option 1 has a score of 0 value

    Option 2 has a value of 5 score

    When someone chooses option 1, I want the value 0 to appear at the cell of notation.

    Here is the script that I have so far:

    If (event.value == 0 | event.value == ") event.value =";

    OK, the custom calculation script could be:

    Get the value of the checkbox field

    var v = getField("checkbox1").value;

    Set this field value

    V = Event.Value = "Off"? "" : v;

    Replace "checkbox1" with the actual name of the checkbox.

  • A3 landscape artboard. When the zoom is less than 100%. the appearance of the work (lines) in staircase, I can tell this resolution because something I have to zoom and it disappears. I understand the difference between vector and raster as well... looks

    A3 landscape artboard. When the zoom is less than 100%. the appearance of the work (lines) in staircase, I can tell this resolution because something I have to zoom and it disappears. I understand the difference between vector and raster so... this kind of problem is like when you zoom too in an image and it becomes pixelated... but otherwise...! I have a macbook pro 2012 model, the retina. is my screen resolution. I thought that the apple screen product meet good standards of adobe creative products... Reviews

    Check if the switch between the GPU and CPU makes a difference: Cmd E

    Or turn in the preferences: GPU performance.

  • My computer is constantly disconnected from the internet and to reconnect I just unplug the cable for less than a second and it starts to work instantly.

    My computer is constantly disconnected from the internet and to reconnect I just unplug the cable for less than a second and it starts to work instantly. Does every 5 to 10 minutes and it gets frustrating. It is not the cable modem because it is constantly connected, and I repeatedly checked.
    I have this problem with all programs on the internet and she does every day and probably every 5 to 10 minutes.

    Hello

    Your router could be suspicious here, you have successfully updated its firmware as a possible solution? And I would like to
    Update your WiFi drivers on computers. How you are positioned in the router? Are there
    obstacles in the path?

    Actually try updating your driver and disabling the network logon.

    Control Panel - network - write down of the brand and the model of the Wifi - double click top - tab of the driver - write
    version - click the driver update (cannot do something that MS is far behind the pilots of certification). Then
    Right click on the Wifi device and UNINSTALL - Reboot - it will refresh the driver stack.

    Look at the sites of the manufacturer for drivers - and the manufacturer of the device manually.
    http://pcsupport.about.com/od/driverssupport/HT/driverdlmfgr.htm

    How to install a device driver in Vista Device Manager
    http://www.Vistax64.com/tutorials/193584-Device-Manager-install-driver.html

    Download - SAVE - go where you put it - right click – RUN AS ADMIN.

    You can download several at once however restart after the installation of each of them.

    After watching the system manufacturer, you can check the manufacturer of the device an even newer version. (The
    manufacturer of system become your backup policies).

    Repeat for network (NIC) card and is a good time to get the other updated drivers as Vista like
    updated drivers.

    I would also turn off auto update for the drivers. If the updates Windows suggests a just HIDE as they
    are almost always old, and you can search drivers manually as needed.

    How to disable automatic driver Installation in Windows Vista - drivers
    http://www.AddictiveTips.com/Windows-Tips/how-to-disable-automatic-driver-installation-in-Windows-Vista/
    http://TechNet.Microsoft.com/en-us/library/cc730606 (WS.10) .aspx

    ------------------------------------------------------

    Make sure you know the details of connection to your wireless router - SSID and password.

    You lose connection when you do and have to redo your logon.

    Control Panel - Network & Sharing Center - right, click Customize - page set of network locations.
    lower left click on merge or delete network locations - REMOVE all instances of your network (and the
    others you don't use anymore) - REBOOT. Start - Connect To log on to the network.

    -----------------------------------------------------

    Check this box:

    Strange problem with Internet under Vista
    http://www.catonett.com/blog/archives/194

    Windows Vista cannot obtain an IP address from certain routers or some non-Microsoft DHCP servers
    http://support.Microsoft.com/kb/928233/en-us

    ----------------------------------------------------

    And:

    Network connection problems
    http://windowshelp.Microsoft.com/Windows/en-us/help/33307acf-0698-41ba-B014-ea0a2eb8d0a81033.mspx

    I hope this helps.
    Rob - bicycle - Mark Twain said it is good.

  • Select start measurment only if the temperature is less than 26 ° C for 10 seconds

    Hello

    I have a program for a measure of viscosity/temperature use DasyLab 12

    I burn my brain to try to activate the measurment only if the temperature is less than 26 ° C for 10 seconds.

    Click on 'Start', then control the temperature, if the temperature stay below 26 ° C, for 10 sec then allow to click the button "start measurment.

    If this isn't the case, restart the control.

    Thanks in advance!

    Ivan

    Simply enter the channel number. If this string has a name, DASYLab will automatically replace the figure.

  • What digital SLR camera is the best movie less than $1,000?

    What digital SLR camera is the best movie less than $1,000?

    Hi there somethinghey! If you are referring to DSLR cameras with video recording capabilities, please check this link for information and comparison.

    If my post answered your question, please mark it as "accept as a Solution.

  • I managed to reduce the font size in my sri_94@live.co.UK to the tiny size less than a block of code, it is impossible to read.

    Original title: Windows 7 Premium

    Can someone please help me with this problem, I managed to reduce the font size in my [email protected] to the tiny size less than a block of code, it is impossible to interpret, each can bring a solution please.

    First try step the control key + mouse wheel to zoom in or out.

  • relaxation led when the value is greater than

    Hey everybody! I have to do a project and im stuck because I'm a noobler with regard to labview. I'm using labview 6 and got to watch the pressure and temperature of a reactor in time. I need to create a system in which if a value is greater than it triggers an alarm (perhaps led can show it) or is less than a certain limit. I mean it should trigger an alarm when the temperature or pressure is beyond 100 and less than 10. And after that to generate a text document in which it is specified the time and date at which these values were exceeded. I also use randomly generated values. Can I get help please? I'm not manage it by myself)

    Line and force. as Norbert said.

    You won't get much sympathy on overloaded around here.  Three things occurred to me that I read your messages:

    1. You will be in trouble when you get a job if you think that you will be not always charged.
    2. If I help you, you'll probably end up working for me and I still have to do your homework.
    3. You'll be fine.  Engineers outsource their work all the time.

  • Add instance with the values of the previous instance drop-down list

    Hi all!

    Need help with javascript.   I have a form that contains a radio button B when you select it, shows a subform.  Inside the subform is a table that contains a drop-down list.  The drop-down list is populated based on a previous option box A, who has been chosen and is a subset of the possible values.

    The user can click a button to create an additional instance of the subform.  It's the new instance is in the original version of the subform, and the drop-down list is not the subset of values.

    How can I get the drop-down list in the added instance view only the subset dropdown values?

    Let me know if you need more information.

    Thank you!

    Jodi

    You need to access the instance of right holders...

    Because you create new instances, you must access them using the method resolveNode()

    You can access the instance by using the 0-based index, if you are in the event to initialize the combo you can simply use 'this' instead of 'Main.PreApproved.Awardees.Table1.Row1.AwardType '.

    When you add an instance to the click event of button:

    var newAwardees = Awardees.instanceManager.addInstance (1);

    newAwardees.presence = "visible";

    newAwardees.Table1.Row1.AwardType.clearItems ();

    newAwardees.Table1.Row1.AwardType.addItem ("prize for Excellence in mentoring Faculty");

    //[...]

    DropDownList initialize event:

    If (this.length == 0) {}

    this.clearItems ();

    this.addItem ("prize for Excellence in mentoring Faculty");

    //[...]

    }

    If you change the value in the option button (which modifies the subset values):

    for (var i = 0, oLen is Main.PreApproved.Awardees.instanceManager.count; I< olen;="">

    var oneAwardees = Main.PreApproved.resolveNode ("Fellows [" + I.ToString + "]");

    oneAwardees.Table1.Row1.AwardType.clearItems ();

    oneAwardees.Table1 "Row1.AwardType.addItem ("prize for Excellence in mentoring Faculty");

    //[...]

    }

    I hope this helps!

  • attempt to add setPropertyListener with the value of the component of type action

    Hi I'm trying to pass the value between two atribute and get this error when trying to add setPropertyListener with the type of the action value to the component that is not actionSource
    i what to pass this value 
    <af:inputText simple="true"
                            required="#{bindings.Username.hints.mandatory}"
                            columns="#{bindings.Username.hints.displayWidth}"
                            maximumLength="#{bindings.Username.hints.precision}"
                            shortDesc="#{bindings.Username.hints.tooltip}" id="it1"
                            value="#{bindings.Username.inputValue}">
                <f:validator binding="#{bindings.Username.validator}"/>
              </af:inputText>
    
    to hear
    <af:inputText value="#{bindings.Createdby.inputValue}"
                        label="#{bindings.Createdby.hints.label}"
                        required="#{bindings.Createdby.hints.mandatory}"
                        columns="#{bindings.Createdby.hints.displayWidth}"
                        maximumLength="#{bindings.Createdby.hints.precision}"
                        shortDesc="#{bindings.Createdby.hints.tooltip}" id="it15">
            <f:validator binding="#{bindings.Createdby.validator}"/>
            <af:setPropertyListener from="#{bindings.Username.inputValue}"
                                    to="#{bindings.Createdby.inputValue}"
                                    type="action"/>
          </af:inputText>
    
    am geting this error whenstarting application
    ]] Root cause of ServletException.
    javax.servlet.jsp.JspException: ADF_FACES-60074:attempting to add setPropertyListener with type set to action to component that is not actionSource
         at oracle.adfinternal.view.faces.taglib.listener.SetPropertyListenerTag.doStartTag(SetPropertyListenerTag.java:161)
         at jsp_servlet.__intnlusr_jsff._jspx___tag92(__intnlusr_jsff.java:4280)
         at jsp_servlet.__intnlusr_jsff._jspx___tag90(__intnlusr_jsff.java:4207)
         at jsp_servlet.__intnlusr_jsff._jspx___tag89(__intnlusr_jsff.java:4136)
         at jsp_servlet.__intnlusr_jsff._jspService(__intnlusr_jsff.java:441)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:524)
         at weblogic.servlet.internal.RequestDispatcherImpl.include(RequestDispatcherImpl.java:444)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:163)
         at weblogic.servlet.jsp.PageContextImpl.include(PageContextImpl.java:184)
         at oracle.adfinternal.view.faces.taglib.region.IncludeTag.__include(IncludeTag.java:442)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:153)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag$1.call(RegionTag.java:128)
         at oracle.adf.view.rich.component.fragment.UIXRegion.processRegion(UIXRegion.java:503)
         at oracle.adfinternal.view.faces.taglib.region.RegionTag.doStartTag(RegionTag.java:127)
         at jsp_servlet.__index_jspx._jspx___tag3(__index_jspx.java:243)
         at jsp_servlet.__index_jspx._jspx___tag2(__index_jspx.java:204)
         at jsp_servlet.__index_jspx._jspx___tag1(__index_jspx.java:154)
         at jsp_servlet.__index_jspx._jspx___tag0(__index_jspx.java:104)
         at jsp_servlet.__index_jspx._jspService(__index_jspx.java:65)
         at weblogic.servlet.jsp.JspBase.service(JspBase.java:34)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.ServletStubImpl.onAddToMapException(ServletStubImpl.java:416)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:326)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:183)
         at weblogic.servlet.internal.RequestDispatcherImpl.invokeServlet(RequestDispatcherImpl.java:523)
         at weblogic.servlet.internal.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:253)
         at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at oracle.adfinternal.view.faces.config.rich.RecordRequestAttributesDuringDispatch.dispatch(RecordRequestAttributesDuringDispatch.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidad.context.ExternalContextDecorator.dispatch(ExternalContextDecorator.java:44)
         at org.apache.myfaces.trinidadinternal.context.FacesContextFactoryImpl$OverrideDispatch.dispatch(FacesContextFactoryImpl.java:267)
         at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:469)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:140)
         at javax.faces.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:189)
         at org.apache.myfaces.trinidadinternal.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:193)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._renderResponse(LifecycleImpl.java:911)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:367)
         at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:222)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
         at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
         at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
         at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
         at java.security.AccessController.doPrivileged(Native Method)
         at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
         at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
         at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
         at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
         at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
         at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
     SUBSYSTEM = HTTP USERID = <WLS Kernel> SEVERITY = Error THREAD = [ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)' MSGID = BEA-101017 MACHINE = srd-ws23042 TXID =  CONTEXTID = 7157afcc9f9dbb93:-87c28d8:13e8d11ba6b:-8000-00000000000000b7 TIMESTAMP = 1368169642621  
    WatchAlarmType: AutomaticReset 
    WatchAlarmResetPeriod: 30000 
    >
    <10 May 2013 9:07:23 AM> <Alert> <Diagnostics> <BEA-320016> <Creating diagnostic image in c:\users\10017134\appdata\roaming\jdeveloper\system11.1.1.6.38.61.92\defaultdomain\servers\defaultserver\adr\diag\ofm\defaultdomain\defaultserver\incident\incdir_83 with a lockout minute period of 1.> 
    
    i what to pass some value from one view to another,for example when i create username in view user i must go and populate that username in view userlogs in field createdby
    Edited by: adf009 2013/05/10 10:19

    No, you the code you show here is not the right way to do it!
    You did a simple copy & past errors telling me that you don't understand what you copy everything.

    valueChangeListener="#{pageFlowScope.InternalUserBean.valueChanged}">
    

    does not point to the valueChangeListener in the bena as this one is called "changeUserListener"!
    A simple code debugging session would have shown this.

    Timo

  • I installed seven 2.0.2 appearance but Firefox Add-on restores the value by default whenever I close.

    I installed seven 2.0.2 as an add-on to the appearance, but Firefox keeps returning to 11 Firefox by default whenever it closes. Is there a way around this?

    I have watched all of the items above and decided that I had no desire to create a new profile. I simply removed the add-on of the appearance of seven 2.0.2 and the problem seems to have disappeared. (Touch wood!)

  • Set the values of more than three per link report column

    Hello

    In my application, I need to put more than three points (on the target page), when you click on the column (it is a link) using the values present in this page.
    By report link column we can set only three values, y at - it another way to define several elements (plus three).
    Thank you
    Pavan Reddy

    Published by: user10820560 on March 17, 2009 13:28

    Published by: user10820560 on March 18, 2009 08:24

    Just enter several element names and values separated by commas in each input field for name/value of an element.

    Scott

  • End date must CLEARLY not less than the start date, else it

    Hello

    I put DATE of BEGINNING of THE CONTRACT and END of CONTRACT fields on the form. These 2 objects (DateTime objjects), I pulled game tab of the palette and fell on my layout, fine design.

    Now, I try to put a validation than the end dat eshould not lower than the beginning, so I had a thread as below from Niall.

    http://forums.Adobe.com/message/1909551

    and I've done my coding FormCalc to the OUTPUT of the END DATE field as event title below,

    Please note that FormCalc
    End date must not less than the start date, else CLEAR-Begin

    var ACE
    var endDate

    As = xfa.resolveNode ("CUSTOMER..") RawValue Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_START_DATE")
    endDate = xfa.resolveNode ("CUSTOMER. Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_END_DATE") GLR awValue

    If (ACE > endDate) then
    xfa.host.messageBox ("end date is less than the departure date! End date is allowed")
    xfa.resolveNode (the "CUSTOMER". Page31_Contracts.Con_Whole_Page.CON_Basic_Info.CON_END_DATE") GLR awValue = null
    endif

    End date must not less than the start date, else CLEAR-end

    I tried to VALIDATE, calculate, change events of END DATE, but nothing works!

    Can pls. Let me Kow how I optimize my requirement? I'm anewbie,

    Thank you

    If you use the exit event, you will likely have the same code on the date fields beginning and end, because they have an addiction to each other. Maybe better try the validate end date event, so that if a field is changed the event is fired. You can try the following to validate the event

    // Pls. note this FormCalc
    // End date should not less than Start date, else CLEAR it - Begin
    
    var stDate
    var endDate
    
    stDate = CON_START_DATE.rawValue
    endDate = $.rawValue
    
    if ( HasValue(endDate) ) then
        if (stDate > endDate) then
            xfa.host.messageBox("End date is lower than Start date! End date is cleared")
            $.rawValue = null
        endif
    endif
    1
    // End date should not less than Start date, else CLEAR it - End
    
  • How to check the account of a column value is less than the other value of column in a table with a single column

    Hello

    Please let me know how to query the table and get the records that are less than the other column.

    ID item_id item_type

    3     1           r1

    2 4 r2

    1 5 r3

    6 5 r4

    I need to get all the lines in which item_id < id

    o/p

    ID item_id item_type

    3     1           r1

    6 5 r4

    SELECT ID, ITEM_ID, ITEM_TYPE

    Of

    WHERE ITEM_ID<>

Maybe you are looking for