Results 1 to 2 of 2
  1. #1
    gcommservices is offline Novice
    Windows 7 32bit Access 2010 32bit
    Join Date
    Dec 2011
    Posts
    1

    Error with my subform

    I am a tech trying to help a user decipher the error message he gets when clicking the + sign within his form. The error states that the expression is too complex to be evaluated. Can anyone point me in the right direction here? I don't know everything there is to know regarding Access, so please keep that in mind. I will post some things here that I think may help you see what's going on.



    In the parent form called CIS Entry, the control source is Client ID#.

    When you right click the + sign and select form properties, the record source says - SELECT [Referral].[Client ID#], [Referal].[Referal#], [Referal].[Docket#], [Referal].[Request for Service], [Referal].[Referal Source], [Referal].[Person Refering], [Referal].[Charges], [Referal].[Courtroom], [Referal].[Verdict], [Referal].[Probation Status], [Referal].[Probation Officer], [Referal].[Sentence Length], [Referal].[Suspended Length], [Referal].[Court Cost], [Referal].[Fine], [Referal].[Restitution], [Referal].[Time Out], [Referal].[TASC], [Referal].[Community Service], [Referal].[Day Reporting Center], [Referal].[Center Point], [Referal].[Stay away from victim], [Referal].[Case Status], [Referal].[Noncompliance], [Referal].[Reason not enrolled], [Referal].[Victim Name], [Referal].[Victim Phone], [Referal].[Referring County] FROM Referal;

    Can you please tell me if this long list is why I'm getting the error? Thanks for your help!

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows XP Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,931
    The statement is probably too long (exceeding 256 characters). Since the SQL is just the one table with no filtering or ordering, can set form RecordSource property simply to the table, no SQL statement needed. If must use an SQL statement, simply: SELECT * FROM Referal;

    I am confused, what do you mean by 'right click the + sign and select form properties'? I thought the + link is to view a related record, I don't understand how form properties would be available.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

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

Similar Threads

  1. Error with filtering subform using 2 combo boxes
    By dharmacloud in forum Forms
    Replies: 4
    Last Post: 08-22-2011, 10:46 AM
  2. Replies: 1
    Last Post: 02-25-2011, 11:32 AM
  3. Form works, Subform gets error
    By jlclark4 in forum Forms
    Replies: 9
    Last Post: 01-03-2011, 09:24 AM
  4. Form and Subform error trapping
    By usmcgrunt in forum Forms
    Replies: 8
    Last Post: 09-12-2010, 11:54 AM
  5. Subform Change - Run-time error 2101
    By Cheshire101 in forum Forms
    Replies: 3
    Last Post: 12-21-2009, 12:37 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