Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relations into a DataSet
Message
 
To
13/10/2006 10:09:43
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01161644
Message ID:
01161775
Views:
13
Hi Cetin.

>I'm not sure that syntax would work.

You are probably write, this wasn't the way I used it. I did it trying to bind a field to an XtraReport at runtime. I got to the relation created, then got stuck in how to bind the field from the child to the label in the Master-Detail band. I was binding referencing the child table, and then saw that I had to pass the Relation created. This is the syntax XtraReports expects :
Me.lblCodGr.DataBindings.Add("Text", DataSet1.Tables(0), "plcg_CodeGroup")
Me.lblDescr.DataBindings.Add("Text", DataSet1.Tables(0), "plcg_Name")
Me.lblCodIt.DataBindings.Add("Text", DataSet1, "Relation1.plci_CodeItem")
Me.lblDescrIt.DataBindings.Add("Text", DataSet1, "Relation1.plci_Name")
I only managed to make it work when I put the "Relation1." referencing the child Name. That's when I got the question. I didn't face the problem because I prefix my table fields with some characteres from the table name.


> However referencing in parent or child over a relation is not only possible but more powefull in .Net IMHO (IOW I wish VFP imported those capabilities:).

I saw your examples, and it does seem powerful.
When I moan about not having VFP in .NET, it's just me showing my lack of knowledge. :)

One last question, just out of curiosity ... why is it you don't want us to assign stars to your help?

THANKS A LOT.
Ivan
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform