Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi,

 

When the user opens a MS Access database, I would like to list the Queries & Reports listed in that .mdb file.

 

How would I be able to do this in .NET? either using ADO, DAO or ADO.NET.

 

Also, when the user clicks on a specific Queries or Reports, how can I start Access up from .NET?

 

thanks

Posted
Unless I've missed something, .NET doesn't know anything about the non-data portions of Access databases. You'd probably have to use an Access object in your application to get to them.
Here's what I'm up to.
Posted

is there a way to open a existing Query in the .mdb file?

for example, if you know the Table name you can use a sql statement; Select * from [tablename] to open the table, what about a Query?

 

I would like to know how I can display the existing Query in a datagrid. thanks.

Posted
is there a way to open a existing Query in the .mdb file?

for example, if you know the Table name you can use a sql statement; Select * from [tablename] to open the table, what about a Query?

 

I would like to know how I can display the existing Query in a datagrid. thanks.

Hi there!

A query works just as a table outside of Access. You get the query data just as you get the table data "Select * from [queryname]...."

 

HTH

/Kejpa

Posted
Hi there!

A query works just as a table outside of Access. You get the query data just as you get the table data "Select * from [queryname]...."

 

HTH

/Kejpa

 

 

I've already had tried that before posting the previous post, and as usual I had a minor syntax error!!!

 

thanks for making me look into it again without any doubt!!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...