It's still a long time to go, but the Call for Papers for the next UKOUG conference (30/11 - 2/12 in Birmingham) just opened. You can submit an abstract before June 5 (look here). I have been there twice and I can recommend this conference!
If you run your APEX application - like a Form based on the EMP table - and test if you can change the value of Department to something else then the standard values of 10, 20, 30 or 40, you'll get a nice error message like this: But it isn't really nice, is it? So what do a lot of developers do? They create a validation (just) in order to show a nicer, better worded, error message like "This is not a valid department". And what you then just did is writing code twice : Once in the database as a (foreign key) check constraint and once as a sql statement in your validation. And we all know : writing code twice is usually not a good idea - and executing the same query twice is not enhancing your performance! So how can we transform that ugly error message into something nice? By combining two APEX features: the Error Handling Function and the Text Messages! Start with copying the example of an Error Handling Function from the APEX documentation. Create this function ...
Comments
thanks for posting this reminder!
Cheers,
Flavio
am i misinterpreting the text or this conference is aimed at e-business suite only?
It's Technology & E-Business Suite 2009. So no Siebel, Peoplesoft, Hyperion, (Sun), etc. Just the 'good old original stuff'.