PowerBuilder Interview Question and Answers

76. 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 PowerBuilder.
 
Your Name Your Email-ID
Your Answer
77. Explain Computed Field?
  Computed fields are defined in DataWindow bands and PowerBuilder calculates these values, not the database server.
 
Your Name Your Email-ID
Your Answer
78. How many DataWindow can share the data from a DataWindow?
  There is no limitation.
 
Your Name Your Email-ID
Your Answer
79. 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.
 
Your Name Your Email-ID
Your Answer
80. Explain TriggerEvent()?
  TriggerEvent() executes the specifed event’s script right way. All pre-defined events are defined as enumerated data types under TriggerEvent().

TriggerEvent() 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.
 
Your Name Your Email-ID
Your Answer
81. Explain PostEvent()?
  PostEvent() will be executed after completing the current script execution. PostEvent() executes asychronously. PostEvent() scripts are bending in the message queue.
 
Your Name Your Email-ID
Your Answer
82. Explain Diffrent levels of attribute method protections?
  Public, Protected, Private, PrivateRead, PrivateWrite, ProtectedRead, ProtectedWrite.
 
Your Name Your Email-ID
Your Answer
83. How do you pass a value to a window at opening time?
  Use either OpenWithParm() or OpenSheetWithParm().
 
Your Name Your Email-ID
Your Answer
84. How to execute the ancestor event’s script from the decendent’s event?
  We can use CALL SUPER::EVENT_NAME
 
Your Name Your Email-ID
Your Answer
85. 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.
 
Your Name Your Email-ID
Your Answer