Problem with Xbrowse and SQL Server

Post Reply
Gary Woodley
Posts: 28
Joined: Mon Apr 27, 2009 3:37 pm
Location: Oxford UK

Problem with Xbrowse and SQL Server

Post by Gary Woodley »

Hi,

We are having problems using the June 2010 xbrowse woth SQL Server, which did not happen with the previous version of FiveWin or when usind DBF's. When you left click on an item in the list, the selection jumps to the top of the list, hiding all the items above it. We have tried adding an older xBrowse.prg to the compile and the problem is fixed.
Any ideas?

Gary
Gary Woodley
Posts: 28
Joined: Mon Apr 27, 2009 3:37 pm
Location: Oxford UK

Re: Problem with Xbrowse and SQL Server

Post by Gary Woodley »

Have done some more test and the problem seems to be with the line ::Skip( nRowPos - ::nRowSel ) in the LButtonDown method of Xbrowse (Line 3075).

Regards

Gary
Gary Woodley
Posts: 28
Joined: Mon Apr 27, 2009 3:37 pm
Location: Oxford UK

Re: Problem with Xbrowse and SQL Server

Post by Gary Woodley »

Hi,

Have also found problems with setting relationships using xHarbour SQLRDD to display data in XBrowse.

ROUTMAST->(DBSETRELATION( "RENTAL", {|| ROUTMAST->AGREE},
"ROUTMAST->AGREE" ))
RENTAL->(DBSETRELATION( "CUSTOMER", {|| RENTAL->RENT_ACCNB},
"RENTAL->RENT_ACCNB"))

The first relation works but the second one does not. Again when we go back to using an older version of XBrowse the problem is solved.

Has anyone else had issues using FiveWin and xHarbour SQLPDD?

Regards

Gary
Post Reply