2 Replies Latest reply: Nov 9, 2017 7:44 AM by yaman alsaadi RSS

    For Loop Error

    yaman alsaadi

      Hi guys,

      I have this code

       

      for i=1 to $(VNo.ofFields)

              let VFieldName=FieldName($(i),'$(vTableName)');

              if VFieldName='Key'  then

                 let VFieldvalue=FieldValue('$(VFieldName)',1);

                 for j=1 to VNo.ofFieldValues1

                    if VFieldvalue=FieldValue('$(VFieldName1)',j);

                       list$(j)=list$(j)&if(len(list$(j))>0,',')&chr(39)&vTableName&chr(39);

                 next j                                                      //Here i got a semantic error

               endif

            Next i

       

       

      can you help me please ?