Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Asynchronous Programming

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2001-01-23 : 09:41:24
Pierre Cornelissen writes "
Platform:
SQL 7.0 sp2
NT4/2000 sp5/sp1
VB6 sp4

I have a VB app running quite a lengthy SQL sp - like a month-end routine. I want to give progress feedback to the VB app by either implementing a progressbar or record count. I call the sp from VB in asynchronous mode (gives control back to VB). The sp make use of cursors to update the "month-end" table. Is there a method that I can send a value back from the SQL sp to VB without too much performance decrease. In VB I will make use perhaps of a timer collecting the returned data for display.

I do not want to make use of an animated hourglass - the users get sometimes impatient and kill the app - thinking the app is "hanging"

Thanks

Pierre"
   

- Advertisement -