Thread problem

A

Agnes

My program flow is
(1)User click a button to print the account report
(2)click button ->> show one dialog progress bar form
(3)That form will create a thread ->> thread exexcute 10 sql command to
caculate the data and insert into one temp table
(4) After finish, progress bar form closed, report will be preview.

Now my problem is "the report show a blank records" , It seems ,
sql command can't be completed in the thread
 
A

Agnes

that 10 sql command will called SP to do some insert action.
How can I know the SP had been completed ?
thanks in advance
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top