473,386 Members | 1,705 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

apply filter for date variable

25
hi guys

need your suggestion
how can i apply filter for my date variable data type

i have a form name transaction
and i have a text box on it named : start and finish

i need to apply filter my data using that 2 data.
i have to view data for the transaction date between start and finish date.

i used the command button to proceed it filter.

can u help me guys...

thanks anyway
Mar 16 '09 #1
3 2670
ChipR
1,287 Expert 1GB
Do you mean you have two text boxes, one for start and one for finish?
You would need to set the filter to:
Expand|Select|Wrap|Line Numbers
  1. "TransactionDate BETWEEN #" & start & "# AND #" & finish & "#"
Mar 16 '09 #2
dbdb
25
yes....that's what i mean
thank you.it works
Mar 17 '09 #3
NeoPa
32,556 Expert Mod 16PB
For locations outside the US it's also helpful to remember that the standard format for dates in SQL is NOT location dependent. See Literal DateTimes and Their Delimiters (#).
Apr 4 '09 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

1
by: Paulo Rodrigues | last post by:
Hello I have a main form and a subform. The subform contains several records wich have the field Date. Using a combobox that groups the dates, I intend to filter , in the subform,only this or...
2
by: MajorTom | last post by:
Hello everybody I using an dataview rowfilter expression to filter some record from one dataset, is I only working with the date portion no problem, but how do I use the date and the time for...
4
by: Takeadoe | last post by:
I recently asked the group for help on converting 3 numeric variables to a new date variable. The DATESERIAL function below worked perfectly! My question now relates to problems with this new...
2
by: jcf378 | last post by:
hi all. I have a form which contains a calculated control ("days") that outputs the # of days between two dates (DateDiff command between the fields and ). However, when I click "Filter by...
9
by: dee | last post by:
I'd like to filter by the following criteria: left(LeadDisposition,3) = "Sit" AND Appt_Date = Text767 I have no idea how to do this. Appreciate help.
1
by: mattscho | last post by:
Re: Filter By From, Apply Filter, Remove Filter Buttons in a Form. -------------------------------------------------------------------------------- Hi All, Trying to create a set of 3 buttons in...
4
Kaosu
by: Kaosu | last post by:
I am trying to create an advance filter page for the program im writing and came to a problem with the applyfilter command. what im trying to do is apply a filter to a 2nd form after you have...
1
by: spartacus | last post by:
I am trying to filter a dataview with a date variable. The complete unfiltered table has 40 rows in it. If filtered as coded below it should return 8 rows, but I always get 40 rows...here is the...
3
by: Gord | last post by:
I'm trying to filter a report with a date in VB code. If I type an actual date bracketed with the pound symbol (i.e. #3-Jul-08#) I can get the filter to work. I can't seem to get it to work by...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.