我遇到以下错误,无法解决:“固定或静态数据不能大于64K”
我需要有一个嵌套的结构来完成我所需要的。我尝试将Currency更改为Single,因为它是较小的数据类型,但仍然没有。我还将这些类型的声明移到了单独的模块中,以查看是否有帮助。
谢谢!
Public Type ServiceLineRecord
ServiceLineRevenue As Currency
End Type
Public Type ServiceTypeRecord
ServiceTypeRevenue As Currency
ServiceLines(35) As ServiceLineRecord
End Type
Public Type ProviderRecord
ProviderRevenue As Currency
ServiceTypes(6) As ServiceTypeRecord
End Type
Public Type LocationRecord
LocationRevenue As Currency
Providers(37) As ProviderRecord
End Type
Public Type PeriodRecord
BeginDate As Date
EndDate As Date
TotalRevenue As Currency
Locations(12) As LocationRecord
End Type