I am connecting to a Virtual Serial port using API's to communicate with an electronic device. Works fine.
I am connecting to a database using a recordset, reading a value then setting the recordset to Nothing.

When I load the next form I get 'Runtime error 7: Out of memory'

This is in spite of the forms doing nothing at all, except displaying.

If I don't connect to the virtual port all is fine.

Any idea's anyone?