Access 2007 and C#

Don
Joined
5 Oct 2005
Posts
11,193
Location
Liverpool
Hi All,

I'm traditionally a web programmer, but for some unknown reason my employer wants something written in access, now I can do SQL untill the cows come home, but it would be easier for me if in Access 2007 you can use C# which would make sense since its Microsoft, but as you all know Microsoft dont always make sense...

Stelly
 
You can't use C# from within Access unfortunately, its VBA only. You can however connect to an Access database through C# if you wanted too, and manipulate the database through your own program.
 
You can't use C# from within Access unfortunately, its VBA only. You can however connect to an Access database through C# if you wanted too, and manipulate the database through your own program.

Yep, personally I would avoid doing anything in VBA.
If you treat the Access database as simply an ODBC datasource and code a C# application to connect to it that would be far more preferable.
That way it makes it a lot easier to ever move the application onto a different platform in the future too.

Is there any reason they are using Access over SQL Server Express though?
For most applications that would be the way to go IMO.
 
Ok well I'm going to use a web front end now... I'm looking at it but I'm getting this error:

Unable to find the requested .Net Framework Data Provider. It may not be installed.

Any ideas?

Stelly
 
Back
Top Bottom