473,320 Members | 1,961 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

sorting multiple arrays

I have the following data
custID orderNum trackingNum ShipDate

I have put these in multiple arrays since I want to redim. For example,
the user selects one shipdate and I keep only the entries for that date
and thenn redim to a smaller array.

I come to a point where I want to sort by custID. I can find how to
sort two arrays, but how do I sort multiple arrays? A pointer to a
source would be good.
Or is there a better way to do this?

Nov 21 '05 #1
3 1636
I have need seen anything faster then a dictionary
Take a look at them
also take a look at collections
might be able to help you out better
<cs*****@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have the following data
custID orderNum trackingNum ShipDate

I have put these in multiple arrays since I want to redim. For example,
the user selects one shipdate and I keep only the entries for that date
and thenn redim to a smaller array.

I come to a point where I want to sort by custID. I can find how to
sort two arrays, but how do I sort multiple arrays? A pointer to a
source would be good.
Or is there a better way to do this?

Nov 21 '05 #2
AFIAK, Use these two items to get the event that fires when a table is
added/removed

AddHandler DataGrid1.TableStyles.CollectionChanged, AddressOf
TableStyles_CollectionChanged

Public Sub TEstCC(ByVal sender As Object, ByVal e As
System.ComponentModel.CollectionChangeEventArgs)

End Sub

<cs*****@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have the following data
custID orderNum trackingNum ShipDate

I have put these in multiple arrays since I want to redim. For example,
the user selects one shipdate and I keep only the entries for that date
and thenn redim to a smaller array.

I come to a point where I want to sort by custID. I can find how to
sort two arrays, but how do I sort multiple arrays? A pointer to a
source would be good.
Or is there a better way to do this?

Nov 21 '05 #3
Sry, this was the wrong message to post this to.

Chris

"Chris, Master of All Things Insignificant" <chris@No_Spam_Please.com> wrote
in message news:O7**************@TK2MSFTNGP09.phx.gbl...
AFIAK, Use these two items to get the event that fires when a table is
added/removed

AddHandler DataGrid1.TableStyles.CollectionChanged, AddressOf
TableStyles_CollectionChanged

Public Sub TEstCC(ByVal sender As Object, ByVal e As
System.ComponentModel.CollectionChangeEventArgs)

End Sub

<cs*****@yahoo.com> wrote in message
news:11**********************@g14g2000cwa.googlegr oups.com...
I have the following data
custID orderNum trackingNum ShipDate

I have put these in multiple arrays since I want to redim. For example,
the user selects one shipdate and I keep only the entries for that date
and thenn redim to a smaller array.

I come to a point where I want to sort by custID. I can find how to
sort two arrays, but how do I sort multiple arrays? A pointer to a
source would be good.
Or is there a better way to do this?


Nov 21 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Paul Kirby | last post by:
Hello All I am trying to update me code to use arrays to store a group of information and I have come up with a problem sorting the multiple array :( Array trying to sort: (7 arrays put into...
7
by: Federico G. Babelis | last post by:
Hi All: I have this line of code, but the syntax check in VB.NET 2003 and also in VB.NET 2005 Beta 2 shows as unknown: Dim local4 As Byte Fixed(local4 = AddressOf dest(offset)) ...
18
by: Scott | last post by:
I have a collection where the items in the collection are dates. I want to iterate over the collection and build a value list string for the rowsource of a listbox. The dates in the collection are...
23
by: yatindran | last post by:
hai this is my 2d array. int a = { {5,2,20,1,30,10}, {23,15,7,9,11,3}, {40,50,34,24,14,4}, {9,10,11,12,13,14}, {31,4,18,8,27,17}, {44,32,13,19,41,19}, {1,2,3,4,5,6},
1
by: jpoloney | last post by:
I was wondering if there was a quick and easy way to sort multiple arrays in C++. What I mean is that, say I have 3 integer arrays. They are in order by array indices (array1 corresponds to array2...
3
by: SneakyElf | last post by:
i am very green with c++ so i get stuck on very simple things anyway, i need to write a program that would read data from file (containing names of tv shows and their networks) one line at a time...
7
by: Steve Bergman | last post by:
I'm involved in a discussion thread in which it has been stated that: """ Anything written in a language that is 20x slower (Perl, Python, PHP) than C/C++ should be instantly rejected by users...
5
by: lemlimlee | last post by:
hello, this is the task i need to do: For this task, you are to develop a Java program that allows a user to search or sort an array of numbers using an algorithm that the user chooses. The...
1
by: arnuld | last post by:
On Mon, 29 Sep 2008 15:16:56 +0100, Ben Bacarisse wrote: An abstract overview of my own program by Ben had helped me focus on the design issue first. I came to know that whole problem went...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.