Thread View: borland.public.cppbuilder.database.multi-tier
2 messages
2 total messages
Started by Maverick Koe
Mon, 23 Nov 1998 00:00
TBookmark
Author: Maverick Koe
Date: Mon, 23 Nov 1998 00:00
Date: Mon, 23 Nov 1998 00:00
10 lines
761 bytes
761 bytes
Hi,
I am writing Multi-tier application by using C++Builder 3. How can
I use TBookmarkList:::Items[i] associate with TDataSet::GotoBookmark(void
*Bookmark). TBookmarklist:::Item[i] will return "AnsiString Bookmark",
however TDataSet::GotoBookmark will only take "void *" as an argument.
Thanks in advance!!
Regard,
Maverick
Re: TBookmark
Author: Josh Dahlby
Date: Tue, 24 Nov 1998 00:00
Date: Tue, 24 Nov 1998 00:00
17 lines
1191 bytes
1191 bytes
> I am writing Multi-tier application by using C++Builder 3. How can >I use TBookmarkList:::Items[i] associate with TDataSet::GotoBookmark(void >*Bookmark). TBookmarklist:::Item[i] will return "AnsiString Bookmark", >however TDataSet::GotoBookmark will only take "void *" as an argument. There are 2 types of Bookmarks. TBookmark which is a pointer and TBookmarkStr which is a long string (AnsiString). Use DataSet1->Bookmark = Bookmark; to use the AnsiString version. GotoBookmark, FreeBookmark and GetBookmark are used for the pointer version. The pointer version was introduced in Delphi1 before long strings (AnsiString) which was introduced in Delphi 2. Josh Dahlby Delphi R&D
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads