Thread problem

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Agnes

    #1

    Thread problem

    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




  • Agnes

    #2
    Re: Thread problem

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

    "Agnes" <agnes@dynamict ech.com.hk> ¼¶¼g©ó¶l¥ó·s»D: eyN62V8hGHA.486 4@TK2MSFTNGP03. phx.gbl...[color=blue]
    > 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
    >
    >
    >
    >[/color]


    Comment

    Working...