problem with TJVDBGrid

Posted on 2011-04-20
Last Modified: 2012-05-11
Hi Experts,
I am trying to open a form in a project that has a JVDBGrid on it.(two of them). The grid names are RTUGrid and AlarmGrid. I get errors like "Error reading: RTUGrid.SelectColumnsDialogStrings.RealNamesOption: Property RealNamesOption does not exist. Igrone the error....."
This is my first time working with this application.
I am guessing this app was built on a machine with a newer version of Jedi.
I have attached a file with all the error messages screanshots.
Any ideas what the problem could be and how to fix it? error-screenshots.doc
Question by:QurbanDurrani
    LVL 32

    Assisted Solution


    Get the latest version of JVDBGrid
    LVL 36

    Accepted Solution

    open the dfm in notepad
    check what the property contains ... boolean, string, etc
    make a backup of the pas and dfm

    and then open it and hit ignore
    the missing properties will be filled in and the not existing ones will be removed

    Author Comment

    Thanks for the response guys.
    Greet I will try your suggestion when I get back to the office in the morning, however, i am not very sure as to what I am trying to do here. lets see if my understanding is correct. so I follow the following steps:
    1) open the .dfm file for the form in question in notepad.
    2) Make a backup of the .pas & .dfm files for the form in question, meaning what then delete the original ones?. Now if both of these files have been deleted, how do I open the form?
    3) I am not sure what you are trying to do here. Would you mind explaining?
    LVL 3

    Assisted Solution

    I agree with ewangoya,

    Get the latest version of the Project JEDI components, this should resolve your problem.

    TComComboBox appears to be part of the ComPort Library

    Don't forget to remove/uninstall the older components prior to installing the newer ones!
    LVL 22

    Expert Comment

    by:Ferruccio Accalai
    A JVCL update should solve it, but could be not needed to you (Lots of additional stuffs that maybe you don't need)
    Geert was simply meaning to look what values those properties contain using notepad (opening the .dfm file and reading it in text format).
    Of course is strongly suggested to make a backup of the files (form.dfm and form.pas) but NOT TO DELETE THEM (He never said this)!!!

    Then, answering "ignore" at the error reading form exception, you should miss those properties but still could open the form

    Author Comment

    Thanks for the advice guys.
    I looked at the .dfm file in text and saerched for the property names in question. They are followed by what looks like squares. I am assuming these represent some unprintable characters, and maybe even nulls. I am guessing that these properties are not being used. Do you think this guess is a good one?
    In the question part when I stated that the application mught have been built on a machine with a newer version of JVCL, it was merely a guess. Do you think from what we know, this guess is a good one?
    Thanks for all your help.
    LVL 22

    Assisted Solution

    by:Ferruccio Accalai
    Well, your guess about the JVCL newer version seams right.
    In fact, afaik, thos TJVDbgrid properties exist since at least 2005, so you should have a really old version af the JVCL installed.

    Note that maybe the original developer of your project could have used other JVCL objects so you could have more errors realetd to other objects.

    At this point the best way should be to upgrade your JVCL

    Author Closing Comment

    Thanks guys.

    Featured Post

    Gigs: Get Your Project Delivered by an Expert

    Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

    Join & Write a Comment

    This article explains how to create forms/units independent of other forms/units object names in a delphi project. Have you ever created a form for user input in a Delphi project and then had the need to have that same form in a other Delphi proj…
    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…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

    745 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

    15 Experts available now in Live!

    Get 1:1 Help Now