theracer06
New member
- Local time
- Today, 01:19
- Joined
- May 14, 2010
- Messages
- 3
Hi,
I inherited a simulation and when trying to run it I get the infamous runtime error 3139. Read it might be a form error for code created in Access 2003 and not conform to Access 2007 formulation. The code is the following:
Public Function RunAnnualSimulation(Country As Long, Year As Long, Iter As Long)
MOCSCollection.RunAnnualSimulation Country, Year, Iter
StoredYear = Year
StoredCountry = Country
Form_MOCG.txtStatusText.Value = "ready"
End Function
Can anybody help?
Thanks & Best
I inherited a simulation and when trying to run it I get the infamous runtime error 3139. Read it might be a form error for code created in Access 2003 and not conform to Access 2007 formulation. The code is the following:
Public Function RunAnnualSimulation(Country As Long, Year As Long, Iter As Long)
MOCSCollection.RunAnnualSimulation Country, Year, Iter
StoredYear = Year
StoredCountry = Country
Form_MOCG.txtStatusText.Value = "ready"
End Function
Can anybody help?
Thanks & Best