Working with a DataStore – PB Docs 126

Working with a DataStore

To use a DataStore, you first need to create an instance of
the DataStore object in a script and assign the DataWindow object
to the DataStore. Then, if the DataStore is intended to retrieve
data, you need to set the transaction object for the DataStore.
Once these setup steps have been performed, you can retrieve data
into the DataStore, share data with another DataStore or DataWindow control,
or perform other processing.


The following script uses a DataStore to retrieve data from
the database. First it instantiates the DataStore object and assigns
a DataWindow object to the DataStore. Then it sets the transaction
object and retrieves data into the DataStore:

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Notify of
Inline Feedbacks
View all comments
Would love your thoughts, please comment.x