I am working on a VB app that pulls from a pgAdmin database. After retrieving the recordset, I write the results to an Excel file.
My dilemma is that I can't figure out how to move from the current record to the next record in the recordset. My old VB standby, "MoveNext", doesn't seem to work with a forward-only cursor, and I can't seem to find any help that explains how the forward-only cursor moves forward.
Two questions: 1) Does pgAdmin use forward-only cursors exclusively? If not, how do I change the cursor setting?
2) Is there a means in VB to move from the current record to the next consecutive record?
Any and all advice is welcome.
Thanks!
A
My dilemma is that I can't figure out how to move from the current record to the next record in the recordset. My old VB standby, "MoveNext", doesn't seem to work with a forward-only cursor, and I can't seem to find any help that explains how the forward-only cursor moves forward.
Two questions: 1) Does pgAdmin use forward-only cursors exclusively? If not, how do I change the cursor setting?
2) Is there a means in VB to move from the current record to the next consecutive record?
Any and all advice is welcome.
Thanks!
A