ms-access

How to migrate an old Database into a new Database using Microsoft Access

Basically this task is pretty easy when you think about it... but i found no Answers in Microsoft Access or MSDN. I have to create a connection to an new Database and query the old one. After validating the old data, everything is written in a new fine Form to the my new Database. Any Ideas? Add: Old Database is an Firebird Database. T...

Linking SQL Server view into Access db: performance question

When you attach a SQL Server view as an MS Access linked table, you are asked for a unique identifier. During recent trials, I noticed that on several occasion, NOT defining the unique identifier has the effect that the linked table opens much more quickly (you don't need a stopwatch, you can really SEE it). So I am asking the experts...

How do I update specific fields using a cross reference table?

I'm working on a Glass Types database in MS Access. One Table in the DB lists Basic information about the glass: A unique ID (the "glass number"), description, cost per sq. ft., etc. Table 1 "GlassInfo": GlassNo Description CostSqFt TemperCost LamiCost 0001 "Heavy Glass" 1.38 0.18 0.65 0002 "0001 Tempered" 1.50...

Why is my MS Access database always broken?

I wrote a program running as a service that need to frequently gain access to MS Access database. After a period of time, my program exits automatically, then I open my MS Access database with Office, it says it is broken! It seems very strange as my program do just some very common database access: insert, select and delete. Why is it ...

jdbc to access complete database

i want what should be given in DriverManager.getConnection() when i want to access all tables from ms-access ...

How to delete the blank rows?

Using Access 2003 Table1 ID Name Value 001 Raja 100 002 Ramu 200 004 Raqu 500 008 Ravi 250 ... Here I want to delete the blank rows in my table? Delete from table1 ...? Expected Output ID Name Value 001 Raja 100 002 Ramu 200 004 Raqu 500 008 Ravi 250 ..., Need Query Help. ...

MS Access + OLAP

Hello I have lot of data in MS Access, and for analysis I need tools. Might you suggest any tools for data mining and analysis (OLAP)? ...

Binding a ListBox to a query in MS Access 2003

I have a very simple application with two tables, ParentTable and ChildrenTable. Each child in the table has a foreign key to a parent (parent-child relationship is one-to-many). When I display a form with parent info, I want to display a ListBox with all the parents children. I already got a ListBox that displays all the children, but...

How to make a select query for sql and access databases?

Using SQL server 2000 and Access 2003 Access Database Name - History.mdb Access Table Name - Events SQL Database Name - Star.mdf SQL Table Name - Person I want to take the field from person table, and include in Events table by using inner join Tried Query Select * from Events inner join person where events.id = person.id So How...

What is the best data type to use in order to store numbers with leading zeroes?

In Access 2003 I need to display numbers like this while keeping the leading zeroes: 080000 090000 070000 What is the best data type to use for this? ...

Merge like dates in MS Access

I am a pilot who flies multiple legs in a day. The software I use to log flights spits out a csv file and lists every leg separately. I import the csv file into table 1 in ms access. I would like to merge all flights from the same day into one record on a new table. My problem is combining the route and adding the time. Table 1 ...

How to convert an ADP project under source control from Access 2000 to Access 2003?

We have an ADP project created several years ago using Access 2000. This project is under source control (using the Access' standard MSSCCI-based add-in that integrates Access with SourceSafe). Now we use Access 2003 to work with this project. Everything seems to be working okay, including integration with source control. However, when...

Converting plain text in SQL to hyperlink in Access

Hello, I've just started a new job my first since leaving University and as part of this my first task is to convert a wholly Access 2003 database to an Access front-end, SQL back-end. The Access database consists of a series of front end forms to add or review staff data, as part of this there is hyperlinks pointing to a photograph of ...

DateTime picker control, problematic behavior

A datetime control on a form, bound to a table field, works fine. If I add the picker inside a tab control it raises this error when I load the form: An error occured in a call to the Windows Date and Timer Picker control. Is any workaround for this problem? ...

Merging records with consecutive dates

I have the following problem in a Database using Access 2007 as front end and SQL2005 as back-end. In Table A I have the following data structure Table A ID Date Supplier_ID 1 10/22/2009 1 2 10/23/2009 1 3 10/24/2009 2 4 10/25/2009 2 5 ...

How to copy a linked table to a local table in Ms Access programmatically?

So I'd like to copy a linked table to a local one in code, structure and data in MS Access 2003. Code being : VBA or C#. Or anything else for that matter.. UPDATE : I want the copy structure and data behaviour from ms access to keep the Primary Keys. If you copy a linked table, you can choose to paste it as 'structure and data (local ...

Is it possible to change the font in the SQL edit window in Access 2007?

It would be nice if there was a right-mouse-click menu on the edit panel to change the font size, but there isn't. Is there a system setting somewhere else that lets me increase the default font size? ...

Have I broken the Access Database Engine again?

While testing the below SQL code for another stackoverflow answer, I got the following errors: mdb via OLE DB: "Catastrophic failure" accdb via OLE DB: (blank message) Access2007 Query object: "Unknown Access Database Error" I'm using a new clean database file. The showplan.out execution plan doesn't contain anything useful; I've pos...

How do I find where a missing reference is used in MS Access

I have a missing reference listed in my References list (in the VBA Code view). It's a reference to an OCX for a product that we no longer use. I'm fine with removing(unchecking) the reference, but I'm wondering if that is going to come back to bite me. Is there a way to find out in which forms/reports it might have been used? Is rem...

PHP and Microsoft Access database - Connection and CRUD

I have no experience with access. How to do update/insert/delete/select statement with and without $rs = new com("ADODB.RecordSet"); ? ...