Re: wie neue Gruppe auf unpaarige seite??
- From: "Oliver Straub" <oliver.straub_NoS@xxxxxx>
- Date: Sun, 27 Apr 2008 18:34:41 +0200
Hallo Remi,
Folgende Anmerkung von Marsh:
------
That technique does not work in all situations because there
is no guarantee that the report sections (and their event
procedures) will be processed in any particular order.
(Think about CanGrow/CanShrink and the various types of
KeepTogether settings causing multiple nested Retreats).
Getting the page break on all even pages implies that you
have the header section's RepeatSection property set to Yes.
In this case you need a mechanism the determine when the
header is being processed for the first time in each group.
A reliable way to do that is to add a hidden(?) text box
(named txtDetailNum) to the detail section. Use the
expression =1 and set its RunningSum property to Over Group.
Then the line of code would be:
Me.pbrSeitenwechsel.Visible = (Me.Page Mod 2) = 0 _
And txtDetailNum = 1
Marsh
MVP [MS Access]
------
ich hab zuwenig Ahnung aber vielleicht ist es interessant/hilfreich????
er meint, dass das Format-Ereignis des Kopfbereiches des neuen Buchstabens
ausgelöst werden kann, und dann danach erst das Format-Ereignis eines
Kopfbereichs des vorhergehenden Buchstabens, weil ein, noch zu dieser Gruppe
gehörender Detailsatz nicht mehr auf die vorhergehende Seite gepasst hatte.
MS sagt, dass es passieren kann, dass Ereignisse nicht in der vorgegebenen
Reihenfolge ausgelöst werden. Kann also sein, dass der Marsh Recht hat. Die
Idee, das Ganze mit Summe über Gruppe zu lösen ist nicht schlecht, werde ich
mir auf jeden Fall merken.
(Me![txtDetailNum] = 1)
Gruss
Oliver
.
- Follow-Ups:
- Re: wie neue Gruppe auf unpaarige seite??
- From: Remi Noel
- Re: wie neue Gruppe auf unpaarige seite??
- References:
- wie neue Gruppe auf unpaarige seite??
- From: Remi Noel
- Re: wie neue Gruppe auf unpaarige seite??
- From: Oliver Straub
- Re: wie neue Gruppe auf unpaarige seite??
- From: Thomas Möller
- Re: wie neue Gruppe auf unpaarige seite??
- From: Remi Noel
- wie neue Gruppe auf unpaarige seite??
- Prev by Date: Re: Wie mache ich mit dem Objektfeld - Textfelder sichtbar?
- Next by Date: Re: Erkennung Acc-RT / -Vollversion
- Previous by thread: Re: wie neue Gruppe auf unpaarige seite??
- Next by thread: Re: wie neue Gruppe auf unpaarige seite??
- Index(es):
Relevant Pages
|