Results 1 to 11 of 11

Thread: Minimum values - code vs. SQL [Resolved]

Threaded View

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950

    Resolved Minimum values - code vs. SQL [Resolved]

    This is part of the same unresoved question I posted in the database forum.
    Basically, I need to get the records with the minimum value (in a field named Value ) for each question/module fields combination. I thought there'd only be a few hundred matching records, but there's between 2 & 3 thousand.
    I wasn't able to figure out a query to retrieve these records, so instead I used code to loop through recordsets and INSERT records into a table. But it does this one record at a time, and takes a couple minutes to run, as well as tying up the processor.
    If there's no SQL to run a regular query for this, is there a way to do a batch INSERT in DAO to speed things up? Thanks.
    Last edited by salvelinus; Jul 25th, 2005 at 12:15 PM.
    Tengo mas preguntas que contestas

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width