Mastering PowerBuilder

HomePrevious Lesson: Instantiating Jaguar CTS Components
Next Lesson: Updating Data via Jaguar CTS Component

Retrieving Data via Jaguar CTS Component

Okay, the application is connected to the Jaguar and created the instance of the required component. Now, let's call of_Retrieve() to retrieve the data and populate dw_product.
Object: w_product_master
Event: ue_retrieve
long ll_rowCount
Blob lbl_data
ll_rowCount = incst_product_master.of_retrieve(lbl_data)
dw_product.SetFullState(lbl_data)
// Error Handling�

We declared a local BLOB variable and called of_Retrieve() and we set the dw_product by calling SetFullState() function.
HomePrevious Lesson: Instantiating Jaguar CTS Components
Next Lesson: Updating Data via Jaguar CTS Component