I set the utlility up awhile ago, and once I got things working, I never went back and optimized the code, so it was admitably sloppy. I have gone back and using some arrays, have eliminated the need for the multiple calls to the db.
The database setup is quite simple. Table of projects, table of employees, table of holidays, table of relationship between supervisor and employee, table of eligible projects for employees, a table of employee unsubmitted time, a table of time submitted and awaiting approval, and a table of approved time.
The odbc error logged was:
PHP 3 Warning: SQL error: [Microsoft][ODBC Microsoft Access 97 Driver] Can't open any more databases., SQL state S1000 in SQLExecDirect in d:\www\htdocs\timesheets\timeentry.php on line 526