Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

AddBookMark

edited October 2003 in General
Hello,
what do I have to pass as parameter to addbookmark method? I try this but
the compiler says I can't assign a Pointer to an integer.

ppDataPepline.AddBookmark(ADataset.GetBookmark);

Thanks
Marco

Comments

  • edited October 2003
    Hi Marco,

    The TppDataPipeline.AddBookmark procedure takes an Integer as its arguement
    which defines the bookmark location. Then when you decide to return to the
    bookmark using GotoBookmark method, you will need to pass that same integer.

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
  • edited October 2003
    Hi Marco,

    I'm sorry, it turns out you can simply typecast your DataSet.GetBookmark as
    an Integer and it should work correctly.

    ppDataPipeline.AddBookmark(Integer(ADataset.GetBookmark));

    --
    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.