#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,549
Default sql hangs

Sounds like you need Application.ScreenUpdating set to True.
--
Jim Cone
Portland, Oregon USA



"Richard Douglass"

wrote in message
I am writing some code that runs in a form to get records from a sql
database. The recordset comes back clean and has the records I expected and
the sheet gets the command to populate but then nothing happens.

When I kill the VBA form the sheet refreshes with the data. before I kill
it the form is in hung mode. when I drag it around it leaves a trail.

any ideas?


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
hangs when connected Gerhard Adendorff Excel Discussion (Misc queries) 0 April 13th 07 06:56 AM
Macro Hangs GregR Excel Programming 0 March 27th 06 10:40 PM
Excel hangs up. bc Excel Discussion (Misc queries) 0 February 28th 06 06:30 PM
VBA Hangs sponny Excel Programming 2 November 4th 05 02:58 PM
DDE Startup Hangs amac Excel Programming 1 November 10th 04 02:58 PM


All times are GMT +1. The time now is 01:42 PM.

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

About Us

"It's about Microsoft Excel"