?
Solved

filter by form with checkbox against SQL-Server

Posted on 2009-04-09
1
Medium Priority
?
442 Views
Last Modified: 2013-11-28
I'm using Access 2003 in a project with a SQL 2005 back end. With "server filter by form", when I put a checkmark in by checkbox I get a [Server Filter] value of "table.column = -1", which doesn't return any data. If I change the -1 to 1 then I get data.

Is there a way to make a checkmark in a checkbox work with "server filter by form" without me figuring out how to intercept the action and replacing all the -1's with 1's?
0
Comment
Question by:GordonPrince
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 85

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 750 total points
ID: 24108883
Are you using the builtin Filter By Form stuff? If so, then no, there's no way. You can always build your own Filter By Form stuff and dynamically build the SQL necessary.
0

Featured Post

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
This article describes two methods for creating a combo box that can be used to add new items to the row source -- one for simple lookup tables, and one for a more complex row source where the new item needs data for several fields.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Learn how to number pages in an Access report over each group. Activate two pass printing by referencing the pages property: Add code to the Page Footers OnFormat event to capture the pages as there occur for each group. Use the pages property to …
Suggested Courses

764 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question