Dashboard > Documentation for Metrix Users and Administrators > ... > Known Issues > Known Issue - Metrix 1.5.1 - Filter fails for "Other" Source Type on "More Filters" dialog
Documentation for Metrix Users and Administrators Log In   View a printable version of the current page.
Known Issue - Metrix 1.5.1 - Filter fails for "Other" Source Type on "More Filters" dialog
Added by Marquetta Drakes, last edited by Marquetta Drakes on Jun 06, 2008  (view change)
Labels: 

This error occurs when you select "More Filters" on the Pledges/Payments form and select "Other" as the Source Type. The filter will execute as expected but no records will be returned (this presumes there are records that match the criteria).

The solution to this problem requires modifying user-defined function CES_udfCustom_PaymentSource_GetSourceType and adding some code to function fnFilterEntityForm in interactsql.adp. No one can be connected to Metrix while this fix is being attempted.

This solution is a little more complicated than our usual solutions so please feel free to contact Metrix support at metrix@fcny.org if you want assistance with this fix.

Solution:

  1. Make a backup of your database.
  2. Download FixForPLUS-722.sql to your server's desktop. This script will:
    • drop the SourceType column from CES_tblCustom_PaymentAllocation and CES_tblCustom_PledgeAllocation
    • modify CES_udfCustom_PaymentSource_GetSourceType
    • re-add the SourceType column to CES_tblCustom_PaymentAllocation and CES_tblCustom_PledgeAllocation
  3. Execute the script as the system administrator (sa) using OSQL or Query Analyzer.
  4. Open interactsql and close the dialog that opens.
  5. Go to "Modules" and locate CES_basCustom_Entities_InteractSQL. Double-click the module to open it.
  6. Locate the function fnFilterEntityForm and find line 427 which should be "End If".
  7. Move to the end of that line and hit the enter key so there is now a blank line between "End If" and "ctlSubform.Form.Filter = strWhere".
  8. Cut and paste the following text into that blank line:
    'User is filtering on Other - change "InteractModuleID" from -1 to 0
    strWhere = Replace(strWhere, "[SourceTableID]  = -1", "[SourceTableID] = 0") 'NOTE: The extra space before "= -1" is intentional
  9. Save the module and close interactsql.adp.

Site powered by a free Open Source Project / Non-profit License (more) of Confluence - the Enterprise wiki.
Learn more or evaluate Confluence for your organisation.
Powered by Atlassian Confluence, the Enterprise Wiki. (Version: 2.1.1 Build:#406 Dec 23, 2005) - Bug/feature request - Contact Administrators