"Danny" <dannywork5@hotmail.com> wrote in
news:Ch52c.15361$UF1.2107282@news4.srv.hcvlny.cv.n et:
[color=blue]
> I am trying to process a database and my code does so much that it takes
> a whle to go through the database.
> most of it is sql queries, updates and such.
>
> For about 6000 records, it takes over a minute to process,maybe 2.5 to 3
> minutes.
> How can I speed it up?
> I did create an index on some of the search fields, but didnt seem to
> help.
>
> I have a 2.4 mhz machine!!
>
> is sql faster or just going through each record and working on the
> fields one at a time faster.[/color]
SQL is faster 90% of the time. In very intensive data manipulation, an
experienced programmer may be able to speed things up with temporary
tables and indexes and vba. If you tell us what "my code does so much" is
doing, we might be able to make some suggestions.
--
Lyle
(for e-mail refer to
http://ffdba.com/contacts.htm)