Sorry kwibus, ik was iets te snel... Dick
Op 5 april 2018 om 16:37 schreef <kwi...@cloudmail.de>: > Dag Dick, > > Jouw uitleg vind ik niet echt duidelijk. > > De formule in eenvoudige pseudocode zou moeten zijn: *if leeftijd mod 5 = > 0 then* * stuur een kaartje * > Nog eventueel toe te voegen: *and leeftijd >= 65* > > *Von:* Dick Stomp <dick.st...@zonnet.nl> > *Gesendet:* 05.04.2018 15:53 > *An:* users libreoffice.org <users@nl.libreoffice.org> > *Betreff:* Re: [nl-users] Libreoffice BASE sql bepalen van leeftijd > > Dag Aleidus, > > Het bepalen of iemands leeftijd deelbaar is door vijf het in computertalen > "mod 5". > De formule ziet er dan uit als > x = mod 5 (13,14,15,16,17) = 15 > Ook kun je zeggen > als > *leeftijd = (mod 5) stuur een kaartje*Zoek maar in de formule-vormen naar > *mod*. > > > Groeten, > Dick > > > Op 5 april 2018 om 13:02 schreef Aleidus Aalderink <alei...@xs4all.nl>: > > > Beste mensen, > > Voor een vrijwilligersorganisatie ben ik bezig een database op te zetten. > > Hier stuit ik op een SQL query voor het bepalen van de leeftijd. > > De lijst bevat de volgende velden: > > Naam > > Tvg = tussenvoegsel > > Vltrs = Voorletters > > Voornaam > > Straatnaam > > Huisnr. > > Postcode > > Plaats > > Mobiel-1 > > Mobiel-2 > > Emailadres > > Geb.datum opmaak dd-mm-jj > > Huw.datum opmaak dd-mm-jj > > > > Jaarlijks willen we de mensen die 65, 70, 75, 80 enz verrassen. Hoe kan > ik > > dat bepalen. > > > > Nu heb ik met SQL het volgende > > > > SELECT "Voornaam", "Tvg", "Naam", "Geb.datum" FROM "AOW_lijst" ORDER BY > > "Geb.datum" DESC > > > > Graag zie ik hier suggesties tot oplossing tegemoet. > > > > Alvast bedankt > > > > Aleidus > > > > -- > > Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org > > Posting guidelines + more: https://wiki.documentfoundation.org/ > Netiquette > > List archive: https://listarchives.libreoffice.org/nl/users/ > > All messages sent to this list will be publicly archived and cannot be > > deleted > > > > > > -- > Het moet kunnen! > https://sites.google.com/site/dickstomp/ > > -- > Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org > Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette > List archive: https://listarchives.libreoffice.org/nl/users/ > All messages sent to this list will be publicly archived and cannot be > deleted > </alei...@xs4all.nl> > -- Het moet kunnen! https://sites.google.com/site/dickstomp/ -- Unsubscribe instructions: E-mail to users+unsubscr...@nl.libreoffice.org Posting guidelines + more: https://wiki.documentfoundation.org/Netiquette List archive: https://listarchives.libreoffice.org/nl/users/ All messages sent to this list will be publicly archived and cannot be deleted