我创建了两个Class Model, 一个是纯属性的Customer,
option explicitpublic name as string
....
另一个是DBHandler,在这个Class Model里面我创建了一个函数
AddGeneralInfo(Byval c as Customer){}但是当我调用这个函数的时候,出现了
Object doesn't support this property or method,
如果把函数参数c去掉,就能调用,why?请大侠指教,多谢
option explicitpublic name as string
....
另一个是DBHandler,在这个Class Model里面我创建了一个函数
AddGeneralInfo(Byval c as Customer){}但是当我调用这个函数的时候,出现了
Object doesn't support this property or method,
如果把函数参数c去掉,就能调用,why?请大侠指教,多谢
public Function AddGeneralInfo(Byval c as Customer)as integer
end function
CALL AddGeneralInfo(Customer 类型)
call AddGeneralInfo(参数)if AddGeneralInfo(参数)=?? then ....