Access Project No Longer Connects To SQL Server (Disconnected)

Jun 29, 2005

I have adp projects that I connect to an SQL server that is remote. All worked fine until I had to do a windows repair. Now I open the project and it comes up as disonnected. It will not let me open any other box like connections. If I try that it says "Microsoft Access can not log on to server". If I try to start a new adp same message. I am the admin on my XP pro machine.

View Replies


ADVERTISEMENT

Access *.ade Project Gets Disconnected

May 13, 2005

I've got an MS Access *.ade project as a front to an MS SQL Server 2000 database (both developed by myself)
From time to time *.ade project stops working properly and title of the main access window says "Project <Project name> (disconnected)"

I check the File -> Connection-> Data Link Properties and everything is o'key ('Test Successful') however on the 'Tables' tab there are still no tables shown, the title remains as 'disconnected' and form's data sources are not accessible

Nothing helps... any ideas?

View 1 Replies View Related

Connect An Access Project With A Remote MDB Or SQL Server Database

Jan 28, 2007

Hi,

I am finishing an Access database for a customer that may want, in a later stage, to have a website(probably ASP) that would connect on the same database. Is that possible? I mean can an Access project on a pc connect to remote database(mdb or SQL server) used by the website?

If so can you give me some quick steps to do so or a good article on it?

Thanks.

View 6 Replies View Related

Access Reformats My SQL - And Then It No Longer Works!

Apr 5, 2006

Situation: I have written a fairly straight forward nested query which aggregates sales & activity data (num_calls, date, etc.) by customer specialty (CODE_ESP_ACC1) in a single query. The SQL I have written to achieve this is as follows:


SELECT Q002.GP, Sum(Q002.Num_Calls) AS Total_Calls
FROM (SELECT Q001.CODE_ESP_ACC1, Count(Q001.ACT_ID) AS [Num_Calls], Iif([Q001].[code_esp_acc1]="MG" or [q001].[code_esp_acc1]="MF",1,0) AS GP
FROM (SELECT [06 Act 2005 Hosp - IM].ACT_ID, [06 Act 2005 Hosp - IM].TER, [06 Act 2005 Hosp - IM].ACC_ID, [11 Physicians with main specialty].CODE_ESP_ACC1, [06 Act 2005 Hosp - IM].DATE
FROM [06 Act 2005 Hosp - IM] LEFT JOIN [11 Physicians with main specialty] ON [06 Act 2005 Hosp - IM].ACC_ID = [11 Physicians with main specialty].ID_ACC
WHERE ((([06 Act 2005 Hosp - IM].POSITION)=1))) AS Q001
GROUP BY q001.code_esp_acc1, Iif([q001].[code_esp_acc1]="MG" Or [code_esp_acc1]="MF",1,0)
HAVING (((Q001.code_esp_acc1) Is Not Null))) AS Q002
GROUP BY Q002.GP;

This works absolutely fine. I can save this query and run it many times without problems. However, if I then re-enter SQL edit view, Access reformats it as follows:


SELECT Q002.GP, Sum(Q002.Num_Calls) AS Total_Calls
FROM [SELECT Q001.CODE_ESP_ACC1, Count(Q001.ACT_ID) AS [Num_Calls], Iif([Q001].[code_esp_acc1]="MG" or [q001].[code_esp_acc1]="MF",1,0) AS GP
FROM (SELECT [06 Act 2005 Hosp - IM].ACT_ID, [06 Act 2005 Hosp - IM].TER, [06 Act 2005 Hosp - IM].ACC_ID, [11 Physicians with main specialty].CODE_ESP_ACC1, [06 Act 2005 Hosp - IM].DATE
FROM [06 Act 2005 Hosp - IM] LEFT JOIN [11 Physicians with main specialty] ON [06 Act 2005 Hosp - IM].ACC_ID = [11 Physicians with main specialty].ID_ACC
WHERE ((([06 Act 2005 Hosp - IM].POSITION)=1))) AS Q001
GROUP BY q001.code_esp_acc1, Iif([q001].[code_esp_acc1]="MG" Or [code_esp_acc1]="MF",1,0)
HAVING (((Q001.code_esp_acc1) Is Not Null))]. AS Q002
GROUP BY Q002.GP;

