Oracle Forms Iteration

HI All,

I am trying to iterate over the rows in the oracle forms. Could you please let me know how to do that once the first row is completed. How to go to the second row and continue?

Below is the screenshot of the rows in the oracle forms:

image

@Arabinda_Das

Scrape the element and check the selector of 2 rows, so you will find idx / row is changing as 1, 2, etc.,

Declare a variable with 0, eg: Rowcount = 0

you can place your logic, after that place Rowcount = Rowcount+1 which will increment and go to next row

Hope this may helps you

Thanks

@krisnu070184

Thank you for the response. I got to know the row is changing as 1,2 etc.

But should I put this in a for each loop to iterate over or how should I handle this and what about when it comes to the end of the rows and doesn’t find anything. How should I handle that ?

Thanks

@Srini84 , sorry for the wrong tag. Please find my above comment.

Thanks

@Arabinda_Das

Use Do While as earlier suggested

Use Get Text Activity to get the value in Num, So to iterate the Num you have to pass the value as above suggested

And the end of the row will not trigger any value and it is null, so use that condition in Do while

Hope this helps you

Thanks

1 Like

Thank you so much for the solution @Srini84

@Arabinda_Das

Mark as solution if this helps you

Thanks

1 Like