🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Jak dodać sortowanie do raportu używając kodu VBA

#137031
From: MaciejF
Date: Mon, 09 Nov 2015 15:33
24 lines
1843 bytes
Kombinowałbym ze zdarzeniem "przy formatowaniu"
sekcji szczegóły raportu

Me.OrderBy = Forms!frmBazowy!PoleSortujące
Me.OrderByOn = True


Możesz założyć w formularzu pole tekstowe wg którego będziesz sortował np. txtSort
Następnie wykorzystać wartość tego pola w Raporcie

Me.OrderBy = Forms!frmBazowy!txtSort
Me.OrderByOn = True


Jak blądzę to niech ktoś skoryguje.
Nie uważam się za eksperta ...


Wujek MS pisze tak:
https://msdn.microsoft.com/en-us/library/bb243811(v=office.12).aspx


Pozdrawiam
MF
Technical Details
Message-ID: <650b9367-8547-4f2f-862f-51dac8283bb0@googlegroups.com>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.man.lodz.pl!newsfeed.pionier.net.pl!news.glorb.com!i2no1804700igv.0!news-out.google.com!l1ni1162igd.0!nntp.google.com!i2no1804690igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
References: <234aa3a6-3c8c-418f-9406-a9b2681e9829@googlegroups.com>

Show Full Headers
Complete Article Headers
X-Received: by 10.107.136.233 with SMTP id s102mr16646185ioi.21.1447083239623;        Mon, 09 Nov 2015 07:33:59 -0800 (PST)
X-Received: by 10.50.78.138 with SMTP id b10mr394133igx.5.1447083239603; Mon, 09 Nov 2015 07:33:59 -0800 (PST)
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!news.icm.edu.pl!news.man.lodz.pl!newsfeed.pionier.net.pl!news.glorb.com!i2no1804700igv.0!news-out.google.com!l1ni1162igd.0!nntp.google.com!i2no1804690igv.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.bazy-danych.msaccess
Date: Mon, 9 Nov 2015 07:33:59 -0800 (PST)
In-Reply-To: <234aa3a6-3c8c-418f-9406-a9b2681e9829@googlegroups.com>
Complaints-To: groups-abuse@google.com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=178.36.72.120; posting-account=kc7ZIQoAAAB5PkdJgxjq1dd8jnBK4MVp
NNTP-Posting-Host: 178.36.72.120
References: <234aa3a6-3c8c-418f-9406-a9b2681e9829@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <650b9367-8547-4f2f-862f-51dac8283bb0@googlegroups.com>
Subject: Re: Jak dodać sortowanie do raportu
 używając kodu VBA
From: MaciejF <maciejfr@onet.pl>
Injection-Date: Mon, 09 Nov 2015 15:33:59 +0000
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit