MS Access Reserved Error (-1517)

Jan 29, 2007

WTF does this mean?

ugh

nothing on google with this error message

thanks

sportsguy

View Replies


ADVERTISEMENT

Reserved Error (-1517)

Nov 4, 2005

A query that I have been running without error for months has suddenly failed. When I try to run it I get this error message:

Reserved error (-1517); There is no message for this error

The query is

INSERT INTO DISPUTESPortal
SELECT DISPUTES.*
FROM DISPUTES;

Like I said, this has worked for months, but just started failing the other day. Neither table's layout has changed.

Any idea what this error is, and how to get my query working again?

Thanks,
David

View 1 Replies View Related

Reserved Error (-1517); There Is No Message For This Error.

Mar 31, 2006

Does anybody know what this error message refers to?

"Reserved Error (-1517); there is no message for this error."

It just started happening today, and I haven't even made any changes to the database. It occurs when I hit a button I have to run a macro.

the macro does the following:
1) Shows all records
2) Requery
3) ApplyFilter.
The Where Condition for the filter is:
Right([tblContracts].[JobNum],4)=Right([Forms]![FrmContProc].[txtFindJobNum],4)

The weird thing is that it only occurs if the Form window is taller than 1/2 of my viewable area. If the Form window is 1/2 the viewable area or shorter, it works OK. This was running fine earlier today, but about 4:00 pm (03/31/06) this started happening.

If anybody knows what this error means, or how to get rid of it (I really need to use this window in full-screen) then please let me know.


-Thanks, Sean

View 10 Replies View Related

"Reserved Error -1517"

Mar 5, 2006

insert words that are not for public . . . .

I have a large text file, 800 megs,
354000 records. . .

and when i run the following query . . .


