Page 1 of 1

Problem with Xbrowse and SQL Server

Posted: Tue Aug 17, 2010 2:30 pm
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

Re: Problem with Xbrowse and SQL Server

Posted: Tue Aug 17, 2010 2:46 pm
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

Re: Problem with Xbrowse and SQL Server

Posted: Wed Aug 18, 2010 9:44 am
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