I have a slight problem with arraylist in Access VB. I want to select different report ID's into a basket. From the basket i want to just show the selected reports and then print or copy them to my hard disk.
The problem comes when i try to create an array or use the arraylist. I don't exactly know what references to include in VB or actually i can't find the System.Collection reference in VB.
My code so far:
Public Basket As New ArrayList
Action code:
Basket.Add (toBasket) 'integer value
The error i get is that the there is an a user-defined value hasn't been defined. This points to "Public Basket As New ArrayList"
The problem comes when i try to create an array or use the arraylist. I don't exactly know what references to include in VB or actually i can't find the System.Collection reference in VB.
My code so far:
Public Basket As New ArrayList
Action code:
Basket.Add (toBasket) 'integer value
The error i get is that the there is an a user-defined value hasn't been defined. This points to "Public Basket As New ArrayList"