Results 1 to 4 of 4

Thread: Access database compacten

  1. #1

    Access database compacten

    Ik ben sinds een tijdje bezig met die online ado cursus op delphi.about.com
    op zich lukt mij het aardig maar nou kom ik toch een probleem tegen waar ik niet echt uit kom.

    Het gaat om hoofdstuk 16 - Compacting an Access database with ADO and Delphi
    http://delphi.about.com/library/weekly/aa091801a.htm

    Het blijkt dus als ik via Import Type Library, Microsoft Jet and Replication Objects 2.x Library (Version 2.x) wil installeren dat dit fout gaat met o.a ActiveConnection property + wat andere fouten.
    Nou komt hij wel met een oplossing waar ik niet veel mee kan c.q. snap. Nou blijkt dat je o.a. ActiveConnection property handmatig moet aanpassen. hoe moet dat??
    En hij zegt dat ook de andere 'foutjes' moet oplossen ik weet niet welke ernog komen omdat ik eigenlijk al direct

    Kan iemand mij dit eens uitleggen zodat ik weer wat verder kan spelen! Ik heb geen Delphi 5 tot me beschikking

    alvast bedankt,

  2. #2
    Als ik het artikel goed begrijp krijg je een foutmelding bij het compileren van de unit. Dat kun je oplossen door de ActiveConnection writable te maken. Hoever kom je nu? Krijg je inderdaad fouten bij het compileren?
    Marcel

  3. #3
    Maar hoe krijg ik de Active Connection writable?

    Hij valt over het volgende

    function TReplica.Get_ActiveConnection: Idispatch;
    Begin
    Result := DefaultInterface.ActiveConnection;
    end;

    Ik krijg de volgende foutmeldingen

    Undeclared Identifier: 'ActiveConnection'
    2x Cannot assign to a read-only property
    could not compile used unit \..\Imports\JRO_TLB.pas

  4. #4
    Ik kan de dll niet eens importeren, maar dan zal waarschijnlijk te maken hebben met het feit dat ik geen Access heb geïnstalleerd. Is er iemand met Access en Delphi 5 die de unit evan kan importeren en posten?
    Marcel

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. applicatie met access database installeren
    By codex32 in forum Databases
    Replies: 5
    Last Post: 03-Aug-04, 22:50
  2. Access Plaatjes in delpihi database
    By Master X in forum Databases
    Replies: 10
    Last Post: 05-Feb-04, 15:49
  3. Kopie?½ren van Access Database
    By Peter Wijnhoven in forum Databases
    Replies: 12
    Last Post: 25-Jul-03, 21:19

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •