11 Matching Annotations
  1. Feb 2023
    1. If you close the report without explicitly clearing the filters, Access remembers them and you can click Toggle Filter again to reapply them next time you open the report. This works even if you close and reopen the database. However, if you click Home > Advanced > Clear All Filters, Access clears the filters completely and you’ll need to start from scratch next time around.

      Interesting to know how Access saves the filter you wrote.

    1. In the example(s), Mypass is a SQL pass-through query you created. You simply create one working PT query, and then you can (usually) then use that one PT query anytime you want raw T-SQL or to run a store procedure 100% server side. So we are in effect overwriting and re-using that one PT query anytime we want raw SQL to run server side.

      This tells how Access has changed over the years and how different it is from the version I worked with ages ago.

    2. So placing forms! Expressions inside of a query always been a bad idea since then the query is now “married” to some silly form.

      Wouldn't myself imagined this. But it's very the very truth. The query becomes attached to the form. You can not use it anywhere else!!! And this is the way I was doing this ...

    1. WhereCondition Optional Variant A string expression that's a valid SQL WHERE clause without the word WHERE.

      According to what I read, this Where clause goes to the server and applies there. So, we just have to do what we do in js: open a filter form first, build a filter from there and then open the form with that filter (with no Where word).

      Doing that, it's sql server who picks up that filter and applies it server side!!! Just what we need ...

    1. Essentially, sorting and filtering are tools that let you organize your data. When you sort data, you are putting it in order. Filtering data lets you hide unimportant data and focus only on the data you're interested in.

      Some inputs about sorting and filtering in an Access Database.