I am using Visual Basic 2008 Express, Access 2000 and Crystal Reports 8.5 to rewrite an application previously written in Visual Basic 6.

I need to fill the report selection formula from Visual Basic and the following code is exactly the same as in VB 6 and works fine:

The following code, however, produces an error:
crTimesheet.Formulas(0) = strFooter

The error message is "'Formulas' is not a member of 'AxCrystal.AxCrystalReport'.

I tried to use the "Upgrade Visual Basic Code" in the tools menu but the result was unintelligible to me.

Can anyone help?