- Create Two Tables with fields (Customername, Itemname, Amount - Table1,Customername, Name ,Qty - Table2 )
3.Add the fields in design node.
4.Create a new method in table you want to display(i.e Display the itemname in the name field of Table2)
Display ItemName Test()
{
Display2 display2;
Display1 display1;
//ItemName name;
select display2 where display2.CustomerName== this.CustomerName;
return display2.ItemName;
}
5.Now go to Form -> Design Node-> Name field properties DATASOURCE as Table2 & DATA METHOD as Test() method name
6.Now you can see the output i am getting the Item name in my Name field
No comments:
Post a Comment