QTP : Import data from a data source at run time

In my Data Sheet, I want to import Data from a data source at run time. The problems are:

1) I go to data sheet and do sheet-->Import-->From Database. Then i write a query to select data. as soon as I finish, the a new column is created and data is fetched from data table. I want this SQL query to get executed only at run time. How do i control when the query gets executed.?

2) Every time, a new column is added to data sheet even if the same column exists. How do I populate the existing columns only?

Showing Answers 1 - 3 of 3 Answers

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions