Well, problem solved. Dave Lippincott gets the award for best interpretation
of an error code :) I was returning an error from a routine called after the
DmOpenDatabase which caused my error handling to return 0 from my
OpenDatabase routine. However, the database was actually opened successfully
the first time around. Thereafter, of course the database is already open
and so an error was returned when I tried to open it again.

Thanks to all who replied.

--Alan

Reply via email to