I want to call a sub in an ms access module.I am trying to do this using ASP.<BR>Is this the way to do it?<BR>--------------<BR>Set objAccess = CreateObject("Access.Application")<BR>objAccess.Op enCurrentDatabase "c:database.mdb" <BR><BR>objAccess.Call CreateLMSPortfolio("a", False, "b")<BR>--------------<BR>when I do this I get the error:<BR>Microsoft VBScript runtime error &#039;800a000d&#039; <BR><BR>Type mismatch: &#039;TestCreateLMSPortfolio&#039; <BR><BR>so what am I doing wrong?I do not think there is any mismatch,this is supposed to work!!!!!<BR>