Results 1 to 5 of 5
  1. #1
    Tari is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Feb 2011
    Posts
    36

    Question Expression Error

    I have a form where users enter supplier information.. Name, Address, Contact, Phone etc. etc.

    I have 6 databases for 6 departments and 2 of them entered something into the supplier information that access does not like, as I get the attached error. The other 4 are fine.



    Looking at the table that contains the supplier information, I can't find anything that looks funny.

    Any idea how I can narrow down where this error comes from?

    Thanks!

  2. #2
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    OK, trouble shooting questions:

    * For the two "bad" databases, does the error happen in the same form/report/...? At the same point?

    * Could there be a calculated control on the form/report?

    * If the record source for the form/report is a query, open the query. Do you get the error??

    * If the error is in a query, create a copy of the query, then in design view, delete one column at a time until the query executes without an error. The last column you deleted is the problem.

    * Are the databases split, with the BE on the server and a *copy* (not shortcut) on each user's computer?

    * If the databases are identical, make a copy of one of the "good" front ends and link it to one of the "bad" back ends. Is there still an error??

  3. #3
    Tari is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Feb 2011
    Posts
    36
    Sorry I should've clarified

    There are 2 buttons that open 2 forms in which users put supplier information. When you hit the button the error occurs, you hit OK and the form opens without any problems.

    The button calls a macro. The macro simply opens the form, one in "add" on in "edit" mode.

    I imported the forms from a working database, but it makes no difference. I imported the macro from a working database and it makes no difference either.

    Therefore I was thinking that I might have something to do with the data the users entered into the supplier information forms, but I found no symbols, spaces or anything out of the ordinary.

  4. #4
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    That is the problem with macros: no error handling. I never use them.

    So if you use the database window and open a form, do you get the error??

    What commands are in the macro?

    What about the rest on my questions. Its hard to help you troubleshoot without info.

  5. #5
    Tari is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Feb 2011
    Posts
    36
    I'm quiet the noob and macros are fairly easy

    I shall answer all your questions when I'm back at work tomorrow. I wouldn't know without looking at the DB )

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

Similar Threads

  1. syntax in query expression #ERROR help!
    By manos39 in forum Queries
    Replies: 1
    Last Post: 02-26-2011, 12:21 PM
  2. Error in query expression Date()
    By boywonder in forum Queries
    Replies: 15
    Last Post: 12-26-2010, 06:04 PM
  3. Syntax Error in Query Expression on filter
    By alaric01 in forum Forms
    Replies: 1
    Last Post: 10-14-2010, 07:23 AM
  4. Syntax error (comma) in query expression?
    By TheWolfster in forum Queries
    Replies: 5
    Last Post: 05-10-2010, 12:02 PM
  5. Syntax error (comma) in query expression
    By KLynch0803 in forum Programming
    Replies: 3
    Last Post: 01-18-2010, 03:35 AM

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