Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #4422 > unrolled thread
| Started by | Paulo Oliveira <paulo@clipinfor.com> |
|---|---|
| First post | 2012-12-03 09:00 -0800 |
| Last post | 2012-12-07 08:26 +0100 |
| Articles | 4 — 3 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
bCheckCollum Sum() Paulo Oliveira <paulo@clipinfor.com> - 2012-12-03 09:00 -0800
Re: bCheckCollum Sum() "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2012-12-04 21:01 +0100
Re: bCheckCollum Sum() Paulo Oliveira <paulo@clipinfor.com> - 2012-12-05 02:06 -0800
Re: bCheckCollum Sum() Joachim Bieler <support@votools.com> - 2012-12-07 08:26 +0100
| From | Paulo Oliveira <paulo@clipinfor.com> |
|---|---|
| Date | 2012-12-03 09:00 -0800 |
| Subject | bCheckCollum Sum() |
| Message-ID | <81aa69ed-1d8d-43d9-beed-e746943482c3@googlegroups.com> |
Hi all, When i check a record using bCheckcollum in bBrowser, i need sum(SOME_FIELD) of the records checked. What is the correct method to do this. TIA Paulo Oliveira
[toc] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2012-12-04 21:01 +0100 |
| Message-ID | <ai7350Fq8jpU1@mid.individual.net> |
| In reply to | #4422 |
Hi Paulo, Have a look to Joachims sample "VirtualColumn" If you do not find the answer there, give us a bit more info what you want to do. regards Urs "Paulo Oliveira" <paulo@clipinfor.com> schrieb im Newsbeitrag news:81aa69ed-1d8d-43d9-beed-e746943482c3@googlegroups.com... > Hi all, > > When i check a record using bCheckcollum in bBrowser, i need > sum(SOME_FIELD) of the records checked. > > What is the correct method to do this. > > TIA > Paulo Oliveira
[toc] | [prev] | [next] | [standalone]
| From | Paulo Oliveira <paulo@clipinfor.com> |
|---|---|
| Date | 2012-12-05 02:06 -0800 |
| Message-ID | <1d295d82-b94c-4556-b0ef-eab644fd1f70@googlegroups.com> |
| In reply to | #4423 |
Terça-feira, 4 de Dezembro de 2012 20:01:13 UTC, Urs Eggmann escreveu: > Hi Paulo, > > > > Have a look to Joachims sample "VirtualColumn" If you do not find the answer > > there, give us a bit more info what you want to do. > > regards > > Urs > > > > > > "Paulo Oliveira" <paulo@clipinfor.com> schrieb im Newsbeitrag > > news:81aa69ed-1d8d-43d9-beed-e746943482c3@googlegroups.com... > > > Hi all, > > > > > > When i check a record using bCheckcollum in bBrowser, i need > > > sum(SOME_FIELD) of the records checked. > > > > > > What is the correct method to do this. > > > > > > TIA > > > Paulo Oliveira Hi Urs, I need the same mechanism of ButtonClick() method: When i click a checkbox the ButtonClick() method is call and i can do everything i want, but in bBrowser when i check a bCheckCollumn only just after leaving the record is that I can sum() my other collumn. Summarizing: uncheck Sum(), check Sum(), without leaving the current record. Paulo Oliveira
[toc] | [prev] | [next] | [standalone]
| From | Joachim Bieler <support@votools.com> |
|---|---|
| Date | 2012-12-07 08:26 +0100 |
| Message-ID | <aidk1nFafbdU1@mid.individual.net> |
| In reply to | #4425 |
Hi Paulo,
the code below should solve your problem:
method ButtonClick(oEvent) class MyDataWindow
if self:oDCBrowser:InEdit() .and. oEvent:Control = self:oDCBrowser:EditControl
if IsInstanceOf(self:oDCBrowser:EditControl, #CheckBox)
DebOut("Value:", self:oDCBrowser:EditControl:Checked)
endif
endif
return super:ButtonClick(oEvent)
Regards,
Joachim Bieler
Am 05.12.2012 11:06, schrieb Paulo Oliveira:
> Terça-feira, 4 de Dezembro de 2012 20:01:13 UTC, Urs Eggmann escreveu:
>> Hi Paulo,
>>
>>
>>
>> Have a look to Joachims sample "VirtualColumn" If you do not find the answer
>>
>> there, give us a bit more info what you want to do.
>>
>> regards
>>
>> Urs
>>
>>
>>
>>
>>
>> "Paulo Oliveira" <paulo@clipinfor.com> schrieb im Newsbeitrag
>>
>> news:81aa69ed-1d8d-43d9-beed-e746943482c3@googlegroups.com...
>>
>>> Hi all,
>>> When i check a record using bCheckcollum in bBrowser, i need
>>> sum(SOME_FIELD) of the records checked.
>>> What is the correct method to do this.
>>> TIA
>>> Paulo Oliveira
> Hi Urs,
>
> I need the same mechanism of ButtonClick() method:
>
> When i click a checkbox the ButtonClick() method is call and i can do everything i want, but in bBrowser when i check a bCheckCollumn only just after leaving the record is that I can sum() my other collumn.
>
> Summarizing: uncheck Sum(), check Sum(), without leaving the current record.
>
> Paulo Oliveira
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web