Solved

filter by form with checkbox against SQL-Server

Posted on 2009-04-09
1
434 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
1 Comment
 
LVL 84

Accepted Solution

by:
Scott McDaniel (Microsoft Access MVP - EE MVE ) earned 250 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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Introduction When developing Access applications, often we need to know whether an object exists.  This article presents a quick and reliable routine to determine if an object exists without that object being opened. If you wanted to inspect/ite…
Familiarize people with the process of utilizing SQL Server views from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Access…
In Microsoft Access, learn the trick to repeating sub-report headings at the top of each page. The problem with sub-reports and headings: Add a dummy group to the sub report using the expression =1: Set the “Repeat Section” property of the dummy…

831 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