Zuleica,

Eu tamb�m pensei numa solu��o parecida para os subtotais, s� complementaria
com uma Split Window no final da Tabela para armazenar os totais assim:
SAM_Create (da child table)
     Call SalTblDefineSplitWindow ( hWndTable, nRowsLowerHalf, bDragAdjust
)
     ! Onde nRowsLowerHalf = 1 linha; bDragAdjust = FALSE (para n�o
permitir ajuste manual pelo usu�rio)

E depois de popular a tabela usaria a fun��o SalTblColumnSum ( hWndTbl,
nColumnID, nFlagsOn, nFlagsOff ) para somar as colunas e linha que
desejasse.

Sds
Fabiano Reis
WestLB - Banco Europeu



                                                                                       
                       
                                                                                       
                       
                                                                                       
                       
          Get�lio <[EMAIL PROTECTED]>                                              
                       
                                                                                       
                       
          Sent by: [EMAIL PROTECTED]                                         
                       
                                                                                       
                       
                                                                                       
                       
          05/02/02 08:25                                                               
                       
                                                                                       
                       
                                                                                       
                       
          Please respond to sqlwin                                                     
                       
                                                                                       
                       
                                                                                       
                       
                                                                                       
                       
                                                                                       
                       


To:   [EMAIL PROTECTED]
cc:
Subject:                   Re: [sqlwin] Total em Child Table


Zuleica,
eu faria do seguinte modo:
Criar vari�veis para totais. No evento SAM_FetchRowDone ir acumulando.
Quando a child estiver populada(ou em cada quebra, para subtotais) inserir
os (sub)totais (SalTblInsertRow ( hWndTbl, TBL_MaxRow )). Ou antes de
inserir essa(s) linha(s), inserir uma com os t�tulos (subtotal, total).
Esse � modo que eu faria.
Get�lio.

Zuleica Lopes wrote:

gostaria de saber se tem como ter uma linha� de total e subtotal dentro de
uma child table.

Ex.: Tenho uma child com uma coluna de datas (JAN/2001, FEV/2001,...)� e
v�rias colunas e linhas de valores para cada m�s. Gostaria de ter uma linha
com o subtotal por m�s e outra com o total geral de cada m�s. Tem como
fazer isso dentro da Child????



Yahoo! GeoCities
Tenha seu lugar na Web. Construa hoje mesmo sua home page no Yahoo!
GeoCities. � f�cil e gr�tis!





********************************************************************
********************************************************************
Diese Nachricht ist vertraulich. Sie ist ausschliesslich fuer
den im Adressfeld ausgewiesenen Adressaten bestimmt.
Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten
wir um eine kurze Nachricht. Jede unbefugte Weiterleitung
oder Fertigung einer Kopie ist unzulaessig. Da wir nicht die
Echtheit oder Vollstaendigkeit der in dieser Nachricht
enthaltenen Informationen garantieren koennen, schliessen wir
die rechtliche Verbindlichkeit der vorstehenden Erklaerungen
und Aeusserungen aus. Wir verweisen in diesem Zusammenhang
auch auf die  fuer die Bank geltenden Regelungen ueber die
Verbindlichkeit von Willenserklaerungen mit verpflichtendem
Inhalt, die in den bankueblichen Unterschriftenverzeichnissen
bekannt gemacht werden.

This message is confidential and may be privileged. It is
intended solely for the named  addressee. If you are not the
intended recipient please inform us. Any unauthorised
dissemination, distribution or copying hereof is prohibited.
As we cannot guarantee the  genuineness or completeness of
the information contained in this message, the statements
set forth above are not legally binding. In connection
therewith, we also refer to the governing regulations of
WestLB concerning signatory authority published in the
standard bank signature lists with regard to the legally
binding effect of statements made with the intent to
obligate WestLB.
********************************************************************
********************************************************************

=============================================Lista de Centura SQLWindows
Administrador : [EMAIL PROTECTED]
[ http://www.centuraexplorer.com ]
Para sair desta lista mande mensagem para:
[EMAIL PROTECTED] sem nada no Subject e
com o comando a seguir no corpo da msg:
"unsubscribe sqlwin" (sem as aspas)
=============================================

Responder a