Click here to Skip to main content
15,902,189 members
Home / Discussions / Visual Basic
   

Visual Basic

 
General"Back" and "Forward" button functionality Pin
Vidvan11-Feb-03 10:50
Vidvan11-Feb-03 10:50 
GeneralRe: "Back" and "Forward" button functionality Pin
Nick Parker11-Feb-03 18:14
protectorNick Parker11-Feb-03 18:14 
GeneralSending Email Pin
Nick Seng10-Feb-03 19:28
Nick Seng10-Feb-03 19:28 
GeneralRecordSets In ADO for VB6 Pin
rradhay10-Feb-03 8:52
rradhay10-Feb-03 8:52 
GeneralRe: RecordSets In ADO for VB6 Pin
Andy H10-Feb-03 22:06
Andy H10-Feb-03 22:06 
GeneralRe: RecordSets In ADO for VB6 Pin
Andy H10-Feb-03 22:17
Andy H10-Feb-03 22:17 
GeneralRe: RecordSets In ADO for VB6 Pin
rradhay12-Feb-03 2:13
rradhay12-Feb-03 2:13 
GeneralRe: RecordSets In ADO for VB6 Pin
Andy H12-Feb-03 3:52
Andy H12-Feb-03 3:52 
The correct solution to your problem would be to open an asyncronous connection and then when you have written your data to the db wait until the connection has finished executing the SQL command.

Use the ADO const dbRunAsync when opening the connection to get an asyncronous connection. Then write the data to the db, and wait by using a loop such as:

Do While Con.StillExecuting<br />
...<br />
Loop


When the loop exits the db has been updated and you can then retrieve the required data.

HTH
GeneralRe: RecordSets In ADO for VB6 Pin
rradhay20-Feb-03 4:54
rradhay20-Feb-03 4:54 
GeneralCatching return value form .exe Pin
Xanty10-Feb-03 4:40
Xanty10-Feb-03 4:40 
GeneralRe: Catching return value form .exe Pin
Ray Cassick10-Feb-03 6:59
Ray Cassick10-Feb-03 6:59 
GeneralRe: Catching return value form .exe Pin
Xanty10-Feb-03 7:15
Xanty10-Feb-03 7:15 
GeneralRe: Catching return value form .exe Pin
Andy H11-Feb-03 2:41
Andy H11-Feb-03 2:41 
GeneralRe: Catching return value form .exe Pin
Anonymous11-Feb-03 9:11
Anonymous11-Feb-03 9:11 
GeneralRe: Catching return value form .exe Pin
Xanty11-Feb-03 23:24
Xanty11-Feb-03 23:24 
GeneralListView control with multi-line ColHeading Pin
Andy H9-Feb-03 10:40
Andy H9-Feb-03 10:40 
GeneralMaskEdBox Pin
mcm8-Feb-03 3:20
mcm8-Feb-03 3:20 
GeneralRe: MaskEdBox Pin
Nick Parker11-Feb-03 18:26
protectorNick Parker11-Feb-03 18:26 
GeneralRe: MaskEdBox Pin
RichardGrimmer12-Feb-03 5:51
RichardGrimmer12-Feb-03 5:51 
Generalsyntax error in update statement Pin
mcm7-Feb-03 23:47
mcm7-Feb-03 23:47 
GeneralRe: syntax error in update statement Pin
Andy H8-Feb-03 1:46
Andy H8-Feb-03 1:46 
GeneralMessenger service status (ASP) Pin
-- NA --7-Feb-03 23:19
-- NA --7-Feb-03 23:19 
GeneralRow headings in MSHFlexGrid (VB6) Pin
Andy H7-Feb-03 12:10
Andy H7-Feb-03 12:10 
GeneralADO or RDO Pin
Tarun Dutt Mathur6-Feb-03 23:27
Tarun Dutt Mathur6-Feb-03 23:27 
GeneralRe: ADO or RDO Pin
RichardGrimmer25-Feb-03 5:32
RichardGrimmer25-Feb-03 5:32 

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.