Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Relations into a DataSet
Message
From
13/10/2006 11:20:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01161644
Message ID:
01161782
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.

Well I get this question a lot (in public and private) I think I should remove that from my signature. It's really a long story. In summary, I added it when someone started to question posters who assigned stars to me when there were almost exactly same answer sent by someone else earlier. So I got it as, rather than being a solution marker, it is sensed as a credibility or something like that marker. I feel I don't need it then.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform