Jump to content
Fivewin Brasil

ANN: "FastReport for [x]Harbour" (FRH) beta, trial


Spirin Sergey

Recommended Posts

  • Replies 161
  • Created
  • Last Reply

Top Posters In This Topic

Hello, dorneles,

citação:

Hello Spirin,

How to filter the content of a field that has no index.

I would filters to not leave ESTOQUE = 0?


id=quote>id=quote>

There are many ways:

1) In object inspector of dataset (shortest):

Fiter -> "ESTOQUE <> 0"

Filtered -> True

2) By script only (longest):

var

CB: Integer;

procedure ItemsAfterOpen(Sender: TfrxComponent);

begin

CallHbFunc('DbSelectArea', ['MYAREA']);

CB := CreateCodeBlock('{||ESTOQUE <> 0}');

CallHbFunc('DbSetFilter', [CB]);

end;

procedure ItemsBeforeClose(Sender: TfrxComponent);

begin

CallHbFunc('DbSelectArea', ['MYAREA']);

CallHbFunc('DbClearFilter');

FreeCodeBlock(CB);

end;

3) If you use SetWorkArea() - method:

// It's Harbour code:

USE MYAREA

SET FILTER TO (ESTOQUE <> 0)

FrPrn:SetWorkArea("BBB", Select("MYAREA"))

FrPrn:DesignReport() //or ShowReport()

Link to comment
Share on other sites

Olá,

Na totalização tentei assim:

[sUM( [iIF( > 35 , , 0 )] )]

Mas dá um erro: Invalid variant operation

Então qual seria a forma correta de usar o IIF() para uma soma condicional?

[]s,

Evandro G. de Paula

Curvelo - MG

evandro@skillnet.com.br (Escr. - na Cidade)

imortal@skillnet.com.br (Res. - na Roça)

FWH 2.6+PellesC+MyMake+xHarbour.org 0.99.5+SqlLib

I PREPARATÓRIO PARA O VI ENCONTRO FIVEWIN - JULHO/2008 - CURVELO - MG

Editado por - evandro on 25/02/2008 14:28:13

Link to comment
Share on other sites

Olá,

Estava com uma chave a mais, a do iif(). Agora funcionou legal. Valeu.

[]s,

Evandro G. de Paula

Curvelo - MG

evandro@skillnet.com.br (Escr. - na Cidade)

imortal@skillnet.com.br (Res. - na Roça)

FWH 2.6+PellesC+MyMake+xHarbour.org 0.99.5+SqlLib

I PREPARATÓRIO PARA O VI ENCONTRO FIVEWIN - JULHO/2008 - CURVELO - MG

Link to comment
Share on other sites

Olá,

citação:3-Quando será liberada a versão final?

3. I think after ~2 week.


id=quote>id=quote>

E aí, Spirin? Como está a versão final? Para quando?

[]s,

Evandro G. de Paula

Curvelo - MG

evandro@skillnet.com.br (Escr. - na Cidade)

imortal@skillnet.com.br (Res. - na Roça)

FWH 2.6+PellesC+MyMake+xHarbour.org 0.99.5+SqlLib

I PREPARATÓRIO PARA O VI ENCONTRO FIVEWIN - JULHO/2008 - CURVELO - MG

Link to comment
Share on other sites

E aí, Spirin? Como está a versão final? Para quando?

[]s,

Hello, Evandro,

Sorry for such delay. The code is ready for release. My only problem is "bureaucratic" :) (a payment scheme). I hope that the release-version will be at next week.

---

Spirin Sergey.

"Paritet Soft" Company.

FRH beta: http://www.paritetsoft.ru/frh.htm

FRAX sales: http://www.hotsoft.ru/ALASKA/frax_eng.htm

Link to comment
Share on other sites

Olá,

citação:I hope that release version will be at next week.
id=quote>id=quote>

Só para lembrar que a "next week" já passou.

[]s,

Evandro G. de Paula

Curvelo - MG

evandro@skillnet.com.br (Escr. - na Cidade)

imortal@skillnet.com.br (Res. - na Roça)

FWH 2.6+PellesC+MyMake+xHarbour.org 0.99.5+SqlLib

I PREPARATÓRIO PARA O VI ENCONTRO FIVEWIN - JULHO/2008 - CURVELO - MG

Editado por - evandro on 10/03/2008 10:28:06

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...