Click here to Skip to main content
15,881,413 members
Home / Discussions / Database
   

Database

 
AnswerRe: Bulk insert - Fewer fields than in DB Pin
GuyThiebaut10-Oct-07 7:01
professionalGuyThiebaut10-Oct-07 7:01 
QuestionCalling reports from server logged in user wise Pin
MSinha10-Oct-07 3:50
MSinha10-Oct-07 3:50 
AnswerRe: Calling reports from server logged in user wise Pin
pmarfleet10-Oct-07 4:49
pmarfleet10-Oct-07 4:49 
GeneralRe: Calling reports from server logged in user wise Pin
MSinha10-Oct-07 5:29
MSinha10-Oct-07 5:29 
GeneralRe: Calling reports from server logged in user wise Pin
pmarfleet10-Oct-07 5:37
pmarfleet10-Oct-07 5:37 
QuestionCreateQueryDef() pause needed Pin
new_phoenix10-Oct-07 3:40
new_phoenix10-Oct-07 3:40 
AnswerRe: CreateQueryDef() pause needed Pin
DQNOK10-Oct-07 5:32
professionalDQNOK10-Oct-07 5:32 
GeneralThere has got to be a more elegant way to do this... Pin
new_phoenix10-Oct-07 10:13
new_phoenix10-Oct-07 10:13 
Here is what I did, and interestingly enough...it works.

I created code that essentially does nothing but execute a loop and pass a counter to a control. Then I added a control to the form, left it visible, but essentially hid it from the form by making the textbox's background color, border color, and fore color the exact same as the underlying form color. This provided something for the processor to do while the QueryDef was being created. I essentially needed to count to 10000.

Here is the code:

'Provides time to create QueryDef qryFinalResult
Dim intCount As Integer
intCount = 0
For intCount = 1 To 10000
    txtCounter.SetFocus
    txtCounter.Text = "Count: " & intCount & "."
    intCount = intCount + 1
Next


Does anybody have a more elegant way to do this? This code prevents that error message from coming up indicating that the QueryDef that I had just created does not exist. When I step through the code myself, the processor has enough time to create the QueryDef object, but when I run it as an application, it does not have time to create it in time to use it.
QuestionHow to query all of the tab_name in the same database Pin
nibabug10-Oct-07 1:16
nibabug10-Oct-07 1:16 
AnswerRe: How to query all of the tab_name in the same database Pin
Krish - KP10-Oct-07 1:21
Krish - KP10-Oct-07 1:21 
AnswerRe: How to query all of the tab_name in the same database Pin
Virendrak10-Oct-07 2:25
Virendrak10-Oct-07 2:25 
AnswerRe: How to query all of the tab_name in the same database Pin
GuyThiebaut10-Oct-07 5:21
professionalGuyThiebaut10-Oct-07 5:21 
QuestionRe: How to query all of the tab_name in the same database Pin
nibabug10-Oct-07 14:11
nibabug10-Oct-07 14:11 
AnswerRe: How to query all of the tab_name in the same database Pin
GuyThiebaut10-Oct-07 21:16
professionalGuyThiebaut10-Oct-07 21:16 
Questionproblem in page indexing in Grid View Pin
ahmed_fci200610-Oct-07 0:44
ahmed_fci200610-Oct-07 0:44 
QuestionLast value in a Table Pin
BINOVAR10-Oct-07 0:18
BINOVAR10-Oct-07 0:18 
AnswerRe: Last value in a Table Pin
Aavesh Agarwal10-Oct-07 0:32
Aavesh Agarwal10-Oct-07 0:32 
GeneralRe: Last value in a Table Pin
Aavesh Agarwal10-Oct-07 0:36
Aavesh Agarwal10-Oct-07 0:36 
AnswerRe: Last value in a Table Pin
Paddy Boyd10-Oct-07 0:56
Paddy Boyd10-Oct-07 0:56 
GeneralRe: Last value in a Table Pin
Paddy Boyd10-Oct-07 1:11
Paddy Boyd10-Oct-07 1:11 
GeneralRe: Last value in a Table Pin
BINOVAR10-Oct-07 1:09
BINOVAR10-Oct-07 1:09 
GeneralRe: Last value in a Table Pin
pmarfleet10-Oct-07 2:12
pmarfleet10-Oct-07 2:12 
QuestionQuery regarding Trigger Pin
Aavesh Agarwal9-Oct-07 23:37
Aavesh Agarwal9-Oct-07 23:37 
QuestionSwap the columns values [modified] Pin
Aavesh Agarwal9-Oct-07 22:55
Aavesh Agarwal9-Oct-07 22:55 
AnswerRe: Swap the columns values Pin
Joe9-Oct-07 23:26
Joe9-Oct-07 23:26 

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.