Thread problem

  • Thread starter Thread starter Agnes
  • Start date Start date
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
 
that 10 sql command will called SP to do some insert action.
How can I know the SP had been completed ?
thanks in advance
 
Back
Top