Skip to Content
0
Former Member
Dec 01, 2006 at 10:17 AM

Dynamic Table creation

65 Views

Hi,

I was trying to take number of fields from a context node dynamically. But after executing the code I am getting the number of fields as null. Can anyone tell me what is wrong with my code?

This is the code fragment:-

IWDNodeInfo tabNode = wdContext.nodeName().getNodeInfo();

IStructure structure = tabNode.getStructureType();

int NoOfFlds =(int)structure.getNumberOfFields();

Thanks in advance,

Indu