A Wee Tiny Blog

Home || Downloads || Documentation || Change Log || License || Roadmap || Contact


Method: GetMaxEntryId


This function takes no parameters


You may encounter a situation where you'll need to know what the highest valid entry ID currently is. When this happens, you can use this method to retrieve it.

Return value

If this method fails for any reason, it returns -1. Otherwise, it returns the highest valid entry ID.

Note: while this is the most recent post by ID, the datestamps on posts can be altered. This means that it may not be the last post in chronological order. Use GetMostRecentEntry instead if you want to find that post.


Hosting generously provided by
Get A Wee Tiny Blog at SourceForge.net. Fast, secure and Free Open Source software downloads