Intercepting DBmessages

Questions and answers on designing your Servoy solutions, database modelling and other 'how do I do this' that don't fit in any of the other categories

Intercepting DBmessages

Postby Odysseus » Wed Jul 28, 2004 5:10 pm

What would be the best place to put a getLastDatabaseMessage handler when I want to prevent the standard alert window from popping up ?

I added a check constraint to a table definition which is working fine. (It pops up in servoy complaining a record is not unique) However for my endusers the message is far to complicated, so I want to intercept it and replace it with my own dialog box (and do a rollback after)

THX
Odysseus

Citizen of Old Europe
Odysseus
 
Posts: 205
Joined: Wed Sep 10, 2003 9:34 pm
Location: Belgium

Return to Programming with Servoy

Who is online

Users browsing this forum: No registered users and 26 guests

cron