Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
using queries in functions (Store Procedures)
#1
Not Solved
Hi all,

Code:
if not exists (select l.Locality from TgnTerritorydtl tdtl, tgnLocality l, Tgncompany C
where
l.localityid= tdtl.localityid and c.companyid=l.companyid and
c.company='company' and l.Locality='123')
print 'WARNING: Locality not Exists'
else
Print 'Locality Exists'

now my issue is : How do i use this type of query or store procedure in QTP 10,
Note: while creating DBcheckPoint it could not create. and while pasting this in function too QTP 10 shows errors, so how do i do , if kindly help,
Waiting for the reply thank you.
Note 1: while replacing print with MsgBox too errors were found.
Thank you,
Samson.B
Reply


Messages In This Thread
using queries in functions (Store Procedures) - by samson - 03-12-2010, 12:41 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  VB Script to separate upper & small Letters from a string and store in excel pradeep537 1 2,207 08-05-2016, 12:26 AM
Last Post: Ankur
  Perform some functions whenever QTP Stop button is pressed smartkarthi 2 3,215 08-22-2013, 11:43 AM
Last Post: smartkarthi
  exit parent functions as well Shridevi.Salagare 3 3,853 07-31-2013, 12:15 AM
Last Post: Ankur
  Datatable in functions shwetasharma 2 3,510 03-26-2013, 08:00 AM
Last Post: sams001
  Problem with using two functions in the same action mhanaan 2 3,042 09-14-2012, 10:09 PM
Last Post: mhanaan

Forum Jump:


Users browsing this thread: 4 Guest(s)