Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default SQL fails without breakpoint

Hi,

maybe you should retrieve your data using ADO instead:
http://support.microsoft.com/default...b;EN-US;246335

arno

Adding a breakpoint to VBA code and using F8 to step through the code

produces desired results. Without the breakpoint the program fails. I
traced the problem to a worksheet which is not filled in from an SQL query
earlier in the code... the worksheet displays "External Data_1: getting
data..." instead of having valid data from a query.



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 184
Default SQL fails without breakpoint

Hi,

.Refresh BackgroundQuery:=True


I do not know if this applies here, however, I had trouble with big data
amounts when I turned on "background" in ODBC-Databases with FoxPro. I got
very misleading errors. So, I would suggest that you test your queries with
lots of records as result. If everything is ok then fine!

regards

arno


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
breakpoint calculation John C[_2_] Excel Worksheet Functions 0 October 22nd 08 02:27 PM
breakpoint calculation RagDyeR Excel Worksheet Functions 0 October 22nd 08 03:12 AM
breakpoint calculation Ron Rosenfeld Excel Worksheet Functions 0 October 22nd 08 03:07 AM
breakpoint calculation Teethless mama Excel Worksheet Functions 0 October 22nd 08 03:02 AM
Breakpoint will not stop Excel subroutine boswald Excel Discussion (Misc queries) 2 August 24th 05 12:24 AM


All times are GMT +1. The time now is 03:34 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"