2 Replies Latest reply on Jan 21, 2009 8:01 AM by nramirez1978

    PORTAL ROW NOT WORKING. IT ALWAYS GOES TO ROW 2

    nramirez1978
        • 1. Re: PORTAL ROW NOT WORKING. IT ALWAYS GOES TO ROW 2
            

          There are 2 solutions to this problem (one cause though :) )

          1) You probably have defined in the relation that it is allowed to create records over the relation, hence the last row is a row that does not exists yet. You can change the relation not to allow for the creation of records.

          2) You can also leave the relation definition as it is and add the script step:

           portalrow (select; previous)

           

          If the above is not the case then you may want to enter something in the first portalrow that has not anything entered in a specific field ... then you can do:

           

          Go to Portalrow ( select: first )

          Loop

            If ( isempty (field )

              set field (fieldname ; $value)

            end if

            Go to Portalrow (select: next ; exit after last )

          End Loop

           

          regards, Menno

          • 2. Re: PORTAL ROW NOT WORKING. IT ALWAYS GOES TO ROW 2
            nramirez1978
               Thanks Menno.. Im going to give it a try...