Issue related to DB connectivity.. - Printable Version +- Micro Focus QTP (UFT) Forums (https://www.learnqtp.com/forums) +-- Forum: Micro Focus UFT (earlier known as QTP) (https://www.learnqtp.com/forums/Forum-Micro-Focus-UFT-earlier-known-as-QTP) +--- Forum: UFT / QTP Beginners (https://www.learnqtp.com/forums/Forum-UFT-QTP-Beginners) +--- Thread: Issue related to DB connectivity.. (/Thread-Issue-related-to-DB-connectivity) |
Issue related to DB connectivity.. - galstar - 08-17-2010 Hi, Plz find below the code for DB connectivity and help me to resolve the issue... ----------------------------- '-----------------------* Function to get Price by Mfg part no. *---------------------- Code: Function Connect_to_db(Byval mfgprt) '------------*GET VALUE OF MFG PART# FROM G.SHEET & SET PRICE OUTPUT VALUE in G.SHEET*------------- Code: row_cnt=datatable.getrowcount ----------------------------- Now what i want to do is that,while reading value from datasheet or saving value to datasheet i want to use local sheet not the global sheet...So what will be the syntax for that.. a=datatable.value("mfg",1) what will be teh change in this syntax. mfg col is in the local datasheet..i have 2-3 local datasheet with diff names..... Thanks |