Sometimes, If I call GetBookmark, close the query, reopen the query and call BookmarkValid on this bookmark, I get an access violation. On some machines the program even crashes without any message.
Are you able to simply return "false" under this condition? It did work without any problems with BDE.
Bookmarks - access violations on imporper use
Ludek Stauber
Do you mean the ProviderFlags.pfInKey? Or something else?
Is there a convenient way to store the value of all this keys to a variable and to jump to their position after? Like using TBookmark: GetBookmark, GotoBookmark, FreeBookmark? Or do I have to program it myself - iterate over fields, check this flag, store to a variant array and then Locate?
Is there a convenient way to store the value of all this keys to a variable and to jump to their position after? Like using TBookmark: GetBookmark, GotoBookmark, FreeBookmark? Or do I have to program it myself - iterate over fields, check this flag, store to a variant array and then Locate?