... and this no longer works (syntax error in FROM statement).

To save you sifting through the SQL, the error is caused by Access replacing the soft brackets () aroung the outermost FROM statement with an object identifier-style hard bracket []. - specifically, the outermost SELECT statement now reads
SELECT Q002.GP, Sum(Q002.Num_Calls) AS Total_Calls
FROM [
instead of

SELECT Q002.GP, Sum(Q002.Num_Calls) AS Total_Calls
FROM (
and the alias for the subquery reads
]. AS Q002
instead of
) AS Q002

Changing the Access alterations back to my original fixes this problem - so the problem is more an annoyance than a disaster. However, I have no idea why Access is doing this to my query, nor how to prevent it from doing so. Does anybody have any experience of this behaviour in Access and any ideas of how to fix it?

Help! Replies appreciated.

View 1 Replies View Related

MS Access Combining Fields Into A Longer One

Jul 27, 2014

i wish to combine multiple fields (there are no fixed number of fields, they vary depending on the data, so i guess union queries are out of the question) into one large field. For example:

TABLE 1:
PNumber
PName
C1
C2
C3

1
AAA
0.1
0.2
0.3

2
BBB
0.4
0.5
0.6

So i wish to combine the fields C1, C2 and C3 into a larger fields containing all the data. So considering the example above, it should look like this:

TABLE 2:
PNumber
PName
C1+C2+C3

1
AAA
0.1

1
AAA
0.2

1
AAA
0.3

2
BBB
0.4

2
BBB
0.5

2
BBB
0.6

I plan on entering data into TABLE 1 using a form and running a query, or some code etc so that it looks like TABLE 2.

View 14 Replies View Related

Access No Longer Recognized Linked Jpegs

Aug 22, 2006

I'm using Access 2003 with a frontend/backend database on a network. Several of our forms have image controls with links to a folder of JPG images, and these have worked fine for months. I have followed the recommended linking method described here (http://www.access-programmers.co.uk/forums/showthread.php?t=92837&highlight=jpg+link) and as I mentioned everything has worked fine until recently. Foolish me decided to try out Office 2007 beta for a few days but uninstalled it after a few days. Now, on my computer only back on Access 2003, whenever I try to open one of the forms that previously worked I get an error message saying "Access does not support the format of the file '....jpg. Try converting the file to BMP or GIF format". Copies of the same frontend works fine on other work stations, and I can open jpgs in Word and Excel. Or, to be even more frustrating, an embedded jpg will show up fine in my copy of the program - it's only linked jpgs that are rejected. I first repaired Office 2003, then completed unintalled and reinstalled it - same error message. 2 hours with MS tech support has been likewise futile. I'm guessing it has to be some kind of registry error, but nothing I seem to do makes a difference. Any suggestions at all will be greatly appreciated, because my next step is a complete format and clean install of everything.

View 2 Replies View Related

Access 2000 To 2003 - Feature No Longer Functioning Properly

Dec 12, 2005

I have built a rather extensive database using Access 2000. When I install it on an Access 2003-enabled machine, the first time it is opened, the user is presented with the following errorbox:

"An error occurred and this feature is no longer functioning properly. Would you like to repair this feature now?"

At this point, clicking "Yes" results in an update the installation of Access 2003. Then the database must be opened manually again. Then, the following is displayed:

"Module not found."

Closing the database at this point and then opening it again results in a normally functioning database.

I have several questions:

