Results 1 to 7 of 7
  1. #1
    squirrly is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Aug 2011
    Posts
    33

    Reserved word

    I just discovered why my program (DW) keeps crashing whenever I try to make SQL changes - apparently, the word 'found' is a reserved word. I have a lost and found pet website! I have to use the word 'found'! Any suggestions??

  2. #2
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    Quote Originally Posted by squirrly View Post
    I just discovered why my program (DW) keeps crashing whenever I try to make SQL changes - apparently, the word 'found' is a reserved word. I have a lost and found pet website! I have to use the word 'found'! Any suggestions??
    Allen Browne has a list of reserved words

    http://allenbrowne.com/AppIssueBadWord.html

  3. #3
    alansidman's Avatar
    alansidman is offline VIP
    Windows 7 32bit Access 2007
    Join Date
    Apr 2010
    Location
    Steamboat Springs
    Posts
    2,529
    Here is a list of Reserved Words from Microsoft. I don't find "Found" amongst that list.

    http://office.microsoft.com/en-us/ac...010030643.aspx

    Alan

  4. #4
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    "Found" is a JET reserved word. You can try bracketing it:

    [Found]

    or simply use things like PetLost and PetFound as field names. Using "Found" in captions and such for the user would not cause any issues.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  5. #5
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    FOUND is a Reserved Word for SQL Server. For a complete list see...

    http://msdn.microsoft.com/en-us/libr...v=sql.80).aspx

    To avoid such issues I use a Naming Convention...

    My Naming Conventions

  6. #6
    squirrly is offline Advanced Beginner
    Windows Vista Access 2007
    Join Date
    Aug 2011
    Posts
    33
    I originally found the word on this list: http://support.microsoft.com/kb/321266. It is also found on many other lists out there. The word is not being used in the Access column titles, only the data. The problem occurs in Dreamweaver when trying to use the word in a SQL statement.

  7. #7
    GinaWhipp's Avatar
    GinaWhipp is offline Competent Performer
    Windows 7 64bit Access 2010 32bit
    Join Date
    Jul 2011
    Location
    Ohio, USA
    Posts
    377
    I can see that because SQL Statement in talking to the Server would get *confused*.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Error 3464 Reserved Error
    By e.badin in forum Reports
    Replies: 6
    Last Post: 07-18-2011, 02:47 PM
  2. Does reserved code -3087 mean corruption?
    By MAM8433 in forum Access
    Replies: 1
    Last Post: 05-27-2011, 04:24 PM
  3. Reserved error (-3703) help!
    By infinite26 in forum Access
    Replies: 3
    Last Post: 02-02-2011, 10:55 AM
  4. Reserved Error -1517
    By Rick West in forum Queries
    Replies: 5
    Last Post: 12-10-2009, 02:12 PM
  5. how do i do a word count
    By clueless in forum Queries
    Replies: 0
    Last Post: 06-03-2009, 09:01 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums