Array/Memory Limitations of VB

I have 2 flexgrids displaying 2 months worth of reservations along my x axis.  Each reservation is a user-defined type that is about 300 bytes.  There is a maximum of 62 reservations.  (300*62) = roughly 20k.

Along the y axis I have 20 units.  Each unit is a user-defined type that is about 100 bytes.  (100*20) = roughly 2k.

I need to have fast access to the information in each reservation and/or unit on the click of that object.  I would like to store all this data in an array, but I understand VB has a limitation of 64k?? when it comes to arrays.  

This form would need 20 Units (40 K) * 62 Reservations (20K) per Unit.  A rough estimate is that I need 800k of memory.  Obviously arrays are not going to work based on what I've been told.  Is there an easier solution to this problem??  I'm scared that loading a recordset and accessing it on click is too slow, but maybe this is not the case.  Any advice would be helpful, thank you.
LVL 1
kbachAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

TuyCommented:
Have u tested it that u can only put 64k in an array ?

I just tested it with an array of 10.000.000 of the type long. The long type is 32bit = 4 byte i also filled it with long types to make sure.

that means 10.000.000 times 4 bytes, it it worked, so i guess the 64k isn't correct.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.