17. april 2003 - 22:01Der er
7 kommentarer og 1 løsning
Auto indsæt
Hej
Jeg er ved at lave et medlems kartotek hvor jeg blandt andet indtaster post nr og by. Hvis jeg har en tabel med post nr og by, må det kunne lade sig gøre at få programmet til automatisk at indsætte byen hvis jeg taster post nr. men hvordan?
Brug af AI afslører de svagheder, virksomheder allerede har opbygget gennem års cloud-transformation, nye SaaS-løsninger og fragmenterede sikkerhedssystemer.
Du ligger noget kode ind i formen så indtastning af en værdi for post-nummer trigger et lilel stykke VB kode der slår by op og indsætter værdien i dets felt.
If you have these two tables then you make a query which includes all the fields from medlemsKartotek and By from PostNrBy. Then you make a form based on the query, if your relationships are correct you should have a combo where you can choose the PostNr from and when th erecord is created you will see the By appear in th By field.
If you first make the PostNrBy table then when you make the medlemsKartotek table for the PostNr field choose Lookup as the datatype. Now follow the instructions. This will give you a combo box on the form from where you can choose the postnr from
Synes godt om
Ny brugerNybegynder
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.