FWH 8.08 TDatabase bug

FWH 8.08 TDatabase bug

Postby James Bott » Mon Sep 08, 2008 6:40 pm

Antonio,

There is a bug in the new SetFilter method. It is missing ::nArea. It should be:

Code: Select all  Expand view
METHOD SetFilter( cFilter ) CLASS TDataBase

   (::nArea)->(DbSetFilter( Compile( cFilter ), cFilter ) )

return nil


Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA

Postby Antonio Linares » Mon Sep 08, 2008 7:31 pm

James,

Fixed, thanks! :-)
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Wed Sep 10, 2008 8:50 am

I had a error in Method Save() ( FW 8.08 )
I added select(::cAlias) and now works .

METHOD Save() CLASS TDataBase

local n
local lLocked := .f.
//--- My_modi
select(::cAlias)

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm

Postby Antonio Linares » Wed Sep 10, 2008 9:48 am

Maurizio,

This seems to be the right fix. ( ::nArea ) was missing here:
Code: Select all  Expand view
METHOD RecLock( nRecNo ) CLASS TDataBase

   DEFAULT nRecNo := ::RecNo()

return ( ::nArea )->( DbrLock( nRecNo ) )
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42080
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Maurizio » Thu Sep 11, 2008 6:32 am

Thank Antonio
now works

Maurizio
User avatar
Maurizio
 
Posts: 824
Joined: Mon Oct 10, 2005 1:29 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 81 guests