ms-access

C# Sync MS Access database to sql server

I am trying to set up a synchronization routine in C# to send data from a ms access database to a sql server. MS Access is not my choice it's just the way it is. I am able to query the MS Access database and get OleDbDataReader record set. I could potentially read each individual record and insert it onto SQL Server but it seems so was...

Force to support inheritance

For our project, the group use Microsoft Access. The VBA class is capability limited. How can VBA class be made to support inheritance? -Wen ...

Scaleable MS Access ASP.NET app

I am constrained by the following, no way around it: Read-Only Data: Microsoft Access JET 4.0 OLDB ASP.NET 2.0 Shared Host, very little control. OR Mapper - LLBL Gen Pro The app is a read-only tool that reads a lot of Microsoft Access Databases in the APP_Data folder. Works fine mostly. Under load it starts failing accessing the Acc...

What sql database role must a user have to use a MS Access project file

Today i tried changing a users role from db owner to db data reader and db data writer. This user uses an Access ADP file, to edit, add and delete records from a few tables in the SQL Server database. However, after doing so he got an OLE error from access on trying to open the ADP. Are there certain security priveleges required by the A...

Data type mismatch in criteria expression

I have one porject in VB.NET with Ms Access As Backend...While inserting data into table there is no error at query and Data Type Error,but sometime OleDB Exception occurs Error is"Data type mismatch in criteria expression." the query is .... Dim cmdstr1 As String = "" Dim constr As String = "" Dim sqlQuery As String =...

upsizing ms access 2007 db to sql server 2008

i keep getting an error: The upsizing wizard does not work with this version of SQL Server to which your access project is connected. has anyone else seen this issue. ...

Ceiling function in Access

Have searched for this, no luck. Can someone tell me how create a Ceiling Function in MS access that behaves the same as the one in excel? ...

Combining the following mulitple SQL queries into 1 with MS Access & ASP

I want to combine Select top 2 scouting.* From scouting Where scouting.astroLoc Like 'D01%' AND scouting.ownerGuild = 'SWARM' Order By scouting.jumpGate Desc with Select top 2 scouting.* From scouting Where scouting.astroLoc Like 'D02%' scouting.ownerGuild = 'SWARM' Order By scouting.jumpGate Desc with Select top 2 scouting.* Fr...

Access and classic ASP error 80004005 System resource exceeded.

An old site on shared hosting has developed an error when executing a simple SQL statement Microsoft JET Database Engine error '80004005' System resource exceeded. /411971/users1.asp, line 68 Line 68 is Set objCon = objCommand.Execute The Access database isn't large (less than 2Mb), this is a single table query and the table only c...

Update of AccessDatasource does nothing but has no error

My UPDATE command fails to change any date in the table while very similar SELECT and DELETE commands work. When I change the UpdateParameters to invalid choices, the code behind command throws an error, buy when the parameters are correct, nothing hapens. Code behind to activate DELETE (which works) protected void Button2_Click(objec...

Tracking SQL Calls From MS Access to MySQL

I'm trying to 'see' the SQL statements that are sent from MS Access 2003 to MySQL via ODBC. I've tried ODBC Tracing, but it's painfully slow, producing very large log files which are very difficult to read. For example, and insert looked like this: "INSERT INTO `tracking` (`contract_id`,`bp_id`,`csi_1`,`csi_2a`,`csi_2b`,`csi_code`,`...

Microsoft Access 2003 Shared DBF, file is already in use

Friend I am using MS Access 2003 I want to share MDB file on the network for this I put it in the shared folders with options shared database, and define user rights read only. because i just want to give them view only. What I did I made another file & through link the tables from the shared database lying on the network. Problem: If ...

Copy data from Access to SQL

I am in the process of migrating an existing Access database to a SQL database with a web front-end. I have successfully copied the database to SQL using the SQL Server Migration tool and am working on developing the application. For reasons I won't go into here we cannot just link the Access front-end to the SQL DB and use the SQL DB as...

MS Access cannot create the MDE Error. Too Many Objects.

So I have a MS Access database at work. Recently I tried to put out another MDE file, that actually took something off a report that was previously there. Now I am getting this error that says, "MS Access cannot create the MDE" with a little show help button....click the show help button and it gives a description about this relating typ...

MS Access 2003 - VBA for SELECT query and only choosing specfic record for form

Okay so on this form, I create a grid, almost looks like a bar chart with little "cells" stacked by month. Each of these "cells" are square sub forms, and I create the little square forms that I use as the sub forms. So what I wanted to know is, what is the code (VB) for running a select query, and only working with specific records wit...

MS Access INSERT INTO statement

I need to insert form data from my VB.NET application to a Microsoft Access database. This is the syntax I'm using atm: INSERT INTO bs1 (teacher, subject, date, period) VALUES ('test', 'test', 'test', 'test') I'll admit I'm used to the MySQL type syntax, any help on this matter would be greatly appreciated thanks. ...

how to join (or append) 4 fields of the same table into 1 field in MS Access

I have the following table: Source Plate1 Plate2 Plate3 Plate4 which I want to transform to this table: Source Plate1 Source plate2 source Plate3 source Plate4 so basically appending all the data from the 4 Plate fields into 1 column How do I do this in ms acces? thanks ...

Linking SubReports Without LinkChild/LinkMaster

I'm maintaining and occasionally modifying an Access 97 program that's still a crucial department tool for a very large US corporation. A number of reports use a "totals" subreport that I cannot link using LinkChildFields \ LinkMasterFields. In each case, the main report can be filtered by numerous (or no) criteria via a "Reports Manage...

C#/Access Interop DoCmd value combobox

Hi All I've succesfully connected to a Microsoft Access database through the interop/COM.. I need to put some data into a combo box and Requery so I can get the information displayed. // Create app MsAccess.Application app = new MsAccess.Application(); // Open the database app.OpenCurrentDatabase( ...

Import file name into list box without path access 2007 vba-

Hi, I am creating a database where users can click a command button, they will be taken to a folder that is stored in a trusted location and they can choose a word document from there and all the names of chosen files will show in a list box on a form. We have the code to double click the file name to open the document. What we are looki...