Have created an asp page that takes specific record from a database. The COM + (dll) works fine. I just can't seem to access it from ASP. It will produce the record if I alter the DLL to specify the primarykeyID in the SQL string and don't add the IDNumber integer into the ASP page. I just can't seem to call the variant into the set objRS line. Anyone know what I am doing wrong?
dim IDNumber
dim FA
IDNumber = "10"
Set objAccount = Server.CreateObject"FieldAgents.ShowAll"
Set objRS = objAccount.FADetail(=IDNumber) -> have also tried .FADetail(IDNumber)
FA = objRS("ConsultantsName"
%>
dim IDNumber
dim FA
IDNumber = "10"
Set objAccount = Server.CreateObject"FieldAgents.ShowAll"
Set objRS = objAccount.FADetail(=IDNumber) -> have also tried .FADetail(IDNumber)
FA = objRS("ConsultantsName"
%>