PowerBuilder Interview Question and Answers

46. What functions do you use to change the row status?
  dw_1.SetUpdateStatus()
dw_1.SetItemStatus()
dw_1.GetUpdateStatus()
dw_1.GetItemStatus()
 
Your Name Your Email-ID
Your Answer
47. How do you stop the user from editing data that is displayed in a field of a DataWindow?
  Change the tab value of the field to zero in the DataWindow painter.
 
Your Name Your Email-ID
Your Answer
48. In order to sort the contents of a DataWindow, two commands must be used. What are they and what does each do?
  SetSort() and Sort().
SetSort() defines the sort criteria (primary, secondary sort files - ascending or descending order, etc.).
Sort() performs the actual sort.
 
Your Name Your Email-ID
Your Answer
49. What is the difference between computed columns and computed fields in a DataWindow object?
  Computed columns are created as a result of a SQL query on the server side.
Computed fieldsas a result of internal processing by DataWindow on the client side.
 
Your Name Your Email-ID
Your Answer
50. When you implement incremental search, there is no Current row, so how do you highlight the row you are looking for?
  SelectRow()
ll_row = Find()
if ll_row > 0 then SelectRow (ll_row)
 
Your Name Your Email-ID
Your Answer