Results 1 to 2 of 2

Thread: Data Report help Please

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Jul 2005
    Location
    South Africa
    Posts
    400

    Data Report help Please

    Hi

    I have been battling this problem for about 3 weeks now, and it has to be possible. I am using the VB6 DataReport and have created the report with the dateEnvironment and the report works like a charm, but i only need it to show the Customer Names that match the current date, i have a date field with the correct date format, but still it prints every customer in the database. Please can someone help me.


    Many thanks

  2. #2
    New Member
    Join Date
    Apr 2006
    Location
    Mars Hill, NC USA
    Posts
    5

    Re: Data Report help Please

    Set your data environment command to get its record source from a SQL statement (not a table name) if you haven't already. Then in your SQL statement, include something like this:

    WHERE table.datefield = getdate()

    getdate() returns the current date.

    Hope this helps,
    Darrell
    Whatsoever thy hand findeth to do, do it with thy might; for there is no work, nor device, nor knowledge, nor wisdom, in the grave, whither thou goest.
    Ecclesiastes 9:10 (KJV)

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