Power Builder Interview Question and Answers:
46. 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.
47. 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.
48. 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)
49. What functions do you use to change the row status?
dw_1.SetUpdateStatus()
dw_1.SetItemStatus()
dw_1.GetUpdateStatus()
dw_1.GetItemStatus()
50. 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.
No comments:
Post a Comment