I.T. Discussion Community!
-Collapse +Expand
Delphi
Search Delphi Group:

Advanced
-Collapse +Expand Delphi To/From
To/FromCODEGuides
-Collapse +Expand Delphi Store
PRESTWOODSTORE

Prestwood eMagazine

August Edition
Subscribe now! It's Free!
Enter your email:

   ► MB LobbyPascal and Delphi Coding BoardDelphi Single User Apps Topic   Print This     

Strange bookmark error

Strange bookmark error in Delphi Single User Apps topic (part of our Pascal and Delphi Coding group).

Quick Search: Strange   bookmark   Strange bookmark   Strange bookmark error  
AndreiT
Romania
I am using Delphi 5 and Access 2000 database. I use a TAdoQuery to access a table - the table uses AutoNumber.
I use the code (see http://delphi.about.com/library/weekly/aa021202a.htm) to get the AutoNumber field.
var bok: TBookmarkStr;
begin
bok:=adoquery1.Bookmark;
adoquery1.Requery();
adoquery1.Bookmark:=bok;
end;
When I install the program on a computer that has only WIn98 + MDAC2.6 + Jet4 installed I get the error "Bookmark is invalid' . I get the same error on Win XP.
If on the same computer I install MsAccess (MsOffice 2000) and then I uninstall it immediately (never run it !) then my program works perfectly and no error is generated.
My clients do not have MSOffice - they only have a computer and Win 98 or WInXP (no other software installed on it, but my database).
How can I get my program to run without the bookmark error ?? It is obviouslly some problem with the drivers - but I tried with MDAC2.51, 2.6 and 2.7 - and the error still appears (until I Install and uninstall MS Office)
If anyone knows what drivers, dll etc. I need to install please let me know
 Posted 17 years ago (Thread Starter)
Comment Quote
About AndreiT -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread but email is NOT VERIFIED.
Email Not Verified!
Once email is verified, we will review and approve the account.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #8525, 1 reply
Thread Started 12/3/2002 6:02:00 AM
View Counter=3835
Last Reply Posted 1/24/2018 3:47:10 AM)
Location=Romania  
Joined=17 years ago   MB Posts=1  
Most Recent Post
PS_718
-- --

Actual gamers who manage their own groups. Dream League Soccer You are needed to hire gamers for your group.

 Posted 19 months ago
Comment Quote
About PS_718 -Collapse +Expand
Visit Profile
Membership pending.
Member subscribes to this thread with a verified email.
Member pending approval.
Web Presence Hidden.
Once above is taken care of, full Profile content will display including back links, about me, my message, custom Profile html, social networking links, message board signature, company profile, etc.

Post ID #16987 (Level 2) and Parent is 8525
Reply Posted 1/24/2018 3:46:43 AM
Location=-- -- 
Joined=19 months ago   MB Posts=1  

Revive Thread!

Add a comment to revive this old thread and make this archived thread more useful.

Write a Comment...
Full Editor
...
Sign in...

If you are a member, Sign In. Or, you can Create a Free account now.


Anonymous Post (text-only, no HTML):

Enter your name and security key.

Your Name:
Security key = P1251A1
Enter key:
Icon: A Post    Thread    Idea    Important!    Cool    Sad    No    Yes    Includes a Link...   
Thread #8525 Counter
3835
Since 4/2/2008
Follow PrestwoodBoards on: 


©1995-2019 PrestwoodBoards  [Security & Privacy]
Professional IT Services: Coding | Websites | Computer Tech