Click here to Skip to main content
15,905,325 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: what does IPEndPoint(IPAddress.Any, 0) means Pin
Dave Kreskowiak27-Jul-07 6:44
mveDave Kreskowiak27-Jul-07 6:44 
Questionretaining tab index Pin
hepsy.i26-Jul-07 22:50
hepsy.i26-Jul-07 22:50 
AnswerRe: retaining tab index Pin
Dave Kreskowiak27-Jul-07 6:39
mveDave Kreskowiak27-Jul-07 6:39 
QuestionPlease help me in hurry! Pin
chansothea26-Jul-07 22:27
chansothea26-Jul-07 22:27 
AnswerRe: Please help me in hurry! Pin
Christian Graus26-Jul-07 23:09
protectorChristian Graus26-Jul-07 23:09 
GeneralRe: Please help me in hurry! Pin
Dave Kreskowiak27-Jul-07 1:49
mveDave Kreskowiak27-Jul-07 1:49 
QuestionStored Procedures - Recordset Pin
Werries26-Jul-07 22:22
Werries26-Jul-07 22:22 
AnswerRe: Stored Procedures - Recordset [modified] Pin
andyharman27-Jul-07 1:27
professionalandyharman27-Jul-07 1:27 
Hi Werries

Your problem lays with the way that you are opening your recordset, rather than with the stored procedure. ADO is using the "adOpenForwardOnly" cursor-type in your second example. Try:
rsRecord.Open "[dbo].[FetchCustomers]", cnDatabase, adOpenKeyset, adLockReadOnly,  adCmdStoredProcedure
There are several other overloads for the Open method, including one that allows you to open the recordset from a command object.

Regards
Andy


If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message".

GeneralRe: Stored Procedures - Recordset Pin
Werries27-Jul-07 2:07
Werries27-Jul-07 2:07 
AnswerRe: Stored Procedures - Recordset Pin
andyharman27-Jul-07 3:36
professionalandyharman27-Jul-07 3:36 
GeneralRe: Stored Procedures - Recordset Pin
Werries27-Jul-07 5:08
Werries27-Jul-07 5:08 
GeneralRe: Stored Procedures - Recordset Pin
andyharman27-Jul-07 6:11
professionalandyharman27-Jul-07 6:11 
QuestionMigration Of VB6 app to Vb .NET Pin
birajendu26-Jul-07 21:37
birajendu26-Jul-07 21:37 
AnswerRe: Migration Of VB6 app to Vb .NET Pin
Christian Graus26-Jul-07 21:43
protectorChristian Graus26-Jul-07 21:43 
QuestionCrystal Report Porblem Pin
help as an alias26-Jul-07 19:47
help as an alias26-Jul-07 19:47 
AnswerRe: Crystal Report Porblem Pin
Paul Conrad26-Jul-07 20:19
professionalPaul Conrad26-Jul-07 20:19 
GeneralRe: Crystal Report Porblem Pin
help as an alias26-Jul-07 20:24
help as an alias26-Jul-07 20:24 
GeneralRe: Crystal Report Porblem Pin
Paul Conrad26-Jul-07 20:31
professionalPaul Conrad26-Jul-07 20:31 
GeneralRe: Crystal Report Porblem Pin
help as an alias26-Jul-07 20:35
help as an alias26-Jul-07 20:35 
GeneralRe: Crystal Report Porblem Pin
Paul Conrad26-Jul-07 20:37
professionalPaul Conrad26-Jul-07 20:37 
GeneralRe: Crystal Report Porblem Pin
help as an alias26-Jul-07 20:40
help as an alias26-Jul-07 20:40 
GeneralRe: Crystal Report Porblem Pin
Christian Graus26-Jul-07 20:38
protectorChristian Graus26-Jul-07 20:38 
GeneralRe: Crystal Report Porblem Pin
Paul Conrad26-Jul-07 20:35
professionalPaul Conrad26-Jul-07 20:35 
AnswerSTOP !!!! Pin
Christian Graus26-Jul-07 20:21
protectorChristian Graus26-Jul-07 20:21 
GeneralRe: STOP !!!! Pin
Paul Conrad26-Jul-07 20:27
professionalPaul Conrad26-Jul-07 20:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.