18. august 2005 - 14:37Der er
12 kommentarer og 1 løsning
Hovedkategori liste som i Outlook.
Er der nogen der kan fortælle mig om det kan lade sig gøre at lave et system i Access ligesom i Outlook, hvor man har en liste, som indeholder x antal muligheder. Til et emne, f.eks. en person, kan man så tilknytte en delmængde fra denne liste, f. eks. han er med i bestyrelsen, han er med i festudvalget etc. etc.
Derefter skal man kunne forespørge på hvem der f. eks. er med i bestyrelsen, hvem er med i festudvalget etc. etc.
I dette særtema ser vi på, hvordan cloud og AI bliver fundamentet for virksomhedernes digitale forretning, og hvordan de nye muligheder for automatisering og forretningsværdi kan udnyttes uden at miste overblik, sikkerhed og menneskelig kontrol.
You will need three tables (many-to-many relationship) One table contains persons, another "muligheder" and the last is a link table which contains the realationships between person and "muligheder"
Yes this strukture I am aware of, but how do I present this to the users in a form for input, and it has to be dynamic, so the user can ad "options" (options = muligheder). I think I just had the idea, pupping up in my head. I have to use a form with a subform!!
Jeg er forsåvidt enig i n-m strukturen. Men afhængig af størrelse m.v. kan det være overkill. Som jeg forstår det, kan person vel indeholde een person een gang. Herved kunne du nøjes med 2 tabeller person og muligheder. (og der med en 1-n relation). Databasen ville stadig være normaliseret.
madschristensen> If you want to have many options for each person where are we to have these relationships? A person can have MANY options and a single option can be related to many persons!
If you know for sure that a person is only to have ONE option then YES two tables is enough, but of a person can have MANY options then you need three!
chilly....> You will need a main form for the person information and then a sub form which actually is the MIDDLE table which contains the relationships to Person+Options. Then the options is a combo box where you can choose the options you want to attach to a person. There is an event NOT IN LIST on a combo box, and you can use this to add further options, and if necessary (depending on how many fields you want in options) you can open a form for creating new options.
thanks chilly, if you nee help on the Q at a later date then just drop a comment.
mvh Terry
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.