Solved

Master and Child ADO tables joined by a Unicode field

Posted on 2004-04-28
2
234 Views
Last Modified: 2010-04-05
Hi,
Does anybody know how to join two ADO tables with a Unicode field?
The child table cannot display the related records when it is joined to the master table.
I think the problem lies with using the MasterFields property of the ADOTable because it supports only string and not widestring.
Is there other way to join two ADO tables without using the MasterFields property?
0
Comment
Question by:mayflower8
2 Comments
 
LVL 27

Accepted Solution

by:
kretzschmar earned 250 total points
ID: 10938154
listening -> no experience with Unicode

maybe you could setup a own relationship,
without using the master... - properties
(just by using the afterscroll-event of the masterdataset,
and then filtering or changing the where-clause on the childdataset
in this event)

meikl ;-)
0
 
LVL 1

Author Comment

by:mayflower8
ID: 10947432
Hi,
Unicode is also quite new to me.  I have only started to work with it for just a couple of weeks.
Your suggestion to setup own relationship, using the afterscroll event and where clause is brillant!
Filter property is the same as masterfields property because it is meant for string and not widestring.
Thanks! :)
mayflower8
 
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
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…
This tutorial demonstrates a quick way of adding group price to multiple Magento products.
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

919 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

18 Experts available now in Live!

Get 1:1 Help Now