Link to home
Start Free TrialLog in
Avatar of QurbanDurrani
QurbanDurrani

asked on

problem with TJVDBGrid

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
SOLUTION
Avatar of Ephraim Wangoya
Ephraim Wangoya
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of QurbanDurrani
QurbanDurrani

ASKER

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?
Thanks
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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
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.
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks guys.