We have an MS Access database that we want to migrate to a SQL Server Database with a new DB design. A part of the application that uses the SQL Server DB is already written.
I looked around to find out how to do the migration step most easily and started with Microsofts SQL Server Integration Services (SSIS). Now I have gotten to the p...
Update 2: I solved this, see my answer.
I am invoking queries in a Microsoft Access database from C# using OleDb, but I can't get my update queries to work.
No error is thrown, but updates are not persisted in the database.
Can anyone shed any light on this?
SQL query in the database:
UPDATE tableName SET tableName.LastPolledD...
While debugging queries written in MS Access 2007 (problem was the same in all previous versions too), I'll run the query and then copy the results into Excel. Depending on results, I switch batch to Access to refine the results and go back into design mode of the query. At this point, I get an annoying warning: you copied a large amo...
Hi,
Do you know to use a provider for MS Access in ADO.NET Entity Framework?
...
I have an MS access database file with 2 tables: t1, t2. Both have primary key, suppose id, but t1 has 3 columns A, B and C, while t2 has columns D, E AND F.
Both have the same rows, but each has different columns as stated.
What is the easiest way to merge these two tables? Note that they are very big, and exporting to excel, CSV and ...
I am trying to replace a DTS access exporter package with a exe we can call from our stored procedures (using xp_cmdshell).
We are in the middle of a transition between SQL 2000 and SQL 2005, and for the moment if we can not use DTS OR SSIS that would be the best options.
I believe I have the following options:
Using a SQL data reade...
I read data from MS Access using C#. But get the OleDbException trying to execute such query:
SELECT * FROM Flats
WHERE Flats.VersionStamp <= [theDate] AND Flats.Flat=[theFlat]
OleDbException:
Data type mismatch in criteria expression.
On the other side, any one of the following queries works fine:
SELECT * FROM Flats
WHERE Flat...
Can anyone explain to me what is wrong with my query?
SELECT T2.TIPOPRODUTO
, T2.PRODUTO
, T1.ESPESSURA
, '' AS LARGURA
, '' AS COMPRIMENTO
, '' AS [ACABAM REVEST]
, '' AS [ESPECIF QUALIDADE]
, T1.CĂ“DIGORASTREABILIDADE
, T3.DATA
, T4.NOMEFANTASIA
, T7.NOME
, T5.DT_INICIO_RESERVA
, T1.PESO
...
I would like to obtain the name of a query behind a specific report. I was hoping to do something like this...
Dim QueryName As String
QueryName = CurrentProject.AllReports(MyReportName).RecordSource.Name
However, I know this does not work, but I would like to find a means of doing this. Is there something I am obviously overlooking...
Right, this has been bugging me for a good few days now and I'm getting nowhere. I think I need ot start it again from the begining. Basically I'm doing a project at school which requires me to store and manipluate data in an Access database (Office 2007 format, accdb). I'm using WPF with VB to do this, and I'm using the datagrid from th...
I am attempting to export a query from MS Access into MS Excel in a way that does not carry over the Sorting and Grouping. I have noticed this functionality is simply available by opening a query and clicking:
Tools --> Office Links --> Analyze it
with Microsoft Office Excel
However, I don't know how to get to this feature of MS ...
How can someone set the focus of an opened Query object within MS Access using VBA?
I am doing something like this...
If Application.CurrentData.AllQueries(myqueryname).IsLoaded = True Then
'set the focus
' Export to office links for analysis
CommandBars("Menu Bar").Controls("Tools").Controls("Office Links").Control...
I have a MS Access database and I want to convert it to run on MS SQL Server.
How can I export it?
...
My Application ( Vb.Net) is to scan Access DB forms and find out the Activx control if present and it works fine. But my problem is...
In some DBs we have tables with mapping path to specific locations (Table Property->Linked Table Manager) and when we relocate these DBs then we need to change the path manually otherwise it will show a ...
Using Access 2007, I have an update that I am trying to build a script or macro or even just a useful chunk of SQL that I can keep and use whenever I want to run the update...
...I have figured out how to this with an update query, but, I don't want to have to spend an hour or so everytime I want to update...
Basically, I am cross walk...
Hi everyone I hav a small problem in uploading my database. I have created a localhost website on my pc for a vehicle tracking system and now i have no clue in uploading it. Its got two microsost access databases in my pc which is used in the website and they get updated at very regular intervals(almost every second) it has to be uploade...
Hi
how to copy all the tables from one mdb file to an other blank mdb file using C# code can anybody please help with the code?
Hi
Thanks for the file copy suggestion but after executing that query am getting this error"
Error 1 Invalid token '(' in class, struct, or interface member declaration
C:\Documents and Settings\E4578...
Are any methods available in VBA to read and write INI files? I know I could use;
Open "C:\test.ini" For Input As #1
...and parse the data. Instead I am trying to see what tools are already available.
I know in C# you can do...
using INI;
INIFile ini = new INIFile("C:\test.ini");
Is there an equivalent for VBA?
I am attempting ...
I am trying to calculate a SUM in an MS Access report the following way:
Group1header - label
Group2header - value
Detail - example
Detail - example
Group2header - value
Detail - example
Group1footer [sum of Group2header value]
Somehow, when more detail rows appear, the sum in group1footer is incorrectly calculated (adds value...
I have a huge MS Access document with built-in VBA codebase. Is it possible to track the file (as I am developing it) with a (mercurial) version control system? Can I extract code and track that? Or is it just the-binary-file-path? Thanks.
...