on 11-04-2008 9:22 AM
Hi,
My task is to read a table values and save it as a text file.
I 've problem in reading the table values i.e. getting the row count of the table.
Please forward ur suggestions.
thanks,
RPN
Hi
To read the table row value
WdContext.node<Your_node_name>().get<node_name>ElementAt(index_value).get<attribute_name>();
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks a lot for ur support... and sorry for the delayed reply...
Thanks,
RPN
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Following sample code iterate through a table of sales orders
for(int x=0; x<wdContext.nodeSales_Orders().size(); x++)
{
ISales_OrdersElement element = wdContext.nodeSales_Orders().getSales_OrdersElementAt(x);
String batch = element.getBatch();
//Similarly you can access rest of the attributes too.
}
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
11 | |
10 | |
9 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.