How can I get Field's name ?

Feb 5, 2013 at 12:37 AM
Hi all,

From my code " sfTestmap.CellValue(NumFields, NumShapes) "
I got cellvalue in every NumFields and NumShapes.

Assume I got sfTestmap.NumFields = 8 Then
How can I get Field's name in each Field ?

Thank you for your help.
Coordinator
Feb 6, 2013 at 3:21 PM
you need to create a loop. Pseudo-code:
for (i=0;i<NumFields;i++)
{
  sf.get_Field(i).Name;
}

If you use VB.NET you can skip the get_ part, making the call sf.Field(i).Name

Paul
Feb 7, 2013 at 5:36 AM
Hi Paul

I got it.
Thank you very much.

jacky