Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

vertical scrollbar missing on dddw on windows 7

Status
Not open for further replies.

dfaulkner

Programmer
Mar 23, 2010
3
US
Powerbuilder 6.5 build 444
SQL server 2000
Windows 7

When running on windows 7 box, the vertical scrollbar is missing from the dddw on the tabpage. If the SQL goes against sqlserver, the vertical scrollbar works fine. However, the SQL in the datawindow goes against the AS400 database. The data is retrieved fine, but the vertical scrollbar is missing. I have tried setting it again thru script and it works according to the return code, but still not scrollbar.

Everything worked fine on prior versions of windows.

Any suggestions, would be much appreciated.

Thanks,
Denise Faulkner
 
the only diference is the database connection?
have been working with 6.5.1 and openclient as-400 odbc but never had this problem. (just thinking ... : might there be a diference with sqlca.sqlnrows after doing retrieve(), between sqlserver and as-400? and if so .. used by powerbuilder some way to show vscroll???)

First of all, you should upgrade (patches/EBF's) to "6.5.1", which is the only good version of powerbuilder 6 !
then try again.

quote: "I have tried setting it again thru script and it works according to the return code"
What returncode? How are you trying to make the vscrollbar visible? Should you not simply do (try this code):
------------------
dw retrieveEnd event:
-----------------
this.vscrollbar = true
this.setredraw(true) // just incase ...

if doesn't work: try to play with 'firstrowOnPage', 'lastRowOnPage', FirstVisibleRow, LastVisibleRow and see if you get correct values (use the Modify() function to obtain previous values).

Hope it helps


regards,
Miguel L.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top