Connection Information

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

Connection Type

Data view in the DataWindow painter – PB Docs 125 – PowerBuilder Library

Data view in the DataWindow painter – PB Docs 125

Data view in the DataWindow painter

Description

Specify data to be stored with the DataWindow object. Adding
or deleting data here does not change the data in the database.
It only determines what data will be stored with the DataWindow
object when you save it. When you save the DataWindow object, the
data in the view is stored with it.

The most common reason to store data in a DataWindow object is
for use as a dropdown DataWindow where the data is not coming from
a database. For example, you might want to display a list of state
postal codes for entering values in a State column in a DataWindow
object. You can store those codes in a DataWindow object and use
the DropDownDataWindow edit style for the State column.

Using the view

Adding rows

Click the Insert Row button in the PainterBar to create an empty
row and type a row of data. You can enter as many rows as you want.

Retrieving rows

Click the Retrieve button in the PainterBar to retrieve all the
rows of data from the database. If you want, you can delete rows
you do not want to save or manually add new rows.

Deleting rows

Click the Delete button in the PainterBar to delete unwanted rows.

Sharing data with the Preview view

To see changes you make in the Data view reflected in the
Preview view, select ShareData from the pop-up menu in the Data
view.

Saving the DataWindow object without data

To save the DataWindow object without data, select Delete
All Rows from the pop-up menu in the Data view before saving.

See also


Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x