|
web
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
crystal report viewer connectionthanks 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 "Smiles" <nore***@noreply.com> wrote in news:#fluEQGaGHA.1200 @TK2MSFTNGP03.phx.gbl:Show quoteHide quote > 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 > > >
Interesting Results In VB.Net
Shared dll paths Accessing Foxpro Database VB.NET reading CSV files (odbc or oledb) position in array using a string Any 'Windows Service' Experts? Why can't I capture the screen?? Error Handling: load text file into TextBox vb.net 2005 - how to populate a listbox i need Code Generator... Missing DataGrid |
|||||||||||||||||||||||