Powerbuilder Interview Questions Part 7

Powerbuilder Interview Questions Part 7 Question 1 What is the difference between SetTrans() and SetTransObject()? Answer In simple terms, SetTrans() gives you no control on the transactions. It automatically connects to and disconnects from the database after each Retrieve() and Update() function. It is useful when the number of connections …. Continue Reading »

Multiple-Choice Questions About Powerbuilder Part 6

Multiple-Choice Questions About Powerbuilder Question: 501 Which PB command can exit the current loop? Answer exit break continue stop Question: 502 Which Powerbuilder variable type can receive oracle sysdate? Answer String Time Datetime Date Question: 503 Which is the answer of the program?  string ls_a[]  messagebox(”,upperbound(ls_a)) messagebox(”,lowerbound(ls_a)) Answer Both messageboxes …. Continue Reading »

Multiple-Choice Questions About Powerbuilder Part 5

Multiple-Choice Questions About Powerbuilder Question: 401 Insert a groupbox(gb_1) in the tab’s(tab_1) tabpage(tabpage_1),and insert a datawindow in the groupbox(gb_1),which is datawindow’s(dw_1) path? Answer Dw_1 tabpage_1.dw_1 tab_1.tabpage_1.gb_1.dw_1 tab_1.tabpage_1.dw_1 Question: 402 How to get DataWindow column count ? Answer Integer(This.Object.Column) Integer(This.Object.DataWindow.Column) Integer(This.Object.DataWindow.Column.Count) Integer(This.Object.Column.Count) Question: 403 What properties are changing the size of …. Continue Reading »

Multiple-Choice Questions About Powerbuilder Part 3

Multiple-Choice Questions About Powerbuilder Question: 201 Which of the following are advantages of using the Modify method over dot notation?  Answer Modification of properties in nested DataWindows is allowed. The control and property to be modified can be expressed programmatically Invalid references to DataWindow objects generate compiler versus runtime errors. …. Continue Reading »

Multiple-Choice Questions About Powerbuilder Part 2

Multiple-Choice Questions About Powerbuilder Question: 101 How do you manipulate .INI file through PowerBuilder functions ? Answer Fileread() ProfileInt() SetProfileString() ProfileString( ) Question: 102 Which command/function will blank out a DataWindow? Answer ClearValues() Reset() ResetTransObject ( ) DeleteRow() Question: 103 Use Idle() function in Pb Scripts will be? Answer PowerBuilder …. Continue Reading »