Click here to Skip to main content
15,923,222 members
Home / Discussions / Database
   

Database

 
GeneralRe: Testing on a Null value Pin
gharry22-Dec-05 10:50
gharry22-Dec-05 10:50 
GeneralRe: Testing on a Null value Pin
Colin Angus Mackay22-Dec-05 11:07
Colin Angus Mackay22-Dec-05 11:07 
AnswerRe: Testing on a Null value Pin
gharry22-Dec-05 10:26
gharry22-Dec-05 10:26 
QuestionConnecting to a remote DB from a service Pin
Marc Clifton22-Dec-05 4:12
mvaMarc Clifton22-Dec-05 4:12 
AnswerRe: Connecting to a remote DB from a service Pin
enjoycrack22-Dec-05 22:02
enjoycrack22-Dec-05 22:02 
QuestionSelecting a range of sql query results Pin
Rama Sharma22-Dec-05 0:41
Rama Sharma22-Dec-05 0:41 
AnswerRe: Selecting a range of sql query results Pin
Colin Angus Mackay22-Dec-05 8:39
Colin Angus Mackay22-Dec-05 8:39 
QuestionTime consuming Stored Proc + Progress bar Pin
c121hains21-Dec-05 14:32
c121hains21-Dec-05 14:32 
I have this giant stored procedure executing many small queries. In between these queries, i want to be able to return a record or just some number to the record set so that i can update the value for a progress bar in my program. I have the asyncFetch part set when i do an open:

Set mRS = New ADODB.Recordset
mRS.CursorType = adOpenStatic
mRS.CursorLocation = adUseClient
mRS.LockType = adLockBatchOptimistic
mRS.Properties("Initial Fetch Size") = 1


mRS.Open sTmp, gdb, adOpenStatic, adLockBatchOptimistic, adCmdText + adAsyncExecute + adAsyncFetch

I also set up an event in VB to catch the record set's fetch:

Private Sub mRS_FetchProgress(ByVal Progress As Long, ByVal MaxProgress As Long, adStatus As ADODB.EventStatusEnum, ByVal pRecordset As ADODB.Recordset)

Debug.Print "Fetch: " & Progress & _
" Max: " & MaxProgress
End Sub

.. but it never gets there.

-- modified at 20:33 Wednesday 21st December, 2005
QuestionSort without duplicates Pin
denpsia21-Dec-05 13:20
denpsia21-Dec-05 13:20 
AnswerRe: Sort without duplicates Pin
toxcct21-Dec-05 21:47
toxcct21-Dec-05 21:47 
GeneralRe: Sort without duplicates Pin
denpsia22-Dec-05 13:09
denpsia22-Dec-05 13:09 
GeneralRe: Sort without duplicates Pin
toxcct22-Dec-05 21:11
toxcct22-Dec-05 21:11 
GeneralRe: Sort without duplicates Pin
denpsia26-Dec-05 12:53
denpsia26-Dec-05 12:53 
QuestionSql Pin
Mfirdous21-Dec-05 11:18
Mfirdous21-Dec-05 11:18 
AnswerRe: Sql Pin
Colin Angus Mackay22-Dec-05 8:36
Colin Angus Mackay22-Dec-05 8:36 
QuestionHorizontal merge Pin
djsdjsdjsdjs21-Dec-05 7:20
djsdjsdjsdjs21-Dec-05 7:20 
AnswerRe: Horizontal merge Pin
denpsia21-Dec-05 13:24
denpsia21-Dec-05 13:24 
GeneralRe: Horizontal merge Pin
djsdjsdjsdjs22-Dec-05 3:22
djsdjsdjsdjs22-Dec-05 3:22 
AnswerRe: Horizontal merge [edited] Pin
toxcct21-Dec-05 21:50
toxcct21-Dec-05 21:50 
GeneralRe: Horizontal merge Pin
djsdjsdjsdjs22-Dec-05 3:36
djsdjsdjsdjs22-Dec-05 3:36 
GeneralRe: Horizontal merge [edited] Pin
toxcct22-Dec-05 3:38
toxcct22-Dec-05 3:38 
QuestionADO.NET and mdb embedded query Pin
Sasuko21-Dec-05 6:16
Sasuko21-Dec-05 6:16 
AnswerRe: ADO.NET and mdb embedded query Pin
S. Akif Kamal27-Dec-05 20:36
S. Akif Kamal27-Dec-05 20:36 
QuestionUse Time-Only in query (with parameters) Pin
BenKona20-Dec-05 7:18
BenKona20-Dec-05 7:18 
AnswerRe: Use Time-Only in query (with parameters) Pin
anandss20-Dec-05 8:27
anandss20-Dec-05 8: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.