Results 1 to 2 of 2
  1. #1
    k9drh is offline Novice
    Windows 7 64bit Access 2007
    Join Date
    Apr 2011
    Posts
    6

    Incorrect syntax near keyword “ORDER"

    I’m lost I hope someone can point me in the right direction.
    I created a access database using 2003 years ago and have upgraded to 2007.
    The actual database standalone works great. The first form I call on opening the database is a switchboard which was created using database tool switchboard manager.


    Now comes the problem, I am upsizing this database to SQL Server Express 2008 R2 (Client/Server).
    The database completes and the report shows no problem.
    When you double click the database to open it I get the following error message:
    “Incorrect syntax near keyword “ORDER””
    Hence the problem I don’t know where to look to correct this. Looks to be in the MS code and not something I created in VBA.
    every time you click form "Switchboard"
    Any suggestions would be appreciated.

  2. #2
    SoftwareMatters is offline Access VBA Developers
    Windows XP Access 2003
    Join Date
    Mar 2009
    Location
    Dorset
    Posts
    274
    Have you checked the recordset behind the form (if there is one)?

    Do you get a debug option?
    If so have you tried stepping through?
    If not try putting a break point on the OnOpen even of the main switchboard and see what happens when you try to open it.

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

Similar Threads

  1. Replies: 13
    Last Post: 12-05-2011, 05:10 AM
  2. ORDER BY ... If (SQL syntax question)
    By Remster in forum Forms
    Replies: 9
    Last Post: 05-18-2011, 06:54 AM
  3. Replies: 7
    Last Post: 04-29-2011, 03:44 PM
  4. Making a keyword search
    By timmy in forum Forms
    Replies: 9
    Last Post: 03-14-2011, 02:57 AM
  5. Extracting data after a keyword
    By KerryA in forum Queries
    Replies: 1
    Last Post: 02-11-2010, 09:56 PM

Tags for this Thread

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