I am using vb.net that is using Access97 tables. After my program runs several files through the program against the Access97 database I get a cmdrecordset error when stops the program. When I close my program and restart it it runs ok. My question is is there a way to catch this error and close and restart the program within my vb.net code? Thanks

The error is:

The connection cannot be used to perform the operation. It is either closed or invalid in this context. in GetRecordsetcmd.