on 03-14-2008 9:37 AM
hai all,
In database there is a table with data which is split and available in 5 rows.I need to get all these 5 rows displayed in the textedit UI.
When i run a loop only the last row or first row is set in the text edit.
I think array should be used for this but plz help me in creating context attribute for this and getting all the 5 rows displayed in my text edit.
Hi,
Dont reply for this threads it seems to be a point hunting between vinoth sekar and Noel Maria Deepak Iruthayaraj
Hope some moderators see this .
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Thank you
I want to dispaly the text of next row in next line
regards
Vinoth
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
1)Create a value Attribute and bind it to textedit.
2)Loop through the table and concatenate all the values to a String variable
String str = " ";
for(int i =0 ; i< <table size> ;i++)
{
str = str + " " +wdcontext.node<table>.get<value>();
}
3) set the str value to tha value attribute.
wdcontext.currentcontextelement.set<valueattribute>(str);
Regards
Noel
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.