crystal report viewer connection

  • Thread starter Thread starter Smiles
  • Start date Start date
S

Smiles

Hi there,

thanks for help in advance.

here is my case.

i have form1, defines the selectionformula of form2.crystalreportview

form1:
form2.crystalreportviewer1.selectionformla = strSelection
form2.crystalreportviewer1.refreshreport()
form2.show()
me.close()


form2:
have nothing coded, but just a reportviewer.
with odbc connection to a mdb file.

after closing form2, by clicking on the window form close_button,
but, the connection is here. (mdb showing an ldb)

does anyone have the solution to close the data connection,
after closing the form2.

Thanks.


Smiles
 
Smiles,

Did you try manually closing the connection in the form2_Closed event
handler?

Bernie
 

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

Back
Top