1) What is the feature that is no longer functioning properly?
2) What is updated when the installation exec runs?
3) What module is not found? I assume this is one of the VBA modules that I've created, but I've check all 62 of them and they all seem to be there available.
4) My first guess was a reference problem, but I've checked the references used and all are available, as far as I can tell. These are the ones that I have referenced: VBE6.DLL, MSACC9.OLB, DAO360.DLL, STDOLE2.TLB, MSCAL.OCX, MSADO25.TLB, MSO9.DLL.
5) After getting the first error - the one about nonfunctioning feature, I clicked "no" to the repair now question. This does nothing except the database remains open. At this point, I opened the code and tried to compile, but I get the "module not found error". I likewise tried to set a breakpoint in one of the first modules and I get the same result.
6) I even tried to copy the forms, queries, tables, and reports into a blank database with no references and no other extraneous code and received the same result.

This site has been extremely helpful in the past and I am really relying on you guys again for the same stupendous help now.

Forever in your debt,

Tom

View 5 Replies View Related

How Do I Complete This Project? Need A Few Answers To Finish DB Project.

Apr 25, 2005

I have tables and forms setup but I have 3 general questions on how to finish the project.

1. Should I create a folder where all the files reside for instance, create a phone log folder, put the DB file into the folder and export XML's into the same folder?

2. How do I get the form to launch as a self-contained form without the Access application in the background?

3. How can I get this form and table to automatically update an XML spreadsheet whenever records are added?

4. How can I get the form to sort all records according to time logged? The time will be entered in manually and we need all the records to sort automatically by time in ascending order.

View 5 Replies View Related

Deploying Access 2003 Project In Different Access Versions

Dec 28, 2005

Hello,

I have two questions related to deplying an Access project I have been working on.

1. I started developing the project in Access 2000, but midway upgraded to Office 2003 and so the remainder of the project has been developed in Access 2003. Things seem to be fine, except that in the top most title bar, after the project name, there appears the following text:

xxxxx: Database (Access 2000 file format)

where xxxx is the name of the .mdb file.

Why is this appearing and should I have done something or do something to make it a Access 2003 format?

2. I am at the point of deplying the db to a small group of users (about 5). Some of them may have Access 2000 or Access 2002. Should I be doing something in particular to make sure things work in their machines.
Any pointers to what may be problems or what I should do will be much appreciated.

Thank you.

View 2 Replies View Related

Converting Access To Access Project Query Problem

Sep 18, 2007

Hello All,

I am working on a project that was started in access, but needs to be moved into an Access project so that It can be integrated with other forms. When I did this I realized that my database queries needed to be changed from Access to SQL code. for example instead of representing a date as #DATE# it needed to be represented as 'DATE'.

However I have one issue that I am having issues with.

I have a query that determines a few collumns by running information through a vb function and returning the result.

The issue is I do not know how to convert this code from Access to SQL so that it will work.

The code is

SELECT Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]) AS [Action], TESTSTAT.*, Action_date([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER])) AS Action_Date_Field, IIf([DUE]<[WAIVER],[WAIVER],[DUE]) AS Later
FROM TESTSTAT
WHERE [LOG_NO] LIKE '*'
ORDER BY Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]);

Can someone provide me with a sutible sql equvalent to this code

Thank You
Mike

View 7 Replies View Related

Converting Access To Access Project Query Problem

Sep 18, 2007

Hello All,

I am working on a project that was started in access, but needs to be moved into an Access project so that It can be integrated with other forms. When I did this I realized that my database queries needed to be changed from Access to SQL code. for example instead of representing a date as #DATE# it needed to be represented as 'DATE'.

However I have one issue that I am having issues with.

I have a query that determines a few collumns by running information through a vb function and returning the result.

The issue is I do not know how to convert this code from Access to SQL so that it will work.

The code is

SELECT Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]) AS [Action], TESTSTAT.*, Action_date([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER])) AS Action_Date_Field, IIf([DUE]<[WAIVER],[WAIVER],[DUE]) AS Later
FROM TESTSTAT
WHERE [LOG_NO] LIKE '*'
ORDER BY Action_Indef([DUE],IIf(IsNull([WAIVER]),[DUE],[WAIVER]),[LOG_NO]);

Can someone provide me with a sutible sql equvalent to this code

Thank You
Mike

View 2 Replies View Related

Please Help Me. With A Access Project.

Nov 27, 2005

Ok first off thank you for anyone who even reads this.

