Home All Groups Group Topic Archive Search About

[Newbie] How can I do that ?

Author
23 Oct 2006 10:27 AM
Stéphane_Miqueu
Hi,
Still me and my newbie's questions. With my advanced age, it is
difficult to change programming language.

A procedure reads a receipt (cooking receipt for example) and filled
out a table in memory: aTab() as string. I want to cumulate the
quantities of the lines having the same reference. Then I want to sort
this result on the quantities.

The objective is to print a label with the composition by descending
order of quantities.

In my other language, I filled a hidden datagrid and I work with (I can
make search, sorting, ... easily on this datagrid)

Should I do the same sort of thing with VB.Net or are there a more easy
or powerful way to do that ?

Sorry if I am not very clear but my English is a little rusted.

--
Ami Calmant
Stéphane

Author
23 Oct 2006 2:38 PM
tomb
You might want to look at the datatable object.  You can combine this
with a dataview for sorting, filtering and the like.

T

Stéphane Miqueu wrote:

Show quoteHide quote
> Hi,
> Still me and my newbie's questions. With my advanced age, it is
> difficult to change programming language.
>
> A procedure reads a receipt (cooking receipt for example) and filled
> out a table in memory: aTab() as string. I want to cumulate the
> quantities of the lines having the same reference. Then I want to sort
> this result on the quantities.
>
> The objective is to print a label with the composition by descending
> order of quantities.
>
> In my other language, I filled a hidden datagrid and I work with (I
> can make search, sorting, ... easily on this datagrid)
>
> Should I do the same sort of thing with VB.Net or are there a more
> easy or powerful way to do that ?
>
> Sorry if I am not very clear but my English is a little rusted.
>
Author
24 Oct 2006 6:54 AM
Stéphane_Miqueu
tomb avait soumis l'idée :
Show quoteHide quote
> You might want to look at the datatable object.  You can combine this with a
> dataview for sorting, filtering and the like.
>
> T
>
> Stéphane Miqueu wrote:
>
>> Hi,
>> Still me and my newbie's questions. With my advanced age, it is difficult
>> to change programming language.
>>
>> A procedure reads a receipt (cooking receipt for example) and filled out a
>> table in memory: aTab() as string. I want to cumulate the quantities of the
>> lines having the same reference. Then I want to sort this result on the
>> quantities.
>>
>> The objective is to print a label with the composition by descending order
>> of quantities.
>>
>> In my other language, I filled a hidden datagrid and I work with (I can
>> make search, sorting, ... easily on this datagrid)
>>
>> Should I do the same sort of thing with VB.Net or are there a more easy or
>> powerful way to do that ?
>>
>> Sorry if I am not very clear but my English is a little rusted.

Thanks, I look at this now and let you know ...

--
Ami Calmant
Stéphane