Results 1 to 2 of 2

Thread: How to do looping for consecutive rows?

  1. #1
    Junior Member
    Join Date
    Jan 2008
    Answers
    11

    How to do looping for consecutive rows?

    Hi...

    My application contains a row which is having several fields like(cost level,GL cost,percent of cost,plus amount...).I am importing the data from excel sheet for the above mentioned field and fetching in the respective field.

    Instead of fetching the data in one row in application,i want to put the same data in consecutive rows also.

    My excel sheet having consective no..of datas even.

    Main thing is i dont want to touch the hardcore data.bcos tomorrow the no..of rows may change in application.

    I know this is possible by using looping.but how to do looping.


  2. #2
    Expert Member
    Join Date
    Jan 2007
    Answers
    211

    Thumbs up Re: How to do looping for consecutive rows?

    1. At runtime get the Count of the Rows that ur Applicatio have.

    2. Set the counter Limit to ur Applications Row Count.


    intCntr = Browser(b).Page(p).WebTable(W).GetROProperty("row count")

    ''I am not sur ewhat ur control is like please check for the RO Property.

    For intC = 0 to intCntr-1

    ''Code for setting the data in ur rows.

    Next

    Please revert with detail specs if it doesn't solve the purpose.


    regards,
    Nawab


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact