Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #10391
| From | "Jamal" <noooospam@example.com> |
|---|---|
| Newsgroups | comp.lang.clipper.visual-objects |
| Subject | Re: RecordGroups sum() |
| Date | 2017-04-06 15:39 -0400 |
| Organization | albasani.net |
| Message-ID | <oc65hu$6or$1@news.albasani.net> (permalink) |
| References | <465fe4bd-fb45-4468-b0ea-e89e47c38d7d@googlegroups.com> |
Paulo,
In the bBrowser 4.0 samples, there is a sample RecordGroups :
_dtwRecordGroups2 module.
Look at the PostInit( ). I think it should give you some ideas. You create
bCodeblock, then set it to GroupHeader.
// something like the following may work. Of course, you will need to update
the code for your situation.
ocbGroupHeader := bCodeblock{" 'Sum ' + SumFieldFunction(Server:YOURFIELD)",
odbsServer}
oRecordGroupLevel:GroupHeader := bRecordGroupHeader{ocbGroupHeader}
I never used it but, I am sure you can figure it out.
Jamal
"Paulo Oliveira" wrote in message
news:465fe4bd-fb45-4468-b0ea-e89e47c38d7d@googlegroups.com...
Hi all,
I need to show the sum of a field in the group header, is it possible? How
to make?
TIA
Paulo Oliveira
Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
RecordGroups sum() Paulo Oliveira <paulofvoliveira@gmail.com> - 2017-04-05 13:40 -0700
Re: RecordGroups sum() "Jamal" <noooospam@example.com> - 2017-04-06 15:39 -0400
Re: RecordGroups sum() Paulo Oliveira <paulofvoliveira@gmail.com> - 2017-04-06 14:13 -0700
Re: RecordGroups sum() "Jamal" <noooospam@example.com> - 2017-04-06 17:42 -0400
Re: RecordGroups sum() Paulo Oliveira <paulofvoliveira@gmail.com> - 2017-04-06 14:52 -0700
Re: RecordGroups sum() Paulo Oliveira <paulofvoliveira@gmail.com> - 2017-04-06 15:06 -0700
csiph-web