Home » Developer & Programmer » Forms » interview questions
interview questions [message #149251] Wed, 30 November 2005 19:23 Go to next message
oraanu
Messages: 22
Registered: September 2005
Location: Boston
Junior Member
Hi All,
Can anyone give answers to these questions

1. what is the sequence in which the triggers are fired on a form assuming that all the types of triggers are being put on it.

2. another similar question: Assuming we have a shortcut for a from on the desktop, then when the user clicks on it, then after checking the username and password, tell the first three triggers that would fire.

3. Assuming there are 2 seperate forms and on clicking a button (through mouse) in 1st form one is able to open other form. then what would be the first trigger that would fire on opening the 2nd form.

In all these cases would the order of firing of triggers be different or same, if same then why?

4. Assuming we have a trigger at the form level, block level and the item level then in this case we want to change the default order of firing of triggers, how can it be achieved?

Thanks,
Anu
Re: interview questions [message #149266 is a reply to message #149251] Wed, 30 November 2005 22:04 Go to previous messageGo to next message
lochan_411
Messages: 16
Registered: November 2005
Location: India
Junior Member

hi,

1. The sequence of trigger is
pre-form,pre-block,pre-text-item,when-new-form-instance,when-new-block-instance,when-new-item-instancem,when-new-record-instance,post -block,post-text-item

2. on-logon,post-logon,pre-form

3. pre-form

4 Execution Hierarchy property
The following settings are valid for this property:

Override
Specifies that the current trigger fire instead of any trigger by the same name at any higher scope. This is known as "override parent" behavior.
Before
Specifies that the current trigger fire before firing the same trigger at the next-higher scope. This is known as "fire before parent" behavior.
After
Specifies that the current trigger fire after firing the same trigger at the next-higher scope. This is known as "fire after parent" behavior.

Re: interview questions [message #149451 is a reply to message #149251] Thu, 01 December 2005 19:00 Go to previous messageGo to next message
oraanu
Messages: 22
Registered: September 2005
Location: Boston
Junior Member
Thanks alot Lochan
Re: interview questions [message #150059 is a reply to message #149266] Tue, 06 December 2005 02:04 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
1) Are you sure the pre-block and pre-text-item fire before the WNFI?

2) Post-form of the previous form?

3) What about the navigate triggers?

David

[Updated on: Tue, 06 December 2005 02:07]

Report message to a moderator

Re: interview questions [message #150685 is a reply to message #150059] Fri, 09 December 2005 01:02 Go to previous messageGo to next message
nirmalnarayan
Messages: 261
Registered: April 2005
Location: India
Senior Member
100 % sure, can prove it practically, but there are some people who believes that 'WNFI' triggers even before 'PRE-FORM', i had a job interview, when i gave him the correct sequence he corrected be with the wrong sequence as follows

WNFI, pre-form....
Re: interview questions [message #150905 is a reply to message #150685] Sun, 11 December 2005 23:12 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
True .... "WNFI, pre-form...." is the wrong sequence. 'Pre-form' is PRE form ... talk to any of the people who have used Java (like webutil) and tried to do things in the pre-form. They don't work until you get to the WNFI trigger when the Java bits and pieces are available.

David
Previous Topic: Frm- 40508 (need help.........)
Next Topic: Batch Processing in Forms
Goto Forum:
  


Current Time: Fri Sep 20 07:46:48 CDT 2024