can we create recorset with out using database connection in
vbscript?

Answer Posted / amarendra kothuru

You can create recordset object without using database
connection but not able to access data from Database.
If youn want to access data from database, then you should
create db connection. Using connectionstring only, you can
execute SQl query and able to save the results into
recordset.

Even if you create recordset object without db connection,
you might unnecessarily increase you code. Nothing will be
happen.

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

regular expression in qtp standar check point for months from accepting months from january to december only

1475


If object is not recognized by qtp but the object is standard object what is your approach?

590


How often were they executed?

2039


How to replay a script in qtp?

614


Is it possible to call from one action to another action in qtp?

564






any body can you help me what is the script to automate an comand promt

1978


HI, pls help me on this, iam not able to capture getcelldata value in javatable... msgbox javawindow("").javatable("").getcelldata(3,3) but it diaplays empty...

2397


How to create Reusable and Multiple Actions?

1711


Could i know how how to explain keyword driven framework in interview? If any body knows plz send the explanation.

1611


Define Environment Variable in UFT and its uses?

610


Where we can use the synchronization?

571


How do you synchronization point through DP?

599


Could you please any one give code for the following ? Scenario : Suppose a excel file contains 10 records and earch have 5 fields. how can i input this excel file for datadrive wizard ? Please explain

1461


How you can delete excel file in qtp?

599


How Can I find the least value in a bunch of variables using qtp.. E.g.:- A = 210, B = 212, C = 60, D = 111 I don’t want to write bunch of lines for this…. Is there a way to get the result in one line…..

1625