Solved

DevExpress Quantum TreeList 4 to 5: Undeclared identifier: 'FieldName'

Posted on 2011-03-03
2
694 Views
Last Modified: 2012-05-11
The exact code where the error occurs:
Result := treeview1.Columns[1].DataBinding.FieldName;

Component name:
TcxDBTreeList

The Error:
z_Search.pas(4188): Undeclared identifier: 'FieldName'

Thoughts:
There's no DataBinding.FieldName, how can I fix this code? I obviously can't just comment it because it's a required line.

Thanks.
0
Comment
Question by:John86a
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 32

Accepted Solution

by:
Ephraim Wangoya earned 500 total points
ID: 35028128

You have to type cast it

TcxDBTreeListColumn(treeview1.Columns[1]).DataBinding.FieldName
0
 

Author Closing Comment

by:John86a
ID: 35029594
Wow, thanks!
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Whether you’re a college noob or a soon-to-be pro, these tips are sure to help you in your journey to becoming a programming ninja and stand out from the crowd.
Progress
Introduction to Processes

690 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