🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19862

Re: Database Driven Catalog - ???

#19862
From: maxdunn
Date: Tue, 19 Nov 2002 17:58
9 lines
1493 bytes
Are you incrementing iPageCounter *both* when the frame is created and when it is called? The other place to watch is when you are assigning the name of the frame: I would suspect that page counter is not being incremented. 

The scope of the variable is important: so if you increment a variable in one subroutine/function it won't be incremented in the other unless either (a) it is declared outside of both functions, (b) it is passed from one function to the other. 

I think you should probably declare iPageCounter outside of both functions and use it within each. 
Dim iPageCounter 
Public Function... 

Fundamentally it is a matter of making sure that the textframes are labeled correctly and that they are called by the appropriate names.
Technical Details
Message-ID: <1de69529.33@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!sjc-peer.news.verio.net!news.verio.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de69529.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4348409c0a586298
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-19 10:44:02 PST
From: maxdunn <maxdunn@siliconpublishing.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!sjc-peer.news.verio.net!news.verio.net!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Database Driven Catalog - ???
Message-ID: <1de69529.33@WebX.la2eafNXanI>
Date: Tue, 19 Nov 2002 09:58:18 -0800
References: <1de69529.-1@WebX.la2eafNXanI>
Lines: 17
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit