Results 1 to 7 of 7
  1. #1
    Cathesp is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2017
    Posts
    4

    Compile error when creating multiple value list within a table

    Hi


    Within a table I have a field for which I want to create a multiple value list. I've done this many times before without issue.
    I've chosen 'Yes' to 'Allow Multiple Values" and tried to save but have got the following message: Complie error . in query expression 'Not IsNull(MomGiven'.

    MomGiven is the field name. This field does not exist anywhere else in the database and there are no queries linked to it.

    Please can any one help with this problem?
    Many thanks.

  2. #2
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    Have you tried a compact and repair? also make a backup/copy and try that.

    Access can be strange at times and opening the same thing in a new version sometimes does work.

  3. #3
    CJ_London is online now VIP
    Windows 10 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,933
    you get compile errors with vba code and so far as I am aware not with table/field definitions.

    So perhaps you can clarify exactly what you have - what is the rowsource to your multivalue list? is the type set to value list or something else? And just to confirm, you get this error when you try to save the table design? and not a query based on the table

    your error implies a calculated field - in which case 'momgiven' should be in square brackets

    another possibility is you have set criteria in your rowsource which may not be valid

  4. #4
    Cathesp is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2017
    Posts
    4
    Many thanks - I will try that.

  5. #5
    Cathesp is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2017
    Posts
    4
    The compact and repair seems to have worked - many thanks.

  6. #6
    Join Date
    Jun 2015
    Location
    Wales. Land of the sheep.
    Posts
    1,228
    after a year of attempting to be useful its finally paid off.

  7. #7
    Cathesp is offline Novice
    Windows XP Access 2010 32bit
    Join Date
    Jan 2017
    Posts
    4
    Quote Originally Posted by Homegrownandy View Post
    after a year of attempting to be useful its finally paid off.
    .........

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

Similar Threads

  1. Replies: 1
    Last Post: 04-29-2016, 04:07 AM
  2. Compile Error: Expected: list separator or )
    By Voodeux2014 in forum Programming
    Replies: 11
    Last Post: 04-21-2015, 10:23 AM
  3. Compile Error: Expected: list separator or )
    By jabadoojr in forum SQL Server
    Replies: 6
    Last Post: 10-22-2013, 01:55 PM
  4. Compile error: Expected: list separator or )
    By ThatWumboGuy in forum Programming
    Replies: 2
    Last Post: 08-03-2013, 10:33 PM
  5. Compile Error: Expected: list separator or )
    By Kirsti in forum Programming
    Replies: 2
    Last Post: 03-27-2012, 02:52 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