Heres my issue my fellow coders:
My works VB program uses some .asp files to create reports. This is the error I am getting:
Microsoft VBScript runtime error '800a000d'
Type mismatch: 'ubound'
/reports/wpoa_trans_summary.asp, line 238
I navigated to line 238 in the asp file and here is the code:
if ubound(varCampArray2) > 0 then
varRentalID = varcamparray2(1)
*line 238 rs2.Source = "SELECT PadRate,Price FROM CampRentals JOIN CampPadRates ON " & _ "CampPadRates.ID=CampRentals.PadRate WHERE CampRentals.ID=" & varRentalID
rs2.Open()
I must further explain that "Price" is not in CampRentals and is located in CamPadRates. I am looking for a solution to this issue but even an explanation would help me a lot right now for this current issue.
Thanks in advance for helping, will give rep points for intelligent and well explained responses.