Lost Password?

Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Unregistered, Check out the Coder Battles in the Announcement and Game forums.

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-07-2008, 10:33 AM
Xantara's Avatar   
Xantara Xantara is offline
Newbie
 
Join Date: Jan 2008
Location: Pennsylvania
Posts: 22
Credits: 0
Rep Power: 3
Xantara is on a distinguished road
Default 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!
__________________
Xantara...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.

Last edited by Xantara; 02-07-2008 at 10:34 AM. Reason: forgot stuff
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 02-08-2008, 07:49 AM
Xantara's Avatar   
Xantara Xantara is offline
Newbie
 
Join Date: Jan 2008
Location: Pennsylvania
Posts: 22
Credits: 0
Rep Power: 3
Xantara is on a distinguished road
Default

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...
To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting mayan long count from date Grandmaster Flash JavaScript and CSS 2 01-04-2008 03:37 PM
Date in Oracle 8 Ronin Database & Database Programming 6 08-17-2007 12:25 AM
[PHP] Faking Shell Access Through PHP pranky PHP Tutorials 2 03-29-2007 06:28 AM
PHP:Tutorial The Date John PHP Tutorials 0 01-10-2007 06:10 PM
Java:Tutorial - Access Modifiers John Java Tutorials 0 12-09-2006 09:57 AM


All times are GMT -5. The time now is 03:05 AM.

Contest Stats

Xav ........ 1097.16
MeTh0Dz|Reb0rn ........ 986.37
morefood2001 ........ 850.04
John ........ 841.93
WingedPanther ........ 684.54
marwex89 ........ 638.26
Brandon W ........ 492.36
chili5 ........ 292.12
Steve.L ........ 188.37
orjan ........ 187.41

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 79%

Ads