473,396 Members | 2,093 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,396 software developers and data experts.

access97 vs access2000 advance filter

In Access97 I was able to have an advance filter on a form that had a
Like statement so when you applied the filter EACH time it would asked
for the criteria. In 2000 the same filter doesn't asked for the
criteria after the first time you apply it. Is there a beter way of
doing this?

TIA

Nov 13 '05 #1
8 2065
Try an unbound text box on your form.

If it's called Text1 on Form1, you could then use:
Like [Forms].[Form1].[Text1] & "*"

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<sw********@yahoo.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
In Access97 I was able to have an advance filter on a form that had a
Like statement so when you applied the filter EACH time it would asked
for the criteria. In 2000 the same filter doesn't asked for the
criteria after the first time you apply it. Is there a beter way of
doing this?

TIA

Nov 13 '05 #2
I'm not sure I understand, would this be the statment in the advance filter?
What I have is a form that's based on a query that is based on a table. I do
a lot of copy and pasting because the records are similer. I had the advance
filter set up so I could enter a 3 didget code that all of my orders start
with and that would bring up all the records that started with them didgets
then I can choose the one that best matches what I'm ordering and copy and
paste it to a new record. The field that I'm copy and pasting is a lookup
from another table. This has worked very well until they upgraded us to
Access 2000.

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41**********************@per-qv1-newsreader-01.iinet.net.au...
Try an unbound text box on your form.

If it's called Text1 on Form1, you could then use:
Like [Forms].[Form1].[Text1] & "*"

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<sw********@yahoo.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
In Access97 I was able to have an advance filter on a form that had a
Like statement so when you applied the filter EACH time it would asked
for the criteria. In 2000 the same filter doesn't asked for the
criteria after the first time you apply it. Is there a beter way of
doing this?

TIA


Nov 13 '05 #3
Yes. The suggested statement goes into the Critieria line in your advanced
filter, under the field that contains the digits.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"jeff" <no**********@spm.com> wrote in message
news:Ip%zd.270011$V41.66521@attbi_s52...
I'm not sure I understand, would this be the statment in the advance
filter? What I have is a form that's based on a query that is based on a
table. I do a lot of copy and pasting because the records are similer. I
had the advance filter set up so I could enter a 3 didget code that all of
my orders start with and that would bring up all the records that started
with them didgets then I can choose the one that best matches what I'm
ordering and copy and paste it to a new record. The field that I'm copy
and pasting is a lookup from another table. This has worked very well
until they upgraded us to Access 2000.

"Allen Browne" <Al*********@SeeSig.Invalid> wrote in message
news:41**********************@per-qv1-newsreader-01.iinet.net.au...
Try an unbound text box on your form.

If it's called Text1 on Form1, you could then use:
Like [Forms].[Form1].[Text1] & "*"
<sw********@yahoo.com> wrote in message
news:11*********************@c13g2000cwb.googlegro ups.com...
In Access97 I was able to have an advance filter on a form that had a
Like statement so when you applied the filter EACH time it would asked
for the criteria. In 2000 the same filter doesn't asked for the
criteria after the first time you apply it. Is there a beter way of
doing this?

Nov 13 '05 #4
I'm having no luck with this at all. I did find some stuff on MS sight
about filters not completley clearing and there was a work around but
then that would completley clear the filter so it would have to be have
the statement entered again.

In both 97 & 2000 this is the statement that is in the filters box on
the Form Property box
"((([Purchase order entry].Control_Number) Like [Enter Control Number]
& "*"))"

In 97 it works as expected asking for the control number each time the
filter is toggled, in 2000 when you toggle the filter it will take on
whatever the last number you entered was.
Any suggestions on this??

Thanks Again

Nov 13 '05 #5
Look back to the previous answer.

It explained how to use a text box on a form, instead of a parameter box in
the query. Your example is still not using a text box.
--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps.org.

<sw********@aol.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I'm having no luck with this at all. I did find some stuff on MS sight
about filters not completley clearing and there was a work around but
then that would completley clear the filter so it would have to be have
the statement entered again.

In both 97 & 2000 this is the statement that is in the filters box on
the Form Property box
"((([Purchase order entry].Control_Number) Like [Enter Control Number]
& "*"))"

In 97 it works as expected asking for the control number each time the
filter is toggled, in 2000 when you toggle the filter it will take on
whatever the last number you entered was.
Any suggestions on this??

Thanks Again

Nov 13 '05 #6
I created the text box with the control source being the field that I
want to sort. Right or Wrong?

Like [Forms].[purchace order entry].[filter] & "*"

then put that statement in the advance queri, it acted the same as
before, worked the first time but then would retain the same
information.

Could it be that the data base is not converted to 2000?

Before this statment would prompt the user for the control number,
"like [Enter Control Number]&"*"".
I'm not sure if I'm not understanding or if I'm not explaining right.

Nov 13 '05 #7
Without testing, I would expect the advanced filter to re-read the value
whenever the filter is re-evaluated. You could probably force this by
setting the FilterOn to True.

What I personally prefer to do is to use code to create the filter string,
and assign it to the Filter of the form in either the Click of a Filter
button, or the AfterUpdate of the text box (if there is only one text box
used to create the filter string). This forces it to be re-evaluated
immediately.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps.org.

<sw********@yahoo.com> wrote in message
news:11**********************@c13g2000cwb.googlegr oups.com...
I created the text box with the control source being the field that I
want to sort. Right or Wrong?

Like [Forms].[purchace order entry].[filter] & "*"

then put that statement in the advance queri, it acted the same as
before, worked the first time but then would retain the same
information.

Could it be that the data base is not converted to 2000?

Before this statment would prompt the user for the control number,
"like [Enter Control Number]&"*"".
I'm not sure if I'm not understanding or if I'm not explaining right.

Nov 13 '05 #8
Thanks for all your suggestions, I ended up just using a couple macros
to run a queri, then I get the expected results. Thanks Again!

Nov 13 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: NullRef | last post by:
Hello - I'm trying to create an ACCESS97 database MDB as well as tables w/in the db all programatically from VB.NET -- is this possible? I've seen examples for creating Access2000 database using...
15
by: U N Me | last post by:
I have a continuous form that lists records from a query. One of the columns is an amount field, In the footer of the form I place a text box that displays the total (sum) of the amount. The...
0
by: JMCN | last post by:
hi i'm trying to create an input box that will ask the users for the date (LW_Date)and then, open up the pass-through query with the specific date results from the input box. i typed in the date...
1
by: Mario Crevits | last post by:
My name is Mario Crevits, I'm from Belgium (Roeselare) and I'm working with Access97 for several years now. We are in an Access97-2000 migration project. I'm writing a wizard for the end-users to...
1
by: Campbellbrian | last post by:
I have a front-end Access97 application which I have users routinely with just a mouse-click and a password screen sends various reports to customers. Since this works, I'm assuming, with MS...
6
by: Eugenio | last post by:
Hi Sorry in advance for my english. I hope you'll understand me. I have an application devoloped by MSAccess97 with MSSQLserver 7.0. Now, I have to change DB from MSSQLserver 7.0 to...
2
by: Heather | last post by:
I want to create a report that shows the percent of safety audits complete by each individual shift, based on the safety audit date. The user has to put in the dates they want the report to pull...
10
by: lesperancer | last post by:
you start with a small application in access97, then you have more modules and more... and you reach the point where tables like 'item' and 'employee' reach the limit and you know there's more...
3
by: Ramchandar | last post by:
Hi, I am creating reports using VBA code. I have the same query in a querydef residing both in Access97 and Access2003. The result of this querydef is then moved to a table in Access97 and...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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.