Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Master and Child ADO tables joined by a Unicode field

Posted on 2004-04-28
2
Medium Priority
?
249 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
[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 27

Accepted Solution

by:
kretzschmar earned 1000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

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

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…
Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses

715 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