DataAssist Search server behavior

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default DataAssist Search server behavior

    I have merged an existing "customer locator" search application with a
    DataAssist Search application to further filter recordset results based on
    additional criteria.


    I have attempted to acheive this by creating a search application using
    DataAssist Search server behavior and adding the WHERE clause segments of the
    existing search application as additional filter criteria to the DataAssist
    Search dialog box.

    Following is the WHERE clause code generated by DataAssist which does not
    bring any results for the first four filter criteria which are
    Recordset1_HighLatitude etc) and therefore brings me the error message as shown
    below:

    DataAssist generated code:

    WADbSearch1_whereClause=BuildFilterString("LATITUD E","Recordset1__HighLatitude",
    "","<=",1,WADbSearch1_wildCard,WADbSearch1_dateSep arator,WADbSearch1_whereClause
    )

    WADbSearch1_whereClause=BuildFilterString("LATITUD E","Recordset1__LowLatitude","
    AND",">=",1,WADbSearch1_wildCard,WADbSearch1_dateS eparator,WADbSearch1_whereClau
    se)

    WADbSearch1_whereClause=BuildFilterString("LONGITU DE","Recordset1__LowLongitude"
    ,"AND",">=",1,WADbSearch1_wildCard,WADbSearch1_dat eSeparator,WADbSearch1_whereCl
    ause)

    WADbSearch1_whereClause=BuildFilterString("LONGITU DE","Recordset1__HighLongitude
    ","AND","<=",1,WADbSearch1_wildCard,WADbSearch1_da teSeparator,WADbSearch1_whereC
    lause)
    WADbSearch1_whereClause=BuildFilterString("VendorP artNumber","" & cStr(
    Session("VendorPartNumber") ) &
    "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_da teSeparator,WADbSearch1_whereC
    lause)
    WADbSearch1_whereClause=BuildFilterString("CustomT ext10","" & cStr(
    Session("Industry") ) &
    "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_da teSeparator,WADbSearch1_whereC
    lause)

    error message:
    Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

    [Microsoft][ODBC Microsoft Access Driver] Extra ) in query expression
    '(LATITUDE <= ) AND (LATITUDE >= ) AND (LONGITUDE >= ) AND (LONGITUDE <= ) AND
    (CustomText10 = 'Catering/Food Service')'.

    /Results1.asp, line 291

    >What can the problem be?
    aonefun Guest

  2. Similar Questions and Discussions

    1. DATAASSIST extension help needed
      I am using the Data Assist extension and need some help. I am trying to do a search that looks at 2 columns. Can anyone tell me why this script...
    2. ToolBox v. WebAssist's DataAssist
      Can anyone comment on the functionality of Toolbox vs Webassists DataAssist programs in terms of ease of use, documentation (walking through set ups...
    3. asp.net server behavior
      hi I,m currently working on a project that requires asp.net as it's server side coding. The problem that I'm having now is using the 'delete...
    4. Server Behavior
      Hello, I installed a mxp file that i got from DMXzone and in Extension Manager said that i have to go to the Server Behaviors menu:...
    5. Combining Index Server and SQL Server search results
      I'm just about to start a project that needs to combine the results of a SQL Server query with the results of an Index Server query. The basic idea...
  3. #2

    Default Re: DataAssist Search server behavior

    have you tried posting this on the Web Assist forums?

    [url]http://www.webassist.com:8119/[/url]


    --
    Nancy Gill
    Adobe Community Expert
    Author: Dreamweaver 8 e-book for the DMX Zone
    Co-Author: Dreamweaver MX: Instant Troubleshooter (August, 2003)
    Technical Editor: Dreamweaver CS3: The Missing Manual,
    DMX 2004: The Complete Reference, DMX 2004: A Beginner's Guide
    Mastering Macromedia Contribute
    Technical Reviewer: Dynamic Dreamweaver MX/DMX: Advanced PHP Web Development

    "aonefun" <webforumsuser@macromedia.com> wrote in message
    news:fgtvfh$i3a$1@forums.macromedia.com...
    >I have merged an existing "customer locator" search application with a
    > DataAssist Search application to further filter recordset results based on
    > additional criteria.
    >
    >
    > I have attempted to acheive this by creating a search application using
    > DataAssist Search server behavior and adding the WHERE clause segments of
    > the
    > existing search application as additional filter criteria to the
    > DataAssist
    > Search dialog box.
    >
    > Following is the WHERE clause code generated by DataAssist which does not
    > bring any results for the first four filter criteria which are
    > Recordset1_HighLatitude etc) and therefore brings me the error message as
    > shown
    > below:
    >
    > DataAssist generated code:
    >
    > WADbSearch1_whereClause=BuildFilterString("LATITUD E","Recordset1__HighLatitude",
    > "","<=",1,WADbSearch1_wildCard,WADbSearch1_dateSep arator,WADbSearch1_whereClause
    > )
    >
    > WADbSearch1_whereClause=BuildFilterString("LATITUD E","Recordset1__LowLatitude","
    > AND",">=",1,WADbSearch1_wildCard,WADbSearch1_dateS eparator,WADbSearch1_whereClau
    > se)
    >
    > WADbSearch1_whereClause=BuildFilterString("LONGITU DE","Recordset1__LowLongitude"
    > ,"AND",">=",1,WADbSearch1_wildCard,WADbSearch1_dat eSeparator,WADbSearch1_whereCl
    > ause)
    >
    > WADbSearch1_whereClause=BuildFilterString("LONGITU DE","Recordset1__HighLongitude
    > ","AND","<=",1,WADbSearch1_wildCard,WADbSearch1_da teSeparator,WADbSearch1_whereC
    > lause)
    > WADbSearch1_whereClause=BuildFilterString("VendorP artNumber","" & cStr(
    > Session("VendorPartNumber") ) &
    > "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_da teSeparator,WADbSearch1_whereC
    > lause)
    > WADbSearch1_whereClause=BuildFilterString("CustomT ext10","" & cStr(
    > Session("Industry") ) &
    > "","AND","=",0,WADbSearch1_wildCard,WADbSearch1_da teSeparator,WADbSearch1_whereC
    > lause)
    >
    > error message:
    > Microsoft OLE DB Provider for ODBC Drivers error '80040e14'
    >
    > [Microsoft][ODBC Microsoft Access Driver] Extra ) in query expression
    > '(LATITUDE <= ) AND (LATITUDE >= ) AND (LONGITUDE >= ) AND (LONGITUDE <= )
    > AND
    > (CustomText10 = 'Catering/Food Service')'.
    >
    > /Results1.asp, line 291
    >
    >
    > >What can the problem be?
    >

    Nancy Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139