跳到主内容

搜索

搜索

How Can I Test For Page Number

评论

3 条评论

  • Avatar
    Legacy Poster

    I changed to use Format.Object("PageNum").Value and now the If..Then..Else works.

    0
  • Avatar
    Legacy Poster

    Sorry I was too quick.  It appears that the logic only works on the first record.  So Testing for page 1 works.  However testing for the last page does not.

     

    When I look at the ASC string for all pages other than one I am getting 636363.  I really only need to look for the first or last page so I can make this work.

     

    But I would rather understand why this is happening and what if I wanted to test for the last page?  How could I do that?

     

    Sorry this one is not solved quite yet.

     

    DaveO

    0
  • Avatar
    Ian Cummings
    版主

    Make sure your VBS is running in an event controlled VB script using the OnSerialize or OnIdenticalCopies event.

    0

请先登录再写评论。