I have a DBF with 2 fields, FSERIE and FNUBER
I have those records:
A 2
A 6
B 1
B 2
B 3
D 1
D 2
I need to filter from B 2 to D 1 so I will have:
B 2
B 3
D 1
But does not work:
- Code: Select all Expand view
- cCondicion := "(FIELD->FSERIE >= " +CHR(34)+cFSERIE1+CHR(34)+ ".AND. FIELD->FNUMBER >= " + AllTrim( Str( nNumb1 ) ) + " ) .AND. " + ;
"(FIELD->FSERIE <= " +CHR(34)+cFSERIE2+CHR(34)+ " .AND. FIELD->FNUMBER <= " + AllTrim( Str( nNumb2 ) )+")"
Please, any clue will be apreciated.
Thanks