Iv been assigned a project in using Access 2003 and only Access 2003. Im stuck and getting frustrated and was wondering if anyone would mind helping me.

What my Prof wants is a Access database with a form to do the following

HE wants us to have menue with

5 sandwitch combinations
5 Side (combinations)
3 drink Combinations
2 desert combinations.

Ok he wants us to input 1 of each category as if we were ordering

then he wants us to order it and print out a Recipte with the following info.

Sub total
Tax
Total Purchase
How many Calories the entire order is.

Im attaching a .mdb file with what i have come up with but im not sure if its even going in the right direction. I would forever be in debt if someone would help me.

rename the wendys.txt in the zip file too wendys.mdb

View 1 Replies View Related

Please Help Me. With A Access Project.

Nov 27, 2005

mods could you please del this thread. thx

View 14 Replies View Related

Access DB Project

Feb 13, 2007

Hey guys,

I am a total NOOB when it comes to access....i am currently taking an access class at my college and its time for our first project. I really need help getting started cuz alot of the terminology is so new to me... I have been provided with a sheet of information and have to create a DB based on said information.

if anyone out there is feeling super generous with their time and is willing to help me through it...just to get me started..my aim is NIPPONLIFE86.ive found that its getting everything going that is the hardest...especially when im creating a database not just inputing data.:confused:

thanks so much for your time guys!

Kin

View 3 Replies View Related

Access Project

Apr 3, 2007

Does Access database support muliple users on the same data update, if so how many. What will be the best way to avoid locking up a field when somebody else is trying to update a different field within the system. It run on server:

confused: .

View 1 Replies View Related

Need Help On Access Project I'm Doing...

Dec 2, 2004

am working on a Microsoft Access project for my computer tech class and I am stumped on a few things.

I have to do a payroll for all the employees on the project he gave us, I have to list their names, pay rate, and all tax rates when I put in another table. When I run the query and put all the requirements in the query and run it in datasheet view, it comes up with the employees name and every single type of payment and tax rates. So for IE, operations manager makes $18.75 a hour, but when I run the query it has 18.75, 15.00, etc for all the payrates given. How can I have it so just the pay rate and tax rate for just the person who is paid that??

I also have a Address book for all the workers. I need to group them by location of the stores(there are 3 store locations) and then sort the job location workers by last names, any help on how to do that??

I have the assignment scanned if anyone would want to see what all I have to do...

View 1 Replies View Related

MS Access - Project Macro

Oct 7, 2005

I have recently made a database and through MS Development Tools have been able to bundle it with Access Runtime. We are using MSDE as a backend and when I install the 'package' created by MS Project on another computer it says that it cannot find the SQL Server database.

This will mean (i believe) I will have to write a macro to reference the external SQL database (MSDE)?

If anyone has knowledge of this or/ and can point me in the right direction it would be appreciated.

Phil

View 3 Replies View Related

MS Project Linked To Access

Nov 4, 2006

I have db which lists all the projects with related information in it. But also there is a MS project file which holds the milestones and everything else. Is it posible to have a subform which will be linked to a MS project file and will display only the portion which belongs to the project displayed on the main form?

View 3 Replies View Related

Access Project Issues

Nov 13, 2006

Hello All,

I have some questions about Access Projects. I recently converted an Access 2003 MDB to ADP, because I was having difficulty linking the tables to SQL after moving it to different servers. I wanted an easier way to make the database portable. ie distribute the Front End to clients with different servers.

I converted all the queries to SQL Views, and got the code to work. However there are still a few thing that are not working as they should. I'll list them to make it clearer.

1. First off, how can I (is there a way to) distribute the ADE file to a client with a different SQL Server and Database Name, without displaying a Connection Error when they first open it? It looks for the old server. I know after they set the Connection, it works fine, but that error is annoying.

2. <FormName>.Recordset.Find doesn't seem to work anymore. When I try to Open a form and do a Find to place it on a Record, it doesn't work. Any idea why this is?

