LANGUAGES | POWER BUILDER | POWER BUILDER INTERVIEW QUESTION AND ANSWERS - 16

Power Builder Interview Question and Answers:

76.     How to execute the ancestor event’s script from the decendent’s event?
      We can use CALL SUPER::EVENT_NAME

77.     Can we have Global and Local/Instance variable with the same name?
      YES.
This.var_1 = 100 //Instance Variable.
var_1 = 100 //Local Variable.
::var_1 = 100 //Global Variable.

78.     Explain Computed Column
      Computed clumn is a column that we define as a part of the SELECT statement. This values are calculated by the database and send to the Power Builder.

79.     Explain Computed Field?
      Computed fields are defined in DataWindow bands and Power Builder calculates these values, not the database server.
80.     Explain Post Event()?
      Post Event() will be executed after completing the current script execution. Post Event() executes asychronously. Post Event() scripts are bending in the message queue.

81.     Explain Diffrent levels of attribute method protections?
      Public, Protected, Private, Private Read, Private Write, Protected Read, Protected Write.

82.     How do you pass a value to a window at opening time?
      Use either OpenWithParm() or Open Sheet With Parm().

83.     How many Data Window can share the data from a Data Window?
      There is no limitation.

84.     What is DDE?
      DDE means Dynamic Data Exchange. This technology allows two different applications talk to each other under MS-Windows environment and exchange data between them.

85.     Explain Trigger Event()?
      Trigger Event() executes the specifed event’s script right way. All pre-defined events are defined as enumerated data types under Trigger Event().

Trigger Event() function executes synchronously, the next command after this command will not be executed untill thios command is executed completly.

Return type is :
Return 1 Successfully Executed.
Return -1 Invalid.

No comments:

Post a Comment