Solved

Master and Child ADO tables joined by a Unicode field

Posted on 2004-04-28
2
240 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

790 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