Forums before death by AOL, social media and spammers... "We can't have nice things"
|    comp.databases.oracle.server    |    Oracle Sysadmins question their careers    |    44,300 messages    |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
|    Message 42,996 of 44,300    |
|    Robert Klemme to Mladen Gogala    |
|    Re: oracle 8i database trigger - showing    |
|    30 Apr 17 13:37:39    |
      From: shortcutter@googlemail.com              On 28.04.2017 18:50, Mladen Gogala wrote:       > On Thu, 27 Apr 2017 02:55:56 -0700, yemmap16 wrote:              Nothing in particular.              >> On Wednesday, 16 May 2001 02:15:14 UTC+7, Jeanette Weldon wrote:       >>> what I need to do is show an error message on a visual basic form and       >>> force the user to enter a specific field if it is null in certain cases       >>> when the user commits the record. I cannot make the column mandatory       >>> as it must only be populated in certain cases. The user is using a       >>> visual basic form on an oracle 8i database. I do not have access to       >>> the visual basic form source code so I thought I'd try and write an       >>> oracle database trigger.       >>>       >>> below is my database trigger but I get a run-time error against the       >>> RAISE_APPLICATION_ERROR line.       >>>       >>> CREATE OR REPLACE TRIGGER sdc_moa_db_trigger BEFORE INSERT OR UPDATE       >>> OF ae_mode_of attendance ON application_events FOR EACH ROW WHEN       >>> (new.ae_mode_of_attendance       >>> IS NULL AND new.ae_evt_ref_no       >>> != '100')       >>> BEGIN       >>> RAISE_APPLICATION_ERROR(-20000, |
[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]
(c) 1994, bbs@darkrealms.ca