Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Master and Child ADO tables joined by a Unicode field

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

Hello everybody This Article will show you how to validate number with TEdit control, What's the TEdit control? TEdit is a standard Windows edit control on a form, it allows to user to write, read and copy/paste single line of text. Usua…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
Please read the paragraph below before following the instructions in the video — there are important caveats in the paragraph that I did not mention in the video. If your PaperPort 12 or PaperPort 14 is failing to start, or crashing, or hanging, …
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses

876 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