ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   sql hangs (https://www.excelbanter.com/excel-programming/429854-re-sql-hangs.html)

Jim Cone[_2_]

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?




All times are GMT +1. The time now is 06:41 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com