Oops... Last line of code should have been:
string ls_Value
ls_Value = dw_MyDW.Describe("Evaluate('LookupDisplay(" + ls_Column + ")', " + String(ll_Row) + ")")
You need to write your own save as function (there's info in help on how to do it). To get the display value of a DDDW you need to use Describe and Evaluate. Evaluate lets you (as the name implies) evaluate datawindow expressions in PowerScript. Example:
string ls_Column
long ll_Row
// Set...
The installation guide for PB 9 outlines exactly what you have to do. You can view it at www.sybase.com. Follow the links for Support->Product Manuals->PowerBuilder. Open the Installation Guide for PB 9. The info you want is in the section titled "Before using PowerBuilder".
You can get...
GetRow() is always returning 1 because clicking or doubleclicking a heading is not going to cause the current row to change. I don't believe there is any way to do this without displaying detail rows.
Using a rich text edit control just to display part of a line of static text as bold seems a bit excessive. I don't know of any way to accomplish this with a single static text control since static text controls are pretty "dumb".
One option would be to use multiple static text controls with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.