Save Operation Failed

Feb 24, 2006

anyone know of a reason for this error: "The save operation failed"? I attempted to edit some code and tried to save but got this error. Also been getting some out of memory errors. Not sure why though. Thanks

View Replies


ADVERTISEMENT

Save Operation Failed Error After Decompile

Oct 31, 2007

I'm beginning to lose the will to live over this one. I've been merrily developing a large application (ADP) in Access 2000 and 2003 over the past 5 years. The size of the ADP is now around 30MB and it contains the following quantities of objects:

23 modules
424 forms (409 with modules)
296 reports (284 with modules)

My problem is that whenever I use the decompile switch and then recompile I get the dreaded "The Save Operation Failed" message on saving the code and the whole ADP is then rendered corrupt. My only option is to create a new ADP and import each object type (Modules first, then forms then reports) separately, compiling as I go. This seems to work OK but when I open a file I've been working on in Access 2000 on an Access 2003 PC it seems to decompile it by itself and then won't compact/save. Does anyone have any ideas about this? I've searched Google and can't come up with any reasonable suggestions.

View 1 Replies View Related

Modules & VBA :: Save As Dialog Box - Allow User To Save Copy Of Current Database At Desired Location

Feb 12, 2014

So I have this relatively simple problem: I need to create a button that once clicked will open the Save As dialog box and allow the user to save a copy of the current database where he wishes. The filename should contain todays date in DDMM format along with some pre-set text e.g. DDMM PresetText.

I am using Access 2010.

View 2 Replies View Related

Modules & VBA :: Save Access Report As PDF And Save To Folder

Jan 10, 2014

I have a few selected reports on an Access 2007 database that users can run. Is there a way for users to view the report, save as a PDF and automatically save a copy to a shared drive by modules/vba coding as an On Click event procedure?

View 4 Replies View Related

ODBC Failed

Feb 9, 2006

i am using access as a front end to SQL Server 2005 and link tables via ODBC.

Today when I run a query (normally works fine) I receive an ODBC Failed message box. I have tried opening each link table connected to the query and can open fine.

can anyone suggest other reasonf or this failure?

View 2 Replies View Related

ODBC Failed

Mar 17, 2006

I am running a report that is built up of several backend queries.

I have identified the query that is causing the ODBC Failed message to appear, but cannot identify what is causing the problem.

I have tried to recreate the queries starting form the base query (which works fine).

Cannot anyone suggest anything?

Thanks

Paul

View 1 Replies View Related

Cascading Failed

Jun 24, 2005

I have three cascading combo boxes that, when a selection is made, will auto-fill 3 following text fields. So I had it working just beautifully, with the data pulling from the correct columns. All of a sudden, they stopped working, and the text fields are displaying #Name? instead of the appropriate data. Nothing has changed on my form, and I have really been struggling to determine what happened and to fix it. Any help or suggestions would be welcome. Thanks.

View 2 Replies View Related

Failed Math Can't Add

Dec 4, 2004

I have 6 fields that display a price based on a combo box selection
I can get one to subtract from another but not all add up
It should also be a running total so it updates as I pick more options

And how can you get the combo baxes to start out blank they all have
selects already made when I open the form


Thanks I'm fairly new to access

View 1 Replies View Related

ODBC Call Failed

Jul 16, 2007

I have a new user who is trying to connect wirelessly. I set up the ODBC connection on his laptop but when he tries to run a report that uses queries looking at linked tables he gets ODBC call failed. Is it because he is trying it wirelessly. I'm just the data guy so I don't know too much about networking.

View 2 Replies View Related

ODBC Call Failed

Mar 7, 2007

Hi,

I have a standalone Access DB with 4 linking tables therein. They all point to tables that are stored in a server Access DB. I can open 3 of these tables in datasheet view without any problem, except one.
Whenever I try to open it, I am prompted following msg "ODBC call failed etc... server API error (#669) etc..."
And when I click OK to close the Error msg box, then another msg box appears with the msg: "Microsoft Access can't open the table in Datasheet view"

I've deleted the link table and recreated it. But I still can't open the table in datasheet view.
Does anyone knows what's to do? :confused:

View 3 Replies View Related

ODBC --call Failed.

Feb 22, 2007

This error comes when try to run a query in Access. Does someone knows how to fix it?


ODBC --call failed.
[Oracle][ODBC][Ora]ORA-01013:user requested cancel of current operation (#1013)

Any help on this will be greatly appreaciated. Thanks a lot.

Wil

View 10 Replies View Related

ODBC Call Failed

May 31, 2007

Using Access 2003 and SQL Server 2005.

The Access database uses linked tabled to the SQL Server.

I have a 1 table query where I am trying to return data for a search form.

Here is the query:

CaseID = Forms!Search!cboCase

This works fine. However, when I try to get the query to return all records when there is no case selected using:

CaseID = Forms!Search!cboCase OR Forms!Search!cboCase is null

I get an ODBC call failed.

query itself doesn't work.

View 4 Replies View Related

Failed Math Update

Dec 5, 2004

Its in the control source of the text box I want the total stored in
=Forms![Estimate Maker]!Tank.column(2)+Deck.column(2)+[Internal Valve].column(2)


The data entry setting did the job thanks much

View 3 Replies View Related

Open Method Failed

Sep 27, 2005

Getting an error on the rst.Open statement of
"Method 'Open' of object '_Recordset' failed"

I am using the same code that I have used before, just tweaked some. Earlier I had an error because the ActiveX control was not checked off for the ADODB connection.

Below is the code...any ideas? THANKS!


Dim Conn As ADODB.Connection
Dim rst As New ADODB.Recordset
Dim lg As String
Dim frmOffset As String
Dim tagnm As String
Dim sql1 As String
Set Conn = CurrentProject.Connection

frmOffset = "3. Offset Printing"
lg = "PT"
tagnm = "Label22"
sql1 = "select translation from translation where lang=" & "'" & lg & "'" & "and formname=" & "'" & frmOffset & "'" & " and tagname=" & "'" & tagnm & "'"

rst.Open sql1, Conn, adOpenKeyset, adLockOptimistic
Me.Label22.Caption = rst!translation

View 6 Replies View Related

ODBC Call Failed - End Users

Apr 18, 2006

I am running Access as a front end to SQL and maintain all reports and forms from a .mdb. I then release an .mde to a different location for end users to use.

Each time I release an .mde and a user attempts to run a report an "ODBC call failed" error appears. So I have to re-link tables on users pc's. The Users ODBC connections are set up the same as mine.

Has anyone any ideas why this may be happening?

Thanks

Paul

View 1 Replies View Related

Query Only If Failed To Meet Requirements

May 23, 2007

I am tyring to set up a query, that runs from a selected date range, to return only the records that don't meet the requirments. For example, I have four fields:

Name
Date
Attended
Required

I want to start the query from a date range usesing Between [StartDate] And [EndDate]. There are mulitpule records containing the same date. Then from there I want to return only the Names that don't attend the required number of sessions.

Ex.
Attended = 2; Required = 4; Return name
Attended = 3; Required = 3; Don't return name

Would this be possible with one query? If so, how would I go about setting up the criteria. If not then how would i link the 2 queries together?

View 2 Replies View Related

Create MsgBox For Failed Search

Jan 12, 2005

I'm using Open Form, and setting the Where condition to a Parameter called search, so that a pop up asked for search parameter from user. If there users search fails to get any matches, a blank form is returned.

Can anyone suggest a better way to achieve this, so I can include a message to say no data found??

This is all my click event reads thus far...

DoCmd.OpenForm "FindLesseeForm", acNormal, "", "[Lessee]![LesseeName] Like [Search]", acReadOnly, acNormal

Thanks

View 2 Replies View Related

Modules & VBA :: ODBC Call Failed

Oct 23, 2014

I am facing a problem with ODBC call failed error latly.The problem doesnt occur on my development PC but only on other PC's.I'm a beginer in Access, vba and I cant find a solution to make it work on every machines.

Code:

Dim qSQL As String
DATA = "#" & DatePart("m", DATA) & "/" & DatePart("d", DATA) & "/" & DatePart("yyyy", DATA) & "#"
qSQL = "SELECT Sum([IL]*[TO])" & _
"FROM PUBLIC_S INNER JOIN PUBLIC_SD ON PUBLIC_S.U = PUBLIC_SD.U " & _
"WHERE (((PUBLIC_SD.DAT)=" & DAT & ") AND ((PUBLIC_SD.ANA)='" & ANA & "') AND ((PUBLIC_SD.IA)='" & ia & "') AND ((PUBLIC_SD.AN_C)='PIMSS'));
Set Db = CurrentDb()
Set rs1 = Db.OpenRecordset(qSQL)

View 2 Replies View Related

Invalid Operation

Apr 21, 2006

I am running a report from a form that is to produce an excel output:

Private Sub cmdTransferToExcel_Click()

On Error GoTo Err_CmdTransferToExcel_Click

Refresh

DoCmd.Hourglass True

DoCmd.OutputTo acOutputQuery, "Temps_Margin_Output", acFormatXLS, [Forms]![Revenue_Output]![output], False


Exit_CmdTransferToExcel_Click:
DoCmd.Hourglass False
MsgBox "File Created", vbOKOnly
Exit Sub

Err_CmdTransferToExcel_Click:
MsgBox Err.Description
Resume Exit_CmdTransferToExcel_Click

End Sub

but receive an error "Invalid Operation"

Can anyone suggest anything?

Thanks

View 1 Replies View Related

Table Operation!!

Mar 12, 2007

hello,

I have a table with "fieldA", "filedB", and "filedC". I want "fieldC" to be the result of multiplying "fieldA" and "filedB". How can I do this?? I don't want to have to type in the result in "fieldC", I want this to be done automatically when I fill up "fieldA" and "filedB."

thank you very much

View 5 Replies View Related

Parameter Operation

Oct 12, 2007

I have a calculated query field that says this:

1 wk Wins: IIf(([1 week price]-[PRICE])/[PRICE]*100>=[s],1,0)

It prompt me for the variable [s] when I run it, as it should.

However, the results for whatever I type for [s] are not the same as the results if I just put the number in the query instead, ie:

1 wk Wins: IIf(([1 week price]-[PRICE])/[PRICE]*100>=5,1,0)

The above should return the same results as if I input 5 for the parameter prompt for [s], but they do not, and I cannot for the life of tell what Access is actually doing with the number I input for [s]. I cannot see a trend in its results from record to record, it just seems random.

Any thoughts on this appreciated.

thanks,
andrew

View 3 Replies View Related

ODBC-call Failed, Error 3146

Oct 14, 2004

I have an ODBC connection to our company's data that uses Macola. I can enter criteria in the fields in Access to filter that data, but when I try to put a parameter query in such as [Enter order number:] I always get an "ODBC-call failed" message, error# 3146. Can I even solve this problem, or am I just not going to be able to actively change the criteria unless through a pivot chart or table, or by hand? Can anyone help? Thanks.

View 1 Replies View Related

Method 'Collect' Of Object'_Recordset' Failed

Jan 27, 2006

Method 'Collect' of object'_Recordset' failed is the error I am getting when I try to set a record field to a form text field that has the system date set to it.

Specifically.

yrst is the recordset

I set a number of recordset fields to values on a form with no problem.

Included on the form is a field "txtNewUpdtDt". The control source is =Date()

The statement that is failing is yrst!SysUpdtDt = Me.txtNewUpdtDt

This had been working until today. I googled the error message and found a lot of hits, but none that specifically addressed my situation.

Anyone have any idea what's going on?

Thanks,

B

View 3 Replies View Related

Odbc Connection On Linked Table Failed

Feb 9, 2008

I Need help,

I have an access 2002 front end and I am linked to a sql server express 2005 backend and in one of my tables I am getting this error when I add a record to a work order table. The error is ODBC connection on INSERT failed on linked table.

A few strange rhings happen. It only involves customers with over (approx.) 140 work orders (there is a one to many with customer to work order). All other customers seem to be immune to this.

Also, if you go to the tables directly from a access database window, you can still add/edit or delete records, but in the form view, it gives you an error.

I have tried several things including changing code (the orgional code was set dbs= currentDB and dbs.execute("INSERT.......)

I have found similiar posting but no real direct causes. does anyone have any ideas on how to resolve this?

Thanks

Frank

View 1 Replies View Related

Simulating Telesales Operation

Aug 13, 2006

I have developed a MS-Access application for a small call-center (20 users).with approx 1500 customer-records to call everyday.
What I have done:
There are 20 front-ends residing at the Telecallers desktop and 1 database@server. Presently I am allocating 1500 records (clients send 1500 data everyday) everyday to 20 telecallers so that they get their respective calling details (75 records/telecaller). The no of cases that they need to call is predetermined.
They see cust-details and call up the customer manually.
What I intend to do:
I don’t want to allocate records to telecallers. Instead, when they open the FE-screen they will get the record that is available. (Of course keeping in mind that no particular record is opened by more than 1 telecaller).
Any help in this regard is highly appreciated. Any idea will encourage me to make the application more pro.

View 3 Replies View Related

Help With Structure And Order Of Operation.

Dec 21, 2006

Say I have a table full of tasks. Some tasks are performed each day (Mon-Fri, Friday only, Saturday only, etc). Each day someone has to mark which tasks were not completed, and move those to another table (?). Each task may have small changes to it (length of time, who performs the task, etc.).

There is one person tracking these 350 tasks per day, which they run a report generated from another server that tells them what wasn't completed.

I would like form to be able to show what was completed for the day (by basically subtracting what wasn't completed), as well as for a range of days.

Most of this I can do, but the basic problem is how to generate a "daily" schedule, or a list that he can select what wasn't done? I thought about make a table of days from now until about 2010, and make a query with no relationship so that it assigns a date to each entry (which creates several hundred thousand lines), but that wouldn't do because there can be change that occur for that task for one day or several months.

How does one handle reoccurring events like this? I've gotten fairly good with Access over the past several months, and 90% of what I want to do is no problem, but this one problem, with scheduling, is something I've never been able to figure out. I really need this for 3 separate projects!

The closest I've come is using an append query that pulls a date from a control on a form with a button press, and adds to a list of tasks, but I feel there should be a more elegant (and foolproof) option.

View 2 Replies View Related







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