How do I link an odbc object to a stored procedure I have written. Please see example below:
The following code executes a stored procedure called DEPT_Add, yet the name of the object function is AddDepartment.
Set oDept = Server.CreateObject("JTQTMS.JTDept")
bReturn = oDept.AddDepartment(CStr(sDeptName))
My question is if I add a new stored procedure called PROPERTY_Add for example, how would I go in and add an object function called AddProperty.
The below code does not seem to be working because I cannot find out where to create and link the AddProperty method to my stored proc PROPERTY_Add.
Set oProp = Server.CreateObject("JTQTMS.JTProperty")
bReturn = oProp.AddProperty(CStr(sDeptName), CStr(sDeptDescription))