Avatar billede nyholm Novice
22. februar 2024 - 14:00 Der er 4 kommentarer

Undo selection

If you have chosen a specific selection of the posts in a form, is it possible by code to undo the selection and if so, what is the code? I know there is a tool for this, but i want to do it by code.
Avatar billede Gustav Ekspert
22. februar 2024 - 14:50 #1
This should do that:
Forms!YourForm.SelHeight = 0
Avatar billede nyholm Novice
22. februar 2024 - 16:49 #2
It does not work. Perhapes i expressed myself wrong. I ment undo filtering.
Avatar billede nyholm Novice
22. februar 2024 - 17:31 #3
I found the solution:

Me.Filter = ""
Me.FilterOn = False

This works fine.
Avatar billede Gustav Ekspert
22. februar 2024 - 22:22 #4
>  i expressed myself wrong.
You did.
You only need:
Me.FilterOn = False
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester