Databases - DAO and ADO
- From: "Webbiz" <nospam@xxxxxxxxxxxxxxx>
- Date: Sun, 12 Apr 2009 20:01:43 -0500
Greetings.
Some weeks ago I asked a question about how I might handle a situation where
I would want to access price data (such as for stocks) based on the Year,
Month and Day. For example, I may wish to gather the price data for March 13
to 17 for the years 2001 to 2009 only.
In my original question, I was wondering if I should create a
multidimensional array where the indexes represented the month, day and
year, such as:
arrPrices(Year, Month, Day)
Which type would be a structure to hold the open, high, low, close values.
A couple programmers here suggested that I use a database instead and SQL to
query this database.
So with those recommendations in mind, I have spent the last few weeks
reading books on VB6 Database programming and skimming the web for
information on creating databases, etc. I'm confronted with choices that are
quite frankly confusing me.
For example, there is talk of using Jet, data controls, DAO or ADO, etc.
Because most of the books on VB6 are old now, mostly around the Windows
95/98 era, the reasons for using DAO over ADO back then may or may not apply
today with our faster systems, XP or higher, etc. etc.
So I'm wondering...
Should I be focusing my attention on learning ADO or DAO as my time is
limited to finishing this particular project I'm working on. The project is
purely a desktop application and the data would be on the desktop computer
as well in the form of Metastock data downloaded from a data service.
Much of one book I have deals with using Data Controls which I do not
believe applies to my needs. So that time is a waste.
Jet or ODBC? DAO or ADO? SQL?
While I wait for additional books to arrive (just bought VB6 Database for
Dummies and SQL in less than 500 Years type books), I was wondering what
your thoughts may be in this regard.
Thank you in advance. :-)
Webbiz
.
- Follow-Ups:
- Re: Databases - DAO and ADO
- From: Schmidt
- Re: Databases - DAO and ADO
- From: Ralph
- Re: Databases - DAO and ADO
- From: Cor Ligthert[MVP]
- Re: Databases - DAO and ADO
- From: Ivar
- Re: Databases - DAO and ADO
- Prev by Date: Re: Mid function
- Next by Date: Re: Mid function
- Previous by thread: Is there something about VB6 that makes it a bad choice for NNTP?
- Next by thread: Re: Databases - DAO and ADO
- Index(es):
Relevant Pages
|
Loading