error : Set_Block_Property

From: David <snapkad_at_post.cz>
Date: Wed, 14 Feb 2001 12:34:21 +0100
Message-ID: <3a8a6d75_at_news.cvut.cz>


I run Forms 6i patch 1

Does anyone know why Set_Block_Property raise an application error in my Form ?

I want to set block property CURRENT_ROW_BACKGROUND_COLOR on when-new-form-instance trigger



*

declare
blk_id Block;
begin
blk_id := Find_Block('VYBER');

Set_Block_Property(blk_id,CURRENT_ROW_BACKGROUND_COLOR,'green');

end;



*

I can't run this form at all and dump file ifrun60_dump_-81004393 is :

[02/14/01 11:46:52 Støední Evropa (bì¾ný èas)]::Client Status [ConnId=0, PID=-81004393]
>> ERROR: Abnormal termination, Error Code: C0000005 ACCESS_VIOLATION

  • STACK DUMP =======================
Fault address: 6021AFE3 01:00019FE3
Module: C:\ORAWIN95\BIN\CORE40.DLL

System Information:
Operating System: Windows 98 Version 4.10 Build 2222 A Command line: IFDBG60 -SsL09_at_
FORM/BLOCK/FIELD: PEP0340I:ZADANI.ID_SML Last Trigger: WHEN-NEW-FORM-INSTANCE - (In Progress) Msg: <NULL>
Last Builtin: SET_BLOCK_PROPERTY - (In Progress)

Registers:

EAX:00000000
EBX:00000000
ECX:00000000
EDX:00000000
ESI:00000004
EDI:00000002
CS:EIP:0167:6021AFE3

SS:ESP:016F:0082C864 EBP:0082C8A8
DS:016F ES:016F FS:8C7F GS:0000
Flags:00010246

Call stack:
Address Frame
6021AFE3 0082C8A8 lnxsni



*

Thanx for any help

David Received on Wed Feb 14 2001 - 12:34:21 CET

Original text of this message