Re: Any reason why accessing Access should slowdown?
- From: Paul Clement <UseAdddressAtEndofMessage@xxxxxxxxxxxxxx>
- Date: Wed, 04 Oct 2006 11:17:10 -0500
On Mon, 2 Oct 2006 08:20:02 -0700, JohnBury <JohnBury@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
¤ Paul
¤
¤ The database is on the same machine as the VB application.
¤
¤ On the MSACCESS / JET OLEDB front, you responded to a query I had about the
¤ problems I was having with JET, but I never really resolved the issue.
¤
¤ To remind you, when I repolaced my connection string so that it used JET, my
¤ application stopped being able to display filtered data in datagrids.
¤
¤ If you wish to continue thie dialogue on this issue then...
¤
¤ This is what I did
¤
¤ At design time...
¤ Declared connection to Access database using string based on Jet OLDB
¤ provider.
¤ Created an ADODC on my form with datagrid.
¤ Used ADODC to initially load columns to allow me to format grid
¤ removed reference to ADODC from grid's datasource property
¤
¤ At runtime
¤ during Form Load
¤ Set up recordset filter in response to earlier input / selection
¤ Set datagrid datasource property to recordset
¤
¤ What happens? Nothing! I can display recordcount of filtered recordset in
¤ the immediate window, but datgrid refuses to display records.
¤
¤ Swap connection back to use MSACCESS provider and it works fine!
¤
¤ My recordsets are opened as 'adKeySet'
¤
¤ Cursors are all client side
¤
¤ If you have any ideas I would welcome them!
So if I understand the problem correctly, the Recordset Filter works properly but the data binding
to the DataGrid fails?
Paul
~~~~
Microsoft MVP (Visual Basic)
.
- References:
- Re: Any reason why accessing Access should slowdown?
- From: Paul Clement
- Re: Any reason why accessing Access should slowdown?
- From: JohnBury
- Re: Any reason why accessing Access should slowdown?
- Prev by Date: Re: Querying a database
- Next by Date: Re: Any reason why accessing Access should slowdown?
- Previous by thread: Re: Any reason why accessing Access should slowdown?
- Next by thread: Re: Any reason why accessing Access should slowdown?
- Index(es):
Relevant Pages
|
Loading