![]() | ![]() Products ![]() ![]() ![]() ![]() |
Home » Technical Support » DBISAM Technical Support » Support Forums » DBISAM General » View Thread |
Messages 1 to 3 of 3 total |
![]() |
Sun, Apr 17 2011 6:19 PM | Permanent Link |
JonD | I recall (but can not find the reference) that there might
be an issue implementing bookmarks with DBISAM and Delphi XE. Anyone able to jog my memory as I'm having troubles with returning to a saved bookmark and I'm not sure if it's my code or the differences inherent in Delphi XE Thanks, JonD |
Sun, Apr 17 2011 9:17 PM | Permanent Link |
Jan Ferguson Data Software Solutions, Inc. ![]() | Jon,
Due to the way that strings are handled in Delphi XE, make certain that you use TBookmark instead of TBookmarkStr. Here is some code from a DXE coded application. procedure TfrmMain.PrintCurrentLineupClick(Sender: TObject); var BM: TBookmark; begin //Bookmark the record BM := dmData.tblLineup.Bookmark; //Do something else with the records ... //Return to the bookmarked record dmData.tblLineup.Bookmark := BM; end; HTH... -- Jan Ferguson [Team Elevate] Jon Lloyd Duerdoth wrote: > I recall (but can not find the reference) that there might > be an issue implementing bookmarks with DBISAM and Delphi XE. > > Anyone able to jog my memory as I'm having troubles with returning > to a saved bookmark and I'm not sure if it's my code or the > differences inherent in Delphi XE > > Thanks, > JonD |
Sun, Apr 17 2011 9:54 PM | Permanent Link |
JonD | Jan,
I was using tBookmark not tBookmatkstr but was using the wrong way to get back. Thanks for the tip. JonD On 2011-04-17 9:17 PM, J. B. Ferguson wrote: > Jon, > > Due to the way that strings are handled in Delphi XE, make certain that > you use TBookmark instead of TBookmarkStr. Here is some code from a DXE > coded application. > > procedure TfrmMain.PrintCurrentLineupClick(Sender: TObject); > var BM: TBookmark; > begin > //Bookmark the record > BM := dmData.tblLineup.Bookmark; > //Do something else with the records ... > //Return to the bookmarked record > dmData.tblLineup.Bookmark := BM; > end; > > HTH... |
This web page was last updated on Monday, July 14, 2025 at 02:20 AM | Privacy Policy![]() © 2025 Elevate Software, Inc. All Rights Reserved Questions or comments ? ![]() |