Solved

On a "TTAble.Open" command I get "Capability not Supported"

Posted on 2004-10-21
1,101 Views
Last Modified: 2011-10-03
Hello everyone,

I keep getting the error when I execute my script "Capability not supported".

When I traced into the error it happened at:   TTable.Open;

The TTable object is trying to open a DB2 database table using the EasyCom ACE400 dirvers...reading the table...then writing to a paradox table.

I am using:
-  Delphi 7
-  BDE 5.01
-  DB2 Database
-  Paradox

Please help....
0
Question by:VirtueTech
    9 Comments
     

    Author Comment

    by:VirtueTech
    Do I need to change .Open to another method?
    0
     
    LVL 27

    Expert Comment

    by:kretzschmar
    i could only guess that there may a problem with a fieldtype

    could you provide your db2-table structure?
    0
     
    LVL 11

    Expert Comment

    by:calinutz
    Did you try TTable.Active:=true; ?
    0
     

    Author Comment

    by:VirtueTech
    I tried Active = true ...didn't work...I get the same error
    It happens as soon as I go to Open the table so I don't think it would be a field type within the DB2 database.
    0
     

    Author Comment

    by:VirtueTech
    It used to work fine.

    Yesterday someone removed the BDE from our system. Then this all started to happened.

    When I upgrade the BDE from 5.01 to 5.2.02 it still says in the "about" page that the version is 5.01 even though the version in the properties dialog window for the BDEadmin.exe file is 5.2.02

    Any other ideas?
    0
     

    Author Comment

    by:VirtueTech
    I called Borland and they don't have any clues as to why this is happening.

    Please help ...anyone :)
    0
     

    Accepted Solution

    by:
    Just to "CLose the Loop" (Ido)

    This error was caused by the ACE EasyCom drivers. They needed to be updated to the Delphi 7 version.
    0
     

    Author Comment

    by:VirtueTech
    PLEASE  CLOSE  THIS  QUESTION
    0
     

    Expert Comment

    by:josharr
    I ran into the same error message, but found a completely different solution. I also got the "Capability not supported" error at a TTable.Open command. I am using:

    - Delphi 5
    - BDE 5.01
    - dBase IV tables

    In my case, the error was caused by a corrupted temporary dbf file. Although Delphi should delete all of the temporary dbf files when an application closes, it is really sloppy in this area. Once I manually deleted the temporary files, the error message went away and the application worked as normal again.
    0

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
    In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
    Need more eyes on your posted question? Go ahead and follow the quick steps in this video to learn how to Request Attention to your question. *Log into your Experts Exchange account *Find the question you want to Request Attention for *Go to the e…
    how to add IIS SMTP to handle application/Scanner relays into office 365.

    913 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    13 Experts available now in Live!

    Get 1:1 Help Now