APEX 4 Multiple Validation on one Item - Stop after single Failure

Hi
I'm trying out the fantastic new features of APEX 4 - Well done to the APEX team!!
Using page item validation, I've applied three validations ('cos that's how I think it works) to a page item.
1. Check if the value entered is numeric
2. Check if the value of the item is less than a stipulated minimum
3. Check if the value of the item is greater than the stipulated maximum
This works fine if the value entered is a number, and the min and max validations correctly return the message that the value is too small or large respectively.
But if I enter some text (non numeric), the the first validation correctly identifies that the value is not numeric, but I then get an ORA sql error complaining that the sql comparison of the value and the stipulated minimum fails - because the value entered is not numeric.
Is there any way of halting the validation process (i.e. skip validations 2 and 3) if number one fails?
Does this in any way relate to the validation option "AlwaysExecute"?
Thanks
Mike

Hi Mike,
you can set the condition at validation 2 and 3 to "don't execute when there are already inline errors".
brgds,
Peter
Blog: http://www.oracle-and-apex.com
ApexLib: http://apexlib.oracleapex.info
Work: http://www.click-click.at
Training: http://www.click-click.at/apex-4-0-workshops

Similar Messages

  • Allow for more than ONE item in a single row?

    Allow for more than ONE item in a single row? I can't use this wonderful program unless I can get more than one field on a row (i.e. 1st name, mi, last name etc)

    Thanks for your feedback. This is something we definetely want to provide next year (can't say when yet).
    If others are interested in this feature please vote on it within the idea tab: http://forums.adobe.com/ideas/1046
    That helps us prioritize our work based on customer demand.
    Randy

  • One song stops after a few seconds on a new ipod touch, need some help

    So I just got a 16gb iPod Touch as a gift and it works fine, all my songs play fine except for one of my songs that stops after like 7 seconds of playing. If I have it on repeat it will keep doing the same thing but if I forward the song a bit it will play fine till the end. Now this song plays fine on my PC, and it has played fine on my previous iPod video. Any one have any idea on why this is happening? It's kinda scaring me since I don't have the receipt for this iPod Touch and thats one of my favorite songs.

    I had the same problem with one particular track I downloaded off Limewire earlier today and I've downloaded lotsa stuff on there over the years. I guess I'm fortunate compared to some of you with like 10 songs affected.
    Anyways a little troubleshooting helps here. First off, it shouldn't be happening with any track downloaded off iTunes. Those are clean as a whistle in my experiences although iPod touch had some bug issues with songs stopping few seconds into them when they first came out last year. That problem appears to have been rectified unless you guys haven't done an update lately on your units.
    So if you're downloading off Limewire or some other peer-to-peer service, you're probably getting a corrupted file that is causing this problem. I tried a couple different file downloads of the same song from different users and parameters until I found one that finally worked. It is true that a corrupted file will play on the older iPods because in my case it did on my 80GB and on my computer. It's only iPod touch that appears finicky about what it wants to play.
    This is most likely therefore not a bug specific issue with Apple that you can rely on fix. You guys are probably gonna have to find new source files for your affected songs until you get one that works. Pain in the arse no doubt but the only real solution.
    Cheers!

  • HOW DO I PRINT MULTIPLE COPIES OF ONE PHOTO ON A SINGLE PAGE?

    Since Apple has not made this feature available, I am not able to print multiple copies of a single photo on one page. HELP suggested I download Portraits and Prints which I could use for free. However, I have downloaded this and note that DEMO watermark will appear on all photos unless I purchase the program. Is there a way to print without the DEMO watermark using this program or is there another free program that will allow me to print multiple copies of a single photo on a single page? Please help as I have spent 2 hours on the phone with Apple and it has gotten me no closer to a solution - something I could easily have done on the older versions of I Photo. Thanks!

    Sadly, I have no pull down menu when I click on Customize or settings? I am using IPhoto 08 vers. 7.0.1. I was told by Apple HELP that this feature is not yet available, even though the instructions say to do exactly what you have said. But there is no pull down menu and no option to print multiple photos. It says print a single photo and it is clicked and I cannot unclick it. Any help would be appreciated. Do you actually have a pull down menu with Print Multiple Copies of One Photo as an option? What version of IPhoto provides this? Apple seems to think it is not available and it certainly isn't available on my system. Any help will be appreciated. Thanks.

  • How to display multiple columns under one item

    Hi
    i have one page in that page person having 4 (multipul) phone number
    i need to desplay under the item these phone numbers
    so witch item style i need take
    please tell me

    Hi,
    Create a stack Layout in advance table and under that stack layout create four messagesStyledTexts to show different numbers.
    Thanks,
    Gaurav

  • ITunes:  How can multiple accounts on one iMac share a single iTunes library?

    I have a single iMac with multiple user accounts.  How can I share a single itunes music library with all users?
    Thanks for your input!!

    how to share music between different accounts on a single computer

  • Multiple instances of one application in a single vm

    Hi
    At work we use a database client called SAP, for timesheet, maintenance logs etc.
    To access this application (SAP) we need to use computers on a domain, which we are charged $6000 yearly per. computer.
    To reduce this cost, we want to set up a server running windows server 2012 (for centralized storage, web applications etc), with a virtual machine running windows 7, that is part of the domain, and having access to SAP.
    What we then would need is the ability to remotely log on to the virtual machine and run SAP, easy enough..
    But the problem is that we are 15 people who need to do this at the same time.
    Is this possible? And is Hyper-V the right way to go?
    The server will be running with two network adapters, one for the office network, and one for the virtual machine which connects it with the domain.

    Hyper-V won't allow you to get out of paying your per use licensing.
    You will need 15 licenses of Windows installed in Hyper-V as well as SAP.

  • Production Order - How to recieve more than one item in a single Prod .ord

    Hello everyone ,
            Hope and wish all is fine with u all ..
    Well .. My scenario is as follows ..
    While producing a particular item ( Item1) using the raw materials (say R1,R2 etc..) ..we also get another by-product ,(item2) which is also a revenue generating item.
    I want to know  , how do we do a receipt for this item ( item2 )  ...
    I did read the forum thread posted on 12/12/07 " Receiving By Products on basis of Production order "
    what I dont understand is , if we add it as a raw material in the BOM and then how or why do we issue it ..
    and if we are goin to issue it ,,then when how  will u update that inventory... I dont know if  scenario in the thread (backflush )  is the right way to do it ..
    Thanks in advance
    Best Regards,
    Arul...

    Arul,
    I beleive this is case of using the functionality of Disassembly Production order. Now your Item no. 1 is a BOM of say RM1RM2RM3. The goods receipt would be Item No.1. Now you can create a disassembly production order where in the by product would be say Item no. 2 which is as as per your information a revenue generating item hence to be marked as a sales item in the Item master.
    Please check this out and let me know.
    Nagesh.

  • Inserting values into multiple tables in one jsf page with single commit op

    hi all,
    i have two tables ,
    one is parent table and other is child record.
    record details:
    table1:(parent table)
    emplid (primary key)
    empl_name
    table 2:(child table)
    empl id ( Foreign key)
    empl_name ( Foreign key)
    contact_no (primary key)
    my senario is , i need insert values into both parent and child table in one save option.
    and both the tables will be in one jsf page.
    is this possible to do?
    thanks all,
    regards,
    M vijayalakshmi

    hi,
    i feel my question is not clear.
    let me explain my question clearly.
    1. i have two records
    *1. emp_names*
    attributes of this table is 1.emplid
    2.emp_name.
    emplid is a primary key.
    2. emp_contact
    attributes of this table is 1.emplid
    2. contact_no
    In this table emplid is forigen key from emp_name table
    contact_no is primary key.
    and my senerio is,
    for one emplid there are many contact no.
    in database diagram i have created these two entities. and from that i have generated two views objects.
    now in jsf page ,
    i shd have all fields from both the records.
    wn ever i click on add button , i shd be able to insert one complete row of data to both the tables.
    means,
    emplid
    empl_name
    contact_no.
    and if i click on commit button data shd be insert in both the tables.
    so how to achive this?
    am very beginner to the jdeveloper tool.
    regards,
    m vijayalakshmi.

  • Multiple Joins from one Dimension Table to single Fact table

    Hi all,
    I have a single fact table with attributes as such:
    Action_ID
    Action_Type
    Date_Started
    Date_Completed
    and a Time Dimension to connect to the fact table. Currently the 2 Date columns in my fact table are in the format of 20090101 (which is the same as my key in the time dimension), if it means anything. I've tried to create multiple joins but have been getting error messages. What is the easiest way to link the time dimension with the two date columns in my fact table? Thanks.

    hi..
    it seems to be, you need to use between operator to join time dimension with fact (i.e. Non-equi join)
    If it's then you should create complex join in physical layer by connecting dimension with your fact.
    select columns and operators in such a way that it resembles something like the below.
    timeDimension.timeKey BETWEEN FactTable.Date_Started AND FactTable.Date_Completed

  • Validity periods for Item Conditions - Purchasing Agreements

    hi,
    For Agreements (Purchasing) we are looking for creating  multiple validity periods for item conditions. We cannot use BTCI for transaction ME31K as it does not allow to create multiple validity periods at one time!
    Are there any BAPIs for the same? Is there any other way??
    Thanks in advance.
    regards,
    NB

    Hi
    Working with eCATT (Extended Computer Aided Test Tool)
    Try this.
    http://www.erpgenie.com/ecatt/
    Thanks
    Ashok

  • Ability to view multiple files in ONE window

    I can see here that this is not a new topic really but the thing with Acrobat 9 is so frustrating that it is just unbelievable.
    This is another pearl:
    Acrobat 9 "lost" its predecessors ability to view multiple files in ONE window. After opening four only documents I cannot see anything on the screen because the toolbars on each individual window cover all necessary view and nothing is left for the actual document. And sometimes I need to open 20 documents!
    This is ABSOLUTE DISASTER!!!
    I found some explanations from Adobe on the Web that are more than a year old.
    I was sure that by now this unfortunate mishandling of that feature (apparently it was dropped out from A9 deliberately - WHO'S IDEA WAS THAT?) would be somehow restorable.
    Would anyone happen to know if this feature can get restored to how it was working in A7 or 8 (without the need to uninstall A9 and install A8)?

    No, it can't be restored, unless Adobe decides to change the way Acrobat works (which is possible, but not likely).
    By the way, it was Microsoft's idea... Adobe were just following their example on this.
    You can make a feature request here: https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform

  • Is it possible to query multiple items in a single OPC read?

    I am trying to read several data items at one time via OPC. Is this possible? If so, how? I have tried passing multiple URLs to specific items and a single URL header with multiple variable names. Both methods return an OPC error about invalid items. I am trying to do this to speed up OPC access times. Reading each item one-at-a-time is a little time consuming for our application.

    The only way to read multiple datapoints via OPC is to build an OPC item that contains multiple pieces of information. I checked this here, and I had no problem reading an array of data from an OPC Server with DataSocket.
    I read the "opc:/Matrikon.OPC.Simulation/Random.ArrayOfReal8" data item from a Matrikon OPC Simulation Server that publishes an array data item. The OPC Demo server is available for free download at http://www.matrikon.com/opc/htdocs/simx.htm. You can read this as an array of doubles in LabVIEW.
    For your application all you will need to read your data multiple items at a time is a server that can publish arrays.
    Hope this helps.

  • How do I apply one same transition to multiple slides in one go?

    How do I apply one same transition to multiple slides in one go?

    After you have done either of the previous options to get the transition on the current slides, you can add the transition to the Master Slide so all your new slides will default to the same transition.

  • TM stops after 170 KB, TM prepares for ages, TM stops with error

    Here's another one:
    TM stops after 170 KB, TM prepares for ages, TM stops with error
    I've had it all - after some successful backups. Now I can't make any; error messages ("could not complete because an error has occurred" - thank you very much, Apple, for that most helpful explanation).
    Apple turns us all into beta testers! Another product that is shipped long before it's ready due to marketing strategies - and customers are the idiots.
    I agree: +Don't use TM!+

    I had a very similar problem a few months ago. I spent several days troubleshooting it. Try disabling TM and see if the Finder stops freezing. You might need to wait two or three days to find out. Then try disconnecting your external disk drives and see what happens after another two or three days. I traced my problem back to a Western Digital external disk drive, so I contacted Western Digital via their web site. The next day, they emailed me directions on how to update the disk drive's firmware. I did the update and the problem went away.

Maybe you are looking for

  • Can Thunderbird be opened to a folder other than inbox.

    We're all pretty much flooded with junk mail. I'm to the point where it would be more effective to open Mozilla to a custom folder (i.e. not inbox) and populate that folder with selected contacts (i.e. not all contacts). Any thoughts? filtering out j

  • Different index used in same code segments

    Hi, I noticed the following peculiar behaviour when trying to troubleshoot the long running time of an ABAP : 1) while doing an SQL trace (ST05) of the long running program, the trace results show that index "A" was being used. 2) when I took that pa

  • How to customize (or remove) the documentviewer toolbar in code (no xml)?

    Hi all, I have a tab control that gets a new tab (with a documentviewer and a button) at runtime as the user selects items from a listbox. There is no xml for the new tabs ( but there is for the tabControl). The new tabs are generated at run time. Af

  • Hyperlinks misbehaving in Firefox

    Last week, when I was having a similar sort of difficulty, I applied a RH patch that fixed a number of issues that were experienced with the TOC in FireFox. Sample TOC Chapter 2 Topic 1 Topic 2 Topic 3 In some other topic, outside of Chapter 2, there

  • Editing room number from ESS application

    Hi, I have a need to allow user to change working room for himself from ESS interface. like through personal data app, an user can edit his title, DOB etc but not sure about room number. Can anybody confirm whether this is possible with standard ESS