Need help with the following problem...

I have a VB 6 app with the data-control attached to an Access 2000 database on the back end.

There are multiple checkboxes on the form (app)..

Each checkbox is attached to a field in the database of type 'yes/no'..

When I check and uncheck one or more checkboxes in the form, it should theoretically update the database appropriately..

The problem is, when I close the application (clicking on the application close button on the Application), I get the following error:

'Invalid Field Data Type'

Yet when I start up the application, the updates are made..

How do I get rid of that nasty error? The data control should automatically update the field without any errors, shouldn't it?

It's driving me nutz! I'm running VS6 Enterprise with SP4 on Win 2000 Professional.

Any help would be greatly appreciated.