FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Problem with Xbrowse and SQL Server
Posts: 28
Joined: Mon Apr 27, 2009 03:37 PM
Problem with Xbrowse and SQL Server
Posted: Tue Aug 17, 2010 02:30 PM

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

Posts: 28
Joined: Mon Apr 27, 2009 03:37 PM
Re: Problem with Xbrowse and SQL Server
Posted: Tue Aug 17, 2010 02:46 PM

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

Posts: 28
Joined: Mon Apr 27, 2009 03:37 PM
Re: Problem with Xbrowse and SQL Server
Posted: Wed Aug 18, 2010 09:44 AM

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

Continue the discussion