| Home | Previous Lesson: Course 3:: Session 24 :: Page 380 Next Lesson: Course 3:: Session 24 :: Page 400 |
| Checking the
"Required Columns" Service As explained in the Advanced DataWindows session, you can set a column as a "value required" column. That means, when the column gets focus, user cant tab out of the column unless he enters a value in the column. However, if the user dont go into that column at all, then, PowerBuilder is not going to force the user for the value. One good thing is that, you can call FindRequired() function to check columns that needs a value but has no value, before you save the changes in the database. If you would like to use the PFC service instead of calling FindRequired(), first you need to turn on the service: dw_product.of_SetReqColumn( TRUE ) To do the actual check call the following function. dw_product.of_CheckRequired(
Primary!, ll_Row, ll_Col, &
|
| Home | Previous Lesson: Course 3:: Session 24 :: Page 380 Next Lesson: Course 3:: Session 24 :: Page 400 |