Results 1 to 4 of 4

Thread: SQL Code- Records Between Two Dates

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    43

    SQL Code- Records Between Two Dates

    I am making a system for my auntie to help with a taxi firm. It records the details of each driver and also the earnings that each take each day (Sorted That Bit).

    I have been having trouble trying to find a method around being able to print a report that can be customised by the user to be a summary of 1 selected Driver and earnings between two selected dates.

    I heard that you can use SQL in my VB6 system with my access database. Is that possible?

    If so, can i have any pointers on how to get it to work for me?

    Thankyou,

    Mykael

  2. #2
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Code- Records Between Two Dates

    Are you going to use data controls (EVIL Things) or record set with ADODB?
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

  3. #3

    Thread Starter
    Member
    Join Date
    Sep 2005
    Posts
    43

    Re: SQL Code- Records Between Two Dates

    I do believe that i am using AdoDB (Record Set) Links ^^ From what i have hear they are easier.
    Last edited by eXhumed; May 16th, 2006 at 03:37 PM.

  4. #4
    A SQL Server fool GaryMazzone's Avatar
    Join Date
    Aug 2005
    Location
    Dover,NH
    Posts
    7,493

    Re: SQL Code- Records Between Two Dates

    Then set the SQK statement that open the recordset with a condition of

    Where fieldname Between #Date1# and #Date2#
    Sometimes the Programmer
    Sometimes the DBA

    Mazz1

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