"Runtime Error 5: Invalid procedure call or argument" when generating a report

Entry Type: Informational

Product: FRx

Application: FRx Desktop

Version Reported: All

Subject:

The error "Runtime Error 5: Invalid procedure call or argument" occurs when generating a report.

Possible Resolutions:

FRx for Sage MAS 90 ERP, Sage MAS 200 ERP, Sage MAS 500 ERP, and Sage PFW ERP:

FRx for Sage MAS 500 and Sage PFW:
FRx allows only one record for each fiscal year. Verify that there are not multiple records for the same year, for example, 2001 and 2001A. To correct, modify the General Ledger to one record per year
For more information see How to restructure the fiscal calendar.

FRx for Sage MAS 90 and Sage MAS 200:

  1. Expand General Ledger and Setup; double-click Fiscal Year Maintenance.

  2. Confirm that there are prior and future fiscal years set up and that the fiscal years are in sequence.

  3. Have all users exit FRx.

  4. Open Windows Explorer, locate the ..\SysData\ directory and delete any files that have an extension of .g32. For more information, see How to delete and rebuild the FRx index files.

FRx for Sage PFW: