In my January article in PBDJ (Vol. 7, issue 1) I covered the basics of the
Web DataWindow and we ended the article with the home page. We'll now move on
to the employee page.
The Employee Page
The employee page is going to use two DataWindows: one that displays some
department details, another that displays a simple list of employees for a
given department. For the department detail DataWin-dow create a tabular
DataWindow that retrieves the dept_id, dept_name and dept_head_id from the
department table. Specify a retrieval argument for dept_id and use that in
the where clause (try department 100 when retrieving). Zero out the tab order
for all columns so they are uneditable. Save the DataWindow as
"d_department_detail".
For the employee DataWindow create a grid DataWind... (more)
You stumble on a bug in your application. In order to troubleshoot it you
need to see the raw data inside your DataWindow but the columns you need
aren't visible. ... You open a window in your application, and even though
you don't change any of its data it still prompts you to save when closing.
What has changed? ... A drop-down DataWindow isn't displaying the right
values at runtime, b... (more)
You stumble on a bug in your application. In order to troubleshoot it you
need to see the raw data inside your DataWindow but the columns you need
aren't visible. ... You open a window in your application, and even though
you don't change any of its data it still prompts you to save when closing.
What has changed? ... A drop-down DataWindow isn't displaying the right
values at runtime, b... (more)
A lot of hoopla has surrounded the Web DataWindow, and it's actually well
deserved. Not so long ago PowerBuilder critics claimed that PB would never
make it to the Web because it was designed mainly for building client/server
applications. I had my own doubts back then, but with the Web DataWindow much
of the power of PowerBuilder is now available on the Web. This allows PB
developers to... (more)
In my January article in PBDJ (Vol. 7, issue 1) I covered the basics of the
Web DataWindow and we ended the article with the home page. We'll now move on
to the employee page.
The Employee Page
The employee page is going to use two DataWindows: one that displays some
department details, another that displays a simple list of employees for a
given department. For the department detail Data... (more)