3. <FormName>.Recordset.AddNew acts weird. It doesn't add the record at the bottom, but instead, 2nd to last. Also, it doesn't fill in the default values as it should. Any idea's on this?

It seems there are bugs in the way Access forms deal with SQL tables in Projects. The funny thing is this all worked fine with the MDB, while Linking the tables to SQL using ODBC.

Any help would be much appreciated.

View 2 Replies View Related

Access Good For A Project?

Mar 5, 2007

Hello for one of my System Development Methodiology classes I have to develop something that will keep track of several projects that a local hospital has going on. We are to develop this in access and it should be able to show how far till completion a project is and several people should be able to update the database.

I usually do not use access and do not know much about it but is an access database able to be updated simultaneously and remotely? If so were could I be directed to find out more about.

View 1 Replies View Related

Access Project Syntax?

Oct 28, 2007

I have a small MsAccess application as a mdb file and I have a many
querys that use some field in a form as a condition.
For example: Forms![formx]![fieldx] is a condition for query's field.
I have upsized my access application (mdb) to access project and theese
querys does not work anymore. What I need to write in a access project query instead "Forms![formx]![fieldx]" ???

Thanks

View 1 Replies View Related

Access Project Queries

Dec 16, 2007

I'm trying to modify a query in project but I get this Error and not sure where or how to fix this problem. I've been searching Microsoft Web Site.

You have connected to a version of SQL Server later than SQL Server 2000. The version of Visual Studio or Access that you are using was released before the version of SQL Server to which you are connected. For this reason, you might encounter problems.

Please help!!!

View 2 Replies View Related

MS Access Project, Subforms, ADO

Feb 20, 2006

Not sure if this has been discussed already, forum searches yielded no results:

I have an mdb that I have ported to SQL server.
I would like to continue using Access as the front-end, and have begun to re-write the GUI using ADO.
While it seems that most operations can be replicated using ADO, I am having trouble with subforms, especially those where the users currently enter more records i.e. inputting order lines which correspond to a single order record.
(They enter the order line records into a subform setup as a datasheet).

So far, I have been able to create a form accesing the "Orders" table, and a subform accessing the "OrderLines" table, however, the orderl lines appear as read-only and no input is allowed (the usual 'empty' record is not present).

Can anyone advise me on how to proceed?

I would like to retain the simple method of entering order lines into the datasheet as the users are familiar with it, but if there's a better way or only certain methods are allowed, I'd like to know.

Thank you.

View 1 Replies View Related

MS Access Project, Subforms, ADO

Feb 20, 2006

Not sure if this has been discussed already, forum searches yielded no results:

I have an mdb that I have ported to SQL server.
I would like to continue using Access as the front-end, and have begun to re-write the GUI using ADO.
While it seems that most operations can be replicated using ADO, I am having trouble with subforms, especially those where the users currently enter more records i.e. inputting order lines which correspond to a single order record.
(They enter the order line records into a subform setup as a datasheet).

So far, I have been able to create a form accesing the "Orders" table, and a subform accessing the "OrderLines" table, however, the orderl lines appear as read-only and no input is allowed (the usual 'empty' record is not present).

Can anyone advise me on how to proceed?

I would like to retain the simple method of entering order lines into the datasheet as the users are familiar with it, but if there's a better way or only certain methods are allowed, I'd like to know.

Thank you.

View 1 Replies View Related

Access Project Properties

Mar 19, 2007

I am experimenting with Access Project and recently set up the MSDE 2000 on my desktop. My question is how do I set up user level permission in it simular to the user level security in access. I read that the MSDE 2000 or SQL 2000 has betten security features than MS Access jet, yet I haven't found a way to look into the property of the MSDE. Do I need another application in order to view the operating property of the MSDE or its security feature?

View 4 Replies View Related

Importing MS Project Data Into Access

Sep 28, 2005

Does anyone know how to import Microsoft Project data into an Access database?

I am looking to use "high level" MS Project schedule data as input to a new Access application that I am currently designing. Is this even possible?

Any help or links to more information is GREATLY appreciated!

Thanks,
AC

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved