3 Replies Latest reply on Mar 3, 2012 7:21 PM by datastride

    GetFieldByName or was in all in a dream?

    StephenWonfor

      Hi

       

      I have some code that does parsing of eMail into a number of records (two fields - question and response) and uses SetFieldByName to distribute the data into the mainv database. Basically I am using a reference table so that when I find "FirstName:" in the question field of a data row I know to pull back the field name "Name_First" as pass that into $Field and then write the value in the response field into the target field.

       

      Set Field By Name [ "webform_DOGS|_gtWebLink|::" & $Field; WebForm::Response ]

       

      What I am wondering about is whether I can see if data exists in the field prior to writing into it. I see we have GetField, and GetFieldName. Is there anyway to simulate a GetFieldByName?

       

      Stephen

       

      .....................................................................................................................................................................

       

      "I am always doing that which I can not do, in order that I may learn how to do it." --- Pablo Picasso