User Tag List

Results 1 to 8 of 8

Thread: ODBC expression is too complex message???

  1. #1
    No Products Registered

    Join Date
    Jul 2006
    Location
    Oregon, USA
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    ODBC expression is too complex message???

    I am getting this error in the expression editor while trying to enter this SQl command:
    "SELECT DISTINCT dbo_issue.id AS id, dbo_issue.name AS issue, dbo_priority.name AS priority, dbo_severity.name AS severity FROM dbo_issue, dbo_priority, dbo_severity WHERE dbo_issue.priorityid = dbo_priority.id AND dbo_issue.severityid = dbo_severity.id AND dbo_project.name = '"+Edit text$( "Combo Box" )+"'"
    I don't see it as "too complex"....should I?

  2. #2
    Clickteam Clickteam
    Jeff's Avatar
    Join Date
    Jun 2006
    Location
    Battle Ground Washington
    Posts
    11,825
    Mentioned
    8 Post(s)
    Tagged
    2 Thread(s)

    Re: ODBC expression is too complex message???

    I think we would need Francois to comment on this problem.
    Most likely due to a limit in the expression editor on the number of characters.

    I wonder if he can bump it up?

  3. #3
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Francois's Avatar
    Join Date
    Jul 2006
    Location
    Montpellier, France
    Posts
    6,920
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)

    Re: ODBC expression is too complex message???

    String in the expressions are limited to 255 characters. By splitting the string in two, it works.
    Note: strings in memory are not limited!

  4. #4
    No Products Registered

    Join Date
    Jul 2006
    Location
    Oregon, USA
    Posts
    141
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: ODBC expression is too complex message???

    How do I split the string? thanks

  5. #5
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: ODBC expression is too complex message???

    "hello there this is a really long string"

    "hello there this is " + "a really long string"

    <img src="/center/images/graemlins/smile.gif" alt="" />

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: ODBC expression is too complex message???

    But if you have a string in the expression editor that is longer than the expression editor can handle what then?

  7. #7
    Clickteam Clickteam
    Anders's Avatar
    Join Date
    Jun 2006
    Location
    Denmark, Århus
    Posts
    3,456
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: ODBC expression is too complex message???

    I don't know the limits of what it can handle, but you could probably do something like this:

    set string object to: "Some strings "
    set string object to: Alterable String("String") + "are so long "
    set string object to: Alterable String("String") + "that they need to "
    set string object to: Alterable String("String") + "be split up."

    Send the string to the ODBC object.

  8. #8
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleSWF Export ModuleInstall Creator ProPatch Maker
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    DJFuego's Avatar
    Join Date
    Jul 2006
    Location
    UK
    Posts
    1,416
    Mentioned
    4 Post(s)
    Tagged
    0 Thread(s)

    Re: ODBC expression is too complex message???

    Good answer.

Similar Threads

  1. Expression Too Complex - some details?
    By Dines in forum Multimedia Fusion 2 - Technical Support
    Replies: 12
    Last Post: 14th July 2012, 03:52 PM
  2. Expression too complex?
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 27
    Last Post: 11th January 2008, 04:52 PM
  3. "Expression too complex"
    By Nick in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 27th April 2007, 02:39 PM
  4. Expression Too Complex
    By Sphax in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 28th July 2006, 01:08 PM
  5. (Complex?) AI?
    By Ben in forum Multimedia Fusion 2 - Technical Support
    Replies: 35
    Last Post: 6th July 2006, 12:19 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
  •