Closed Thread
Results 1 to 2 of 2

Thread: Date Filter Being Odd, ms access 03, Any Advise?

  1. #1
    Xantara's Avatar
    Xantara is offline Newbie
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    22
    Rep Power
    0

    Date Filter Being Odd, ms access 03, Any Advise?

    I am doing a date range filter, very basic, in MS Access 03. I've done this in VB through code, I've done SQL code, and i've done basic query in Access....

    This is my problem...
    Date range filter, when making, you make date pulled greater than or equal to first date and lesser than or equal to last date.
    My filter is pulling the greater than or equal to first date just fine, however, it's pulling lesser than on last date, and not the equal to part. I tried removing the filter for the end and it pulls from first date forward, so it's seeing the last part, but only the lesser than part, not the greater than part. The following is everything i've tried and it all works the same, i need some fresh eyes, what am i doing wrong, or is there someplace else that i need to look?

    This one done in a query:
    >=[forms]![Test]![First] And <=[forms]![Test]![End]
    under the field mfgdate...does same thing-up to last date, but doesn't include last date

    this one done in report filter field:
    ((mfgdate >= [forms]![Date Time Filter]![DateFirst]) AND (mfgdate<=[forms]![Date Time Filter]![DateLast]))
    same thing, up to last date, doesn't inlude it

    i've used different forms and reports, thinking i corrupted something, but it all works out the same

    what am i missing?

    Thank you in advance for saving my sanity!
    Last edited by Xantara; 02-07-2008 at 08:34 AM. Reason: forgot stuff
    Xantara...

  2. CODECALL Circuit advertisement
    Join Date
    Always
    Location
    Advertising world
    Posts
    Many

     
  3. #2
    Xantara's Avatar
    Xantara is offline Newbie
    Join Date
    Jan 2008
    Location
    Pennsylvania
    Posts
    22
    Rep Power
    0
    nevermind....i fixed it...

    instead of fighting with the code, i just took the date from the filter form, added 1 to it, and it's all good!

    DON'T WORK HARDER, WORK SMARTER!!
    thanks though...
    Xantara...

Closed Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Help, advise on game development?
    By Kankan in forum General Programming
    Replies: 1
    Last Post: 08-15-2010, 08:23 PM
  2. I could use a few words of advise
    By Tripoli40 in forum General Programming
    Replies: 3
    Last Post: 08-23-2009, 07:42 PM
  3. Advise or Suggestion Plz.
    By mohafib in forum Visual Basic Programming
    Replies: 1
    Last Post: 05-17-2008, 09:21 AM
  4. I need an advise
    By Edwood in forum C# Programming
    Replies: 8
    Last Post: 04-21-2008, 10:35 AM
  5. Can I Get Some Advise
    By Recramorcen in forum Software Development Tools
    Replies: 2
    Last Post: 03-26-2008, 07:19 PM

Tags for this Thread

Bookmarks

Posting Permissions

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