TRIGGER:
Attributes


ABORTONFAILURE

If the previous trigger call returned any errors then abort running this, or any further triggers (until the next event).

Value(s)

Default Value

true

CONFIRM

When the event has been triggered, a confirmation box will appear that asks whether or not to perform the trigger.

Value(s)

Default Value

false

EVENT

The event is what to catch on. This could be

default
trigger return default value for widget ?
beforepaint
trigger runs before the user interface opens
afterpaint
trigger runs after the user interface opens
click
trigger runs on mouse click, menu item selection
beforesave
when saving a record
afteresave
when saving a record
beforeinsert
when saving new record
aftereupdate
when saving changes to a record
aftereinsert
when saving new record
aftereupdate
when saving changes to a record
emptyrecordset
when the form containd no records
newrecord
when a new record is added
change
value was changed (during editing)
entry
keypress
wherever a key is pressed
exit
select
gridedit
open
unimplemented
close
add
delete
timer
periodic timer event
notify
database notify event
default, change, entry, exit, click, beforepaint, afterpaint, beforesave, aftersave, select, open, close, add or delete. Not all of these have been implimented and clicked and select are the two most commonly used ones.

Value(s)

Default Value

#REQUIRED

KEYPRESS

Value(s)

CDATA

Default Value

#IMPLIED

NOTIFY_TYPE

For triggers on notify events only, this configures the type of notification to respond to. The name of the notification should be specified using the value attribute, which this attribute configures the appropriate source of notifications.

Possible values include

Value(s)

Default Value

local

TIMERINTERVAL

A "timer" trigger event can be set to be called after so much time on a form when its open. timerinterval specifies how many seconds between the trigger beeing activiated. This is useful for windows you want to automatically refresh.

Value(s)

CDATA

Default Value

0

TRANSACTION

if true wrap the livesql in a begin-end transaction

Value(s)

Default Value

false

VALUE

notify value look for in an event="notify" trigger (else unused) notify triggers are useful to refresh 'status' windows etc...

Value(s)

CDATA

Default Value

#IMPLIED
Back to TRIGGER


bond-2.1 DTD