Problem Note 46149: An invalid pointer error occurs when you open a SAS® Financial Management form or template
The following error might be displayed when you open a SAS® Financial Management data-entry form or report in Microsoft Excel:
System Error &H80004003 (-2147467261). Invalid pointer
This error might occur if the report or data-entry form contains custom VBA code that uses the SAS
Financial Management API GetMember method.
For example, the following code produces the error:
Dim table As FMTable
Dim crs As FMCossing
Dim fmMem As FMMember
Dim fmHier As FMHierarchy
Set crossing = Table.Crossing(ActiveCell.Row, ActiveCell.Column)
Dim sDim As string 'Dimension code
Set fmMem = Crossing.GetMember(sDim)
To correct this problem replace the line that contains the GetMember method call with the
following two lines:
'-- Set fmMem = Crossing.GetMember(sDim)
Set fmHier = Table.Hierarchies(sDim)
Set fmMem = fmHier.Members(sMem)
Operating System and Release Information
SAS System | SAS Financial Management | Microsoft® Windows® for x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Datacenter Edition | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Enterprise Edition | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 Standard Edition | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2003 for x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2008 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows Server 2008 for x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Microsoft Windows XP Professional | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Enterprise 32 bit | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Enterprise x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Home Premium 32 bit | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Home Premium x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Professional 32 bit | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Professional x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Ultimate 32 bit | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows 7 Ultimate x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows Vista | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Windows Vista for x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled AIX | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
64-bit Enabled Solaris | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
Linux for x64 | 5.3 | 5.4 | 9.3 TS1M2 | 9.4 TS1M0 |
*
For software releases that are not yet generally available, the Fixed
Release is the software release in which the problem is planned to be
fixed.
Type: | Problem Note |
Priority: | medium |
Date Modified: | 2012-03-30 13:36:50 |
Date Created: | 2012-03-27 14:26:54 |