To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=103098 Issue #|103098 Summary|Limitations to moveToBookmark method Component|Database access Version|OOo 3.1 Platform|Unknown URL| OS/Version|Windows XP Status|UNCONFIRMED Status whiteboard| Keywords| Resolution| Issue type|DEFECT Priority|P3 Subcomponent|none Assigned to|dbaneedsconfirm Reported by|py_samyn
------- Additional comments from [email protected] Thu Jun 25 12:13:47 +0000 2009 ------- Hello... I hope that I chose the right component... I wonder about a possible dysfunction of the methods "bookmark". The moveToBookmark method seems to work only for the first records (twelve to be precise in some examples), except if the form includes a table control. The attached base example contains two forms based on the same table illustrating this. The forms include a button launching both the same procedure. option explicit Sub Bookmark(PysEvent) dim PysBookmark as variant with PysEvent.Source.Model.Parent PysBookmark = .Bookmark .reload print "after reload" print .moveToBookMark(PysBookmark) end with End Sub Noted: * The reload is used for changing the shown record * The second print is for verifying the failing of the move (return false) * moveRelativeToBookmark reacts in the same way * The phenomenon is identical if we reach directly the form (instead of "going back up" from the button) How to test : * Open the form "NoTableCtrl", * Change the shown record (must be one before the twelfth) * Click on the button : the first record is shown because of the "reload", then the return to the bookmark is ok. * Show the last record (or whatever between twelve and the end), click on the button. The first record is shown because of the "reload", then the return to the bookmark is NOT ok) Same tests with the form " WithTableCtrl"... : everything is ok I guess that twelve is not always the "limit". The number varies maybe according to the size of the records ? I found neither Issue nor indication of such a limitation in the documentation... Tested and verified with * Vista 3.1 * Vista OOo310m13 * Vista OOoDev300m49 Best regards --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
