SunQuest
           Database Management
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsDatabasesDatabase Management

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
Generate data entry and reporting .NET Web apps in minutes, straight from your database. Read our FREE whitepaper “Build Web 2.0 Applications Without Hand-Coding” Download now!
  #1  
Old March 20th, 2003, 06:00 AM
avivit avivit is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 136 avivit User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 8 m 19 sec
Reputation Power: 8
Question Filtering in MS-ACCES (vba) acts as Parameter query???

Onclick of a button, a VBA code is activated, in which a filter is set (to records where comboBox has "y" value in it). That's all.

What happens in fact is that when clicking the button I get the "Enter Parameter Value" box,which needs to be filled in.
Why???
I only asked to filter, and the filtering is not made.

The code:
*********************
Me.FilterOn = False
Me.Filter = "myform.comboName='Y'" Me.FilterOn = True 'Activates the above filter
*********************

I did the same for another combobox, and have no problems.
In both combo boxes, the row source type is: value list
and the row source has one value: ("Y" in the above case)

Any ideas?
Thanks

Reply With Quote
Reply

Viewing: Dev Shed ForumsDatabasesDatabase Management > Filtering in MS-ACCES (vba) acts as Parameter query???


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

IBM developerWorks




© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway