A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

using VBA to determine which page a subreport is currently on



 
 
Thread Tools Display Modes
  #1  
Old March 19th, 2006, 08:06 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default using VBA to determine which page a subreport is currently on

Hello,

within the detail_format() function can VBA determine which page the
sub-report is currently on?

thanks


  #2  
Old March 19th, 2006, 09:30 PM posted to microsoft.public.access.reports
external usenet poster
 
Posts: n/a
Default using VBA to determine which page a subreport is currently on

You can try (untested) code like:
Me.Parent.Report.Page
to get the parent page. You might need a control on the main report bound to
[Page].

--
Duane Hookom
MS Access MVP
--

"a" wrote in message
...
Hello,

within the detail_format() function can VBA determine which page the
sub-report is currently on?

thanks



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Changing page number Denis Levesque General Discussion 4 April 11th, 2006 12:58 PM
Want to start page 1 numbering after five pages - how? RM Page Layout 6 April 5th, 2006 05:07 AM
Page Numbers Aurora General Discussion 0 November 17th, 2005 08:04 PM
No page #s appear on 1st 2 pgs after section split in Pub2K3 GPSIS Publisher 9 November 15th, 2005 08:35 PM
NEED TO DETERMINE SUBREPORT NAME BEING PRINTED WHEN PAGE BEGINS tenap Setting Up & Running Reports 1 August 29th, 2005 12:21 PM


All times are GMT +1. The time now is 06:18 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.