Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
Exam
: Sybase 510-306
Title
: PowerBuilder 8.0 Developer
Associate
Version : Demo
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
1. You write a script that uses dot notation to manipulate a DataWindow column property. What is the
behavior when the property name is misspelled? (For example: dw_1.Object.emp_name.Visibl = "0")
A. The script will not compile.
B. The script will compile, but the code in the DBError event will execute at run time.
C. The script will compile, but the code in the Error event for dw_1 will execute at run time.
D. The script will compile, but the code in the ItemError event for dw_1 will execute at run time.
Answer: C
2. Select three examples of script that correctly enable sharing of data among three DataWindows: the
primary DataWindow that contains the data (dw_primary), and two secondary DataWindows that will
display the same data (dw_secondary1 and dw_secondary2).
A. dw_primary.SetTransObject(SQLCA)
dw_primary.Retrieve( )
dw_primary.ShareData( dw_secondary1 )
dw_primary.ShareData( dw_secondary2 )
B. dw_primary.SetTransObject(SQLCA)
dw_primary.ShareData( dw_secondary1 )
dw_secondary1.ShareData( dw_secondary2 )
dw_primary.Retrieve( )
C. dw_primary.SetTransObject(SQLCA)
dw_primary.ShareData( dw_secondary1 )
dw_primary.ShareData( dw_secondary2 )
dw_primary.Retrieve( )
D. dw_primary.SetTransObject(SQLCA)
dw_primary.Retrieve( )
dw_secondary1.ShareData( dw_primary )
dw_secondary2.ShareData( dw_primary )
Answer: ABC
3. In a DataWindow control, if the user clicks on a row other than the current row, which event should be
Exam1pass
Easiest way to pass IT exams
Exam1pass Help You Pass Any IT Exam
http://www.exam1pass.com
used to determine both the current row and the new row?
A. RowChanged
B. ItemChanged
C. RowFocusChanged
D. ItemFocusChanged
E. RowFocusChanging
Answer: E
4. Which painter is used to associate a datawindow object with a datawindow