Child to Parent relation

From: Artboy717 (artboy717_at_hotmail.com.NOSPAM)
Date: 12/16/04


Date: Thu, 16 Dec 2004 17:50:19 +0200

Hello!

I have two tables in SQL server 2000, clients and occupations.

I need to show to a form the client info witch contains also the occupation
info,

 i created a relation named "FK_Clients_Occupations" and tried to do the
following:

Me.txtOccupationName.DataBindings.Add(New Binding("text", Me.DSMedical,
"Clients.FK_Clients_Occupations.OccupationName"))

but i get an error: "Cannot create a child list for field ..." is there a
workaround?

txtOccupationName is a textbox and DSMedical a strong typed dataset. Thanx!

George.


Loading