tagEventReason

ACCPAC Common Controls

tagEventReason

Specifies the reason an event was fired.

Name

Value

Description

RSN_INIT

0

Init, RecordClear, or RecordGenerate was called.

RSN_ADDNEW

1

Insert or RecordGenerate was called.

RSN_DELETE

2

Delete was called.

RSN_FETCH

3

Fetch or FilterFetch was called.

RSN_FETCHLOCK

4

FetchLock or FilterFetch was called.

RSN_GOTOP

5

GoTop was called.

RSN_GOBOTTOM

6

GoBottom was called.

RSN_FIELDCHANGE

7

Field value has changed.

RSN_READ

8

Read was called.

RSN_GONEXT

9

GoNext was called.

RSN_BLKPUT

10

BlkPut was called.

RSN_GOTOBOOKMARK

11

GotoBookMark or GotoRecordNumber was called.

RSN_READLOCK

12

ReadLock was called.

RSN_GOPREV

13

GoPrev was called.

RSN_UPDATE

14

Update was called.

RSN_REFRESH

15

Field values might have changed. Event handlers should refresh the values they are interested in.

RSN_CANCEL

16

Cancel or RevisionCancel was called.

RSN_REFRESH_RECNOTFOUND

17 (&H11)

Navigation methods couldn't scroll to another record.

RSN_POST

18 (&H12)

Post or RevisionPost was called.

RSN_FILTERDELETE

19 (&H13)

FilterDelete was called.

RSN_TABLEEMPTY

20 (&H14)

TableEmpty was called.

RSN_PROCESS

21 (&H15)

Process was called.