Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: [ORACLE FORMS] PRE-BLOCK
Bartosz wrote:
> DA Morgan napisał(a):
>
>> Bartosz wrote: >> >>> DA Morgan napisał(a): >>> DO you know what might be wrong? >>> >>>> Don't know what version you have or how you are trying to implement >>>> whatever it is you are doing: So no. >>>> >>>> Does it cost you more to post the trigger? ;-) >>> >>> >>> >>> It is in the PRE-BLOCK trigger and both oracle database and developer >>> suite are the latest available for 9i from Oracle website. >> >> Seriously ... if you are not willing to getting a solution to the >> problem ... don't expect anyone here to donate their time to help >> you. I've done all the dragging and pulling I can.
Thanks for getting the version numbers. Now for the next step ... you have made reference to the PRE-BLOCK trigger. My assumption, and I think a reasonable one, is that you put code there to try to pre-populate one or more text items in the block. Since you say there is no code, and I can't see it even if it exists, let me suggest the following which is how I do it.
Use SET_ITEM_PROPERTY and do so WHEN_NEW_BLOCK_INSTANCE, WHEN_NEW_ITEM_INSTANCE, or WHEN_NEW_RECORD_INSTANCE depending on which does what you need.
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Sat Apr 23 2005 - 12:37:17 CDT
![]() |
![]() |