🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.bazy-danych.msaccess
Article #137731

Zakres rekordów formularza ciągłego zależny od zmiennej

#137731
From: Stan
Date: Thu, 08 Oct 2020 19:20
12 lines
1907 bytes
PodFormularz ciągły wyświetla wszystkie 20 rekordów z tabeli "Sort", gdzie pole "SortID" ma kolejno wartość od 1 do 20. 
Do tabeli "Sort" nie będą dopisywane kolejne rekordy.
W nagłówku tego podformularza mam pole "Płeć" które pobiera sobie wartość z formularza głównego.

Chciałbym użyć funkcji "IF" w taki sposób:
gdy w nagłówku Formularza pole "Płeć" ma wartość "M" - wyświetlane są rekordy "SortID" = 1 do 18, (rekordy 19 i 20 nie są wyświetlane) 
w przeciwnym razie wszystkie.

Coś tam eksperymentowałem ale nie wyszło :/
Uprzejmie proszę o pomoc :)

Stanisław
Technical Details
Message-ID: <f4e1f17a-bd10-4ecb-80fa-f3496dee7085n@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Received: by 2002:a37:79c6:: with SMTP id u189mr10002102qkc.74.1602184804450; Thu, 08 Oct 2020 12:20:04 -0700 (PDT)
X-Received: by 2002:a25:4b45:: with SMTP id y66mr3993798yba.109.1602184804269; Thu, 08 Oct 2020 12:20:04 -0700 (PDT)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!newsfeed.pionier.net.pl!3.eu.feeder.erje.net!feeder.erje.net!usenet.goja.nl.eu.org!aioe.org!feeder1.feed.usenet.farm!feed.usenet.farm!feeder.usenetexpress.com!tr3.iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: pl.comp.bazy-danych.msaccess
Date: Thu, 8 Oct 2020 12:20:03 -0700 (PDT)
Complaints-To: groups-abuse@google.com
Injection-Info: google-groups.googlegroups.com; posting-host=89.230.76.56; posting-account=FS2KUgoAAAAKrc4p-heLnoWXKH1YYu8A
NNTP-Posting-Host: 89.230.76.56
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <f4e1f17a-bd10-4ecb-80fa-f3496dee7085n@googlegroups.com>
Subject: Zakres rekordów formularza
 ciągłego zależny od zmiennej
From: Stan <stanbora@gmail.com>
Injection-Date: Thu, 08 Oct 2020 19:20:04 +0000
Lines: 16
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit