ravi kiran wrote: > Hello, > > I am a developer working on postgres. I just wrote a function which ll > return a refcurosor as shown below. [snip] > i have problems accessing this function from my middle tier i.e VC++. > > I wrote a VC statement to retrieve values from this refcursor using a record > set. Please show us your code. Also, what access method are you using? "VC" isn't a database access method. Are you using libpq? ODBC? LINQ? -- Craig Ringer