When you say the Ja/Nej fied has three values you mean the field on the form not the field in the dB? Look at the properties for the field on the form. Make sure that the "TripleState" property is set to NO
Hey both of you. The problem is that if if select -1 i get 448 record, if i choose 0 i get 501 but if i look in the table there is 25000 records :(
It is the same if i use the query builder, this is really annoying. Terry you said that select default value to 0, unfortunatly i can not do this cause i get the recordset from outside, just joining the data tables and designing a new form.
If there are already values in the table which are NUll then I would have thought it would be possible to update them to 0 with an update statement. Then make sure that the default value is set to 0
But if i use this DoCmd.ApplyFilter , "gronContainerLand is null or 0" there is missing some records. but shouldnt the last line return all which aren't -1 ??
Kan du ikke bare disable den 3'die tilstand fra interfacet, og så køre en updatequery hvor du erstatter null med false/0 ? Et null i tabellen betyder vel at en bruger aldrig har benyttet checkboxen, det er vel det samme som unchecked ?
Mundi, 3state er deaktitiveret. Men der kommer ofte data udfra, og jeg kan ikke hvergang køre en update på rs. :( Jeg sidder og laver en universal form, hvor brugeren kan vælge query eller table og herefter sætte de kriterier som han/hun ønsker.
Vi lukker og slukker her guys, det vigtigste var udvalget, smid lige en linie hvis jeg skal oprette et point spm. så i kan få lidt flere som tak for hjælpen...
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.