FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour sintax error for a filter
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
sintax error for a filter
Posted: Thu Feb 13, 2025 08:50 PM
I must set a filter on tdatabase

cFilter:= "MARRIED='.T.'"


rror description: Error BASE/1071  Argument error: =
   Args:
     [   1] = L   .T.
     [   2] = C   .T.

Stack Calls
===========
   Called from: .\source\classes\database.prg => (b)COMPILE( 1305 )
he tells me it's wrong why?
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 99
Joined: Thu Jul 12, 2007 02:02 PM
Re: sintax error for a filter
Posted: Fri Feb 14, 2025 10:11 AM
Hi Silvio,

if MARRIED field is logical type
cFilter:= "MARRIED=.T."
Massimo
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: sintax error for a filter
Posted: Fri Feb 14, 2025 10:18 AM
MaxP wrote: Hi Silvio,

if MARRIED field is logical type
cFilter:= "MARRIED=.T."
Massimo
Sorry I found the solution tonight
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com

Continue the discussion