Sorry for the delay in getting back on this. What I had to do was to actually map each teacher to their folder(s). Did it like this. It did take more keystrokes than I would like but it worked. The way this program creates the databases for the gradebook dictated the way I had to do mappings for each teacher that uses it. We can't change the folder numbers so we had to just map to them which bombed out the idea of home drives. Thanks for the error code help. After a couple of debug passes I got the coding correct and it started working great.
Code:

If @userid = bdunn

Use L: "\\enterprise\WinSchl\Melissa Middle School\Melis101\eclass\18"
?"ERROR " + @ERROR + " - " + @SERROR
EndIf



Edited by backbiter (2006-09-02 07:13 AM)