INSERT INTO ACEimport ( CustomerID, ContractID, ContractModifier, ContractLine, ServiceProgram, Invoice, InvoiceLine, InvoiceDate, TransactionType, EffDate, EndDate, Duration, UOM, AcctRule, BillCycle, BAMA, EOPBillFlag, Product, CValue, InvoiceTotal, RevenueTotal, GLDate, InvoiceLineTot, ContractLineTot )
SELECT Xrevenueoracle.CustomerID, Xrevenueoracle.ContractID, Xrevenueoracle.ContractModifier, Xrevenueoracle.ContractLine, Xrevenueoracle.ServiceProgram, Xrevenueoracle.Invoice, Xrevenueoracle.InvoiceLine, Xrevenueoracle.InvoiceDate, Xrevenueoracle.TransactionType, Xrevenueoracle.EffDate, Xrevenueoracle.EndDate, Xrevenueoracle.Duration, Xrevenueoracle.UOM, Xrevenueoracle.AcctRule, Xrevenueoracle.BillCycle, Xrevenueoracle.BAMA, Xrevenueoracle.EOPBillFlag, Xrevenueoracle.Product, IIf(IsNull([ContractValue]),0,[ContractValue]/100) AS CValue, IIf(IsNull([InvoiceAmt]),0,[InvoiceAmt]/100) AS InvoiceTotal, IIf(IsNull([RevenueAmt]),0,[RevenueAmt]/100) AS RevenueTotal, Xrevenueoracle.GLDate, IIf(IsNull([InvoiceLineAmt]),0,[InvoiceLineAmt]/100) AS InvoiceLineTot, IIf(IsNull([ContractLineAmt]),0,[ContractLineAmt]/100) AS ContractLineTot
FROM Xrevenueoracle
WHERE (((Xrevenueoracle.GLDate)>#1/28/2006# And (Xrevenueoracle.GLDate)<#3/5/2006#));


I get the reserved -1517 error, i have compacted and repaired the destination file, and i have scrolled through with a query and can't find it. . .

Before inserting the Null, i used to get another error of Numeric Overflow. . . and i was hoping that the null error handling would get rid of it. . . but no such luck. ..

any suggestions oh wiser ones?

thanks

sportsguy

View 1 Replies View Related

Tables :: Generating Monthly Report - Reserved Error 1524

Mar 12, 2013

i have a table on my database from which i generate a monthly report by running a query. when i run the query (date from to date to) i have no problem. it shows me all the relevant records. when i want to generate a report, i input the start date and the closing date for the report. it then gives me an error (reserved error (-1524); there is no message for this error.) i have gone into the table and basically isolated all the corrupted entries. there are 359

what i need to know is how to repair these entries without losing the information. im new to access and this is a simple(kinda) database which i set up to keep track of what the staff in my department are doing on a daily basis.

im running access 2007.

View 7 Replies View Related

Reserved Words

May 11, 2005

Hi all,

Does anyone have a definitive list of reserved words in Access? I understand certan words are reserved because they cause a problem when using vba. Is this correct?

It would make sense because I used to have a field called "Name" and my controls never worked correctly. I have since changed this and all is ok.

I have searched Access help files and this forum, but am unable to find a complete list other than the odd one like name, date, group etc.

Any help would be great. Many thanks.

View 3 Replies View Related

Is There A Way To Use A Reserved Word In A Field Name?

May 10, 2005

Hi!

In the field names of my table, I have one field called Group. However, it is a reserved word in MS Accesss. My question is: Is there any way that we can use a reserved name in a field name?

Please advise,

Regards,

Aijun.

View 5 Replies View Related

Modules & VBA :: SQL To Copy Field Contents With Reserved Characters

Jul 11, 2013

I've got some code that loops through a record and copies the non-null fields to another record. This is the partial code:

For Each fld In tdf.Fields
If Not IsNull(Forms!contact_lookup![Contact_sub subform1].Form(fld.NAME)) Then
strSql = "UPDATE tbl1 SET tbl1.[" & fld.NAME & "] = '" & Forms!contact_lookup![Contact_sub subform1].Form(fld.NAME) & "' " & _
"WHERE tbl1.[FC_APN] = '" & Me.txtApn & "';"
DoCmd.RunSQL strSql
End If
Next fld

This works fine until it encounters a field whose contents has a reserved character, like a single quote (" ' ") in it, for example, "What's the what." At that point the SQL thinks there's a " ' " missing in the statement, and I get an error 3075 (syntax error: missing operator).

View 2 Replies View Related

Forms :: Multi Select Listbox Access 2003 Code Gives Syntax Error In MS Access 2010

Oct 24, 2013

I've been using the following code successfully in Access 2003 & now I need to migrate to Access 2010. The purpose of the code is to use the items that the user selects in the list box to build the criteria of a query. Access 2010 keeps giving me a syntax error when I try to run the query & I don't know why:

My code is:

On Error GoTo Err_Command151_Click

' Declare variables
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim varItem As Variant
Dim strCriteria As String
Dim strSQL As String

[Code] .....

The syntax error I get in Access 2010 is:

Syntax Error in query expression 'SELECT * FROM
qryContractListSummarybyDateContract3TYPEBREAK WHERE
qryContractListSummarybyDateContract3TYPEBREAK.Rep ortableName IN('Adbri
Masonry NSW');'

View 12 Replies View Related

Error #error In MS Access???

Dec 31, 2005

I'm from Vietnam and my English is bad. In my database, I have only a table named tblEmployees, which contains these following fields: Employee_ID (data type: text), Name (text), Salary (number) and Allowance (number). I build a form bound to this table. In the footer of this form, I have a textbox control named txtSumSalary that contains the expression: =Sum([Salary]). Everythings is OK. But when I build an another textbox named txtSumAllowance that contains the expression: =Sum([Allowancess]) (I misspelled this field intentionally), the result are error #error in both textbox controls. I don't understand why the textbox txtSumAllowance wrong, the textbox txtSumSalary is wrong too. Help me!!! Thanks a lot!

View 4 Replies View Related

MS Access Table Access Error ! ! !

Aug 20, 2007

One of my user gets the following error from MS Access running from his local machine and linking to the database & appropriate tables. The front end MS Access application uses back end SQL server to get info from. ODBC connections are in place, folder/file NTFS security for this user is also in place. he is admin on his PC. His machine uses DHCP to connect to the network. One thing I'd like to mention is: We have Citrix server on which this application is published and this user can connect and perform the same tasks using the Citrix client. He is having errors in connecting to the tables Only when he launches locally.

Recently he got new upgraded PC and since than this problem arose. He was OK on his older PC. Any ideas what & where else to look?

In my opinion, it must be some tweak that needs to be done on user's machine.

PS: The problem appeared only on this user's new PC, from his old PC he was able to get to the tables and all other good stuff. All other users in the same group do not have any problems at all.

Thanks
Sam

View 5 Replies View Related

Access Error

Sep 20, 2005

Hi there. I was wondering if anyone has seen this error before?

"Your Microsoft Office Access database or project contains a missing oor broken reference to the file 'UAX80.dll' version 8.0.

Any help would be appreciated. I have Googled this file and error to no avail.

View 1 Replies View Related

Access Error! Help

Jun 20, 2006

Hi all, I wonder if anyone can help. I'm not sure of the best way to describe the problemb but will try anyway. I have noticed that when using my database, every so often after a period of use the toolbars start to have problems i.e. when you select edit no drop down appears but if you roll over where it should be some options start to appear. Also the use of the copy, cut, paste etc buttons become unusable. However, if I close all forms, queries etc and reopen a starting form, the problem is gone again for another period of time. I run off Access 2000 and wonder if this is a problem with this version or something else. I would be very thankful if someone could shed some light on this problem i.e. explain it better to me and offer some advice on fixing the problem if possible.

Thanks hope I explained in a way that is just about understandable.

View 1 Replies View Related

Error Access

May 16, 2007

Can anyone help me with a little, big problem?

Wend im trying to open my database this error message shows up.

"Microsoft office has detected curruption in this file. To try to repair the curruption, first make a backup copy of this file. Them, on the tool menu, point to database utilities and click compact and repair database. If you arecurrently trying to repair this curruption then you will need to recreate this file or restore it from a previous backup"

Help?

View 9 Replies View Related

Access Error

Nov 20, 2007

I am getting a Microsoft Access Error when I try to open a database on a network drive. The error message says "The Microsoft Jet database engine could not find the object 'Databases'. Make sure the object exists and that you spell its name and the path name correctly." I also got a message that "Windows was unable to save all the data" for the database. This database worked fine Monday morning, but after lunch everyone who uses the database received these messages and the database would not open (myself included, and I am the owner of the database). I compacted and repaired the database late Friday afternoon. The size of the database is only 6.91 MB (I read in another post that a database cannot be more than 2 GB). Do you know why this would have happened and what I can do to prevent it from happening again?

View 7 Replies View Related

Access Error. Please Help

Oct 23, 2006

Hi
I have made an application in Access 2002 on my computer using in Regional and Language Settings/Language for non-Unicode Programs "Romanian". Now, I need to run my application as a front-end on other computers where the language is "english" but my application is refusing to work. I receive the same error for all my buttons, combo boxes, on "something" action: "the expression on <<action>> you entered as the event property setting produced the following error: a problem occurred while was communicating with the ole server or activeX control". I work to activeX and references but all seems to be ok. If I change the language back on to 'Romanian", the application work fine. What can I do to make it work on other computers with other language?

View 2 Replies View Related

Error With My Asp To Access (please Help)

Apr 28, 2006

I am getting this error:
Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

[Microsoft][ODBC Microsoft Access Driver] Syntax error in INSERT INTO statement.

/draftform.asp, line 59

This is the code:
Code:<% @ Language="VBScript" %><%'declare your variablesDim players_name, shirt_medium, shirt_large, shirt_xtralarge, shirt_xtraxtralarge, mothers_name, fathers_name, street_address, city, state, zipcode, nightphone_areacode, nightphone1, nightphone2, dayphone_areacode, dayphone1, dayphone2, cellphone_areacode, cellphone1, cellphone2, fax_areacode, fax1, fax2, fax_extension, age, birthdate, positions_played, scout_referral_id, authorized_name, authorize_players_name, auth_dateDim sConnString, connection, sSQL' Receiving values from Form, assign the values entered to variablesplayers_name = Request.Form("players_name")shirt_medium = Request.Form("shirt_medium")shirt_large = Request.Form("shirt_large")shirt_xtralarge = Request.Form("shirt_xtralarge")shirt_xtraxtralarge = Request.Form("shirt_xtraxtralarge")mothers_name = Request.Form("mothers_name")fathers_name = Request.Form("fathers_name")street_address = Request.Form("street_address")city = Request.Form("city")state = Request.Form("state")zipcode = Request.Form("zipcode")nightphone_areacode = Request.Form("nightphone_areacode")nightphone1 = Request.Form("nightphone1")nightphone2 = Request.Form("nightphone2")dayphone_areacode = Request.Form("dayphone_areacode")dayphone1 = Request.Form("dayphone1")dayphone2 = Request.Form("dayphone2")cellphone_areacode = Request.Form("cellphone_areacode")cellphone1 = Request.Form("cellphone1")cellphone2 = Request.Form("cellphone2")fax_areacode = Request.Form("fax_areacode")fax1 = Request.Form("fax1")fax2 = Request.Form("fax2")fax_extension = Request.Form("fax_extension")age = Request.Form("age")birthdate = Request.Form("birthdate")positions_played = Request.Form("positions_played")scout_referral_id = Request.Form("scout_referral_id")authorized_name = Request.Form("authorized_name")authorize_players_name = Request.Form("authorized_players_name")auth_date = Request.Form("auth_date")'declare SQL statement that will query the database sSQL = "INSERT into tbl_draft (players_name, shirt_medium, shirt_large, shirt_xtralarge, shirt_xtraxtralarge, mothers_name, fathers_name, street_address, city, state, zipcode, nightphone_areacode, nightphone1, nightphone2, dayphone_areacode, dayphone1, dayphone2, cellphone_areacode, cellphone1, cellphone2, fax_areacode, fax1, fax2, fax_extension, age, birthdate, positions_played, scout_referral_id, authorized_name, authorize_players_name, auth_date ) values ('" & _players_name & "', '" & shirt_medium & "', '" & shirt_large & "', '" & shirt_xtralarge & "', '" & shirt_xtraxtralarge & "', '" & mothers_name & "', '" & fathers_name & "', '" & street_address & "', '" & city & "', '" & state & "', '" & zipcode & "', '" & nightphone_areacode & "', '" & nightphone1 & "', '" & nightphone2 & "', '" & dayphone_areacode & "', '" & dayphone1 & "', '" & dayphone2 & "', '" & cellphone_areacode & "', '" & cellphone1 & "', '" & cellphone2 & "', '" & fax_areacode & "', '" & fax1 & "', '" & fax2 & "', '" & fax_extension & "', '" & age & "', '" & birthdate & "', '" & positions_played & "', '" & scout_referral_id & "', "' & authorized_name & "', '" & authorize_players_name & "', '" & auth_date & "', & "' )" 'define the connection string, specify database 'driver and the location of databasesConnString="DRIVER={Microsoft Access Driver (*.mdb)};" & _ "DBQ=" & Server.MapPath("access_dbdraftform.mdb") & ";"'create an ADO connection object Set connection = Server.CreateObject("ADODB.Connection")'Open the connection to the databaseconnection.Open(sConnString)'execute the SQL connection.execute(sSQL)' Done. Close the connection objectconnection.CloseSet connection = Nothing%>

ANY HELP IS GREATLY APPRECIATED!!!

View 12 Replies View Related

Access Vb Error

Jan 18, 2008

Hello,

I am running one of my own scripts with some loops in between. It does work from start to finish, but I get this error message popping up in between:

Run time error 3052

File sharing lock count exceeded. Increase MaxLocksPerFile registry entry.


If I hit Debug and then Play, the script will continue its process till the end just fine. But I have to continue hitting it everytime it starts a new loop. So, I have been babysitting this script until the loop is complete.

Questions are:
1. Where do I find MaxLocksPerFile registry?
2. What does this error message mean?

Thanks.

View 3 Replies View Related

Access 97 Date() Error

Sep 12, 2005

Windows XP
Office 2003 SP1 with Access 97 SR2

When opening a certain Access database a user is recieving this error:
Function isn't available in expressions in query expression '(((PRODUCTION.DATECREATE)=Date())'.

This only happens on a specific computer. I've tried uninstalling and reinstalling Office, Access, I've even tried just installing Office 97. I also went through and reinstalled all the ActiveX controls that have to do with the date (MSCAL.ocx gives us trouble sometimes).

I'm not that familiar with the programming for the database, it was done quite some time before I got here, but I know enough to understand what is happening. I think the problem lies with the Date() function (this still happens as admin on her machine so it isn't a permissions error) but I have no idea how to fix it.

I remember reading something not long ago about a similar issue that had to do with differing versions of library files for VBA. I was going to try and replace the library file containing that function on her machine with one from mine, until I found that it apparently isn't stored in a file.

Any help would be greatly appreciated as I'm at my wits' end with this thing.

- Pat

View 2 Replies View Related

Exclusive Access Error

Apr 10, 2006

I have a small dabase shared by 4 users on the network. when someone opens the db, then someone else opens it there is no problem. when user 1 has a report open and user 2 tries to update a record, user 2 gets the following error

You do not have exlcusive access to the database at this time. If you proceed to make changes you may not be able to save them later

I have split the database into 2 seperate Db's one is the tables only the other is the objects.

Please advise this is getting frustrating

Thanks
:mad:

View 9 Replies View Related

Error Message Access

May 4, 2006

I receive a message as follows
ODBC call failed
[IBM][iSeries Access ODBC Driver] SQL data type argument out of range (#30030)
what to do ??

View 1 Replies View Related

Access Database Error

Sep 10, 2006

Hi,

I am new to the use of access. I have defined the database in the dsn and named that 'abexp', now when i go to access open the database and then create a module and try to establish a connection to the abexp, it gives me an error - database has been placed in a state by an unknown user that prevents it from being opened or locked. Can someone tell me what am i doing that is incorrect over here. i am trying to get convert from sql server to access.

Best Regards,
Arjun Bhandari

View 4 Replies View Related

Access Error Messages

Mar 27, 2007

Hi all,

Is there any resource that gives a definitive run down on all the errors that can exist within access; their causes and solutions. For example; the enter parameter msg box that appears when it doesn't recognise field value.

Just curious.

Thanks

View 2 Replies View Related

Access Error Codes

Jan 23, 2008

Does anyone out there have any ideas on how I can get a full list of the error codes and their descriptions for microsoft access?

I've set up a simple table with two fields, one for the error code and the other for the description. I've written a short bit of code (see below) to build the table for me, but it only generates 88 codes with the highest being 746.

Now I know that there are error codes up in the 3000 area because I'm trapping a few of them.

What I'm looking for is a list of the error code so I may write an extended list in my error trapping routines.


Code as follows:

Private Sub Form_Load()
Dim My_RecordSet As DAO.Recordset, My_DataBase As DAO.Database
Dim My_Error As Long
Dim My_Description As String

For My_Error = 0 To 4000

On Error Resume Next

Err.Raise My_Error
My_Description = Err.Description

If My_Description <> "" Then

If My_Description <> "Application-defined or object-defined error" Then

Set My_DataBase = CurrentDb
Set My_RecordSet = My_DataBase.OpenRecordset("ErrorCode_Table", dbOpenDynaset, dbAppendOnly)
With My_RecordSet
.AddNew
![ErrorCodes] = My_Error 'set error #
![ErrorString] = My_Description 'set error description
.Update
.Close
End With

End If

End If

Next My_Error

End Sub



Cheers muckers

D

View 3 Replies View Related

Insert SQL Error For Access

Sep 27, 2005

I keep getting the error Syntax Error in INSERT into statement. I don't know why

This is the sql statement:

Dim intRequest As Integer
Dim intRequest2 As Integer
Dim strSQL As String
Dim intInvoiceNumber As Integer
Dim strInvoiceDate As String
Dim strName As String
Dim intBalanceDue As Double
repeats:

If Paid.Value = -1 Then
intRequest = MsgBox("Now that you have checked this as been paid, do you wish to finalize this and become irreversable? (If you want further help about this click the Cancel button)", vbInformation + vbYesNoCancel)
If vbNo = intRequest Then
cancellation:
Paid.Value = 0
Call MsgBox("Request cancelled.", vbInformation)
Exit Sub
ElseIf vbYes = intRequest Then
' Perform action here
Invoice_Number.Enabled = True
Invoice_Number.SetFocus
intInvoiceNumber = Val(Invoice_Number.Text)
Invoice_Date.SetFocus
Invoice_Number.Enabled = False
strInvoiceDate = Invoice_Date.Text
Bill_To_Name.SetFocus
strName = Bill_To_Name.Text
strSQL = "INSERT INTO Paid-Address (Invoice-Number, Invoice-Date, Name, Balance-Due) VALUES ('" & Val(intInvoiceNumber) & "','" & strInvoiceDate & "','" & strName & "','32')"
Invoice_Number.Enabled = False
MsgBox (strSQL)
DoCmd.RunSQL strSQL
Else
intRequest2 = MsgBox("You have checked this invoice to be paid but if you don't finalize it, it be assumed an error or the cheque has bounced. If you finalize it in the other hand this invoice will be permenantly deleted from this record and entered into the paid summary instead. Do you wish to return back to the request message or do permenant cancellation?", vbInformation + vbYesNo)
If intRequest2 = vbYes Then GoTo repeats
GoTo cancellation
End If
End If

View 7 Replies View Related

MS Access Error Message....Help Please

Dec 16, 2004

I'm geting error messages when open my form.

The expression On Load you entered as the event property setting produced the following error: A problem occured while Microsoft Access was communicating with the OLE server or ActiveX Control.

Also same message but for on current.

Here's my code


Public Function WinName()
Me.username = GetWindowsUserName
End Function

Public Function Edit()
If Me!username = [tblpersonnel.username1] Then
AllowEdits = True
ElseIf Me.username = "martiscm" Then
AllowEdits = True
ElseIf Me.username = "larsong" Then
AllowEdits = True
Else: AllowEdits = False
End If
End Function

Also once I'm in the form, if I navigate to the next record I get the same message but it's for On click.

Help Gary

View 2 Replies